Fix bolding for help strings (because of i18n)

This commit is contained in:
Valentin Lorentz 2010-12-22 18:15:46 +01:00
parent 83aca7c651
commit 5629b4585c

View File

@ -213,10 +213,11 @@ class _PluginInternationalization:
his is the function which is called when a plugin runs _()"""
if untranslated.__class__ == internationalizedString:
return untranslated._original
untranslated = self._unescape(untranslated, True)
escapedUntranslated = self._unescape(untranslated, True)
untranslated = self._unescape(untranslated, False)
reloadLocalesIfRequired()
try:
string = self._translate(untranslated)
string = self._translate(escapedUntranslated)
return self._addTracker(string, untranslated)
except KeyError:
pass