##// END OF EJS Templates
extdiff: prevent exception on double-translation...
extdiff: prevent exception on double-translation The docstring is translated twice: once when used as a format string, and once on display. The second translation fails when the first translation introduces non-ASCII characters in the string. The problem is that the gettext module calls unicode(message) on the string, i.e., it decodes it to a Unicode string using the ASCII encoding (the default encoding). By translating it into a Unicode string here, the unicode() call becomes a noop.
Martin Geisler -
r9941:11d7ee94 stable
Show More
Name Size Modified Last Commit Author
/ i18n
da.po Loading ...
de.po Loading ...
el.po Loading ...
fr.po Loading ...
hggettext Loading ...
it.po Loading ...
ja.po Loading ...
pt_BR.po Loading ...
sv.po Loading ...
zh_CN.po Loading ...
zh_TW.po Loading ...