diff options
Diffstat (limited to 'lib/i18n.py')
| -rw-r--r-- | lib/i18n.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/i18n.py b/lib/i18n.py index f57bbf9c..50e71c92 100644 --- a/lib/i18n.py +++ b/lib/i18n.py @@ -1,7 +1,7 @@ import gettext import os -from os.path import dirname, realpath import sys +from os.path import dirname, realpath from .utils import cache @@ -32,7 +32,7 @@ def localize(languages=None): global translation, _ translation = gettext.translation("inkstitch", locale_dir, fallback=True) - _ = translation.ugettext + _ = translation.gettext @cache |
