mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Fix bolding for help strings (because of i18n)
This commit is contained in:
parent
83aca7c651
commit
5629b4585c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user