mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +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 _()"""
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user