mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-09 19:52:37 +01:00
i18n: Fix internationalization of command help.
This commit is contained in:
parent
a51b69d125
commit
483e786cde
@ -1084,6 +1084,7 @@ def _wrap(f, specList=[], name=None, checkDoc=True, **kw):
|
||||
'function ;)')
|
||||
raise
|
||||
newf2 = utils.python.changeFunctionName(newf, name, f.__doc__)
|
||||
newf2.__module__ = f.__module__
|
||||
return internationalizeDocstring(newf2)
|
||||
|
||||
def wrap(f, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user