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 _()""" his is the function which is called when a plugin runs _()"""
if untranslated.__class__ == internationalizedString: if untranslated.__class__ == internationalizedString:
return untranslated._original return untranslated._original
untranslated = self._unescape(untranslated, True) escapedUntranslated = self._unescape(untranslated, True)
untranslated = self._unescape(untranslated, False)
reloadLocalesIfRequired() reloadLocalesIfRequired()
try: try:
string = self._translate(untranslated) string = self._translate(escapedUntranslated)
return self._addTracker(string, untranslated) return self._addTracker(string, untranslated)
except KeyError: except KeyError:
pass pass