From 5629b4585c9b61591f7ef824e5493e11c66671a0 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 22 Dec 2010 18:15:46 +0100 Subject: [PATCH] Fix bolding for help strings (because of i18n) --- src/i18n.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/i18n.py b/src/i18n.py index 72720acc5..fb610ea2f 100644 --- a/src/i18n.py +++ b/src/i18n.py @@ -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