> > - Strings with format > Example: > button.set_tooltip(_('Append %s') % _('something')) > > The problem with this example is when you have language like Spanish, where some of the characters can be encoded in ascii, but not all. In this case, gettext will return a str or a PyUnicode depending of the case, and if are not compatibles, the format will break.
The worst part, the developer can't know it, depends on the translation. Gonzalo
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel