mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
src/i18n.py: Use 'str' as a base class instead of 'unicode'.
This commit is contained in:
parent
041893aaf9
commit
089be4c8a5
@ -330,7 +330,7 @@ class internationalizedFunction:
|
|||||||
def __call__(self, *args, **kwargs):
|
def __call__(self, *args, **kwargs):
|
||||||
return self._origin(*args, **kwargs)
|
return self._origin(*args, **kwargs)
|
||||||
|
|
||||||
class internationalizedString(unicode):
|
class internationalizedString(str):
|
||||||
"""Simple subclass to str, that allow to add attributes. Also used to
|
"""Simple subclass to str, that allow to add attributes. Also used to
|
||||||
know if a string is already localized"""
|
know if a string is already localized"""
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user