From 9203283081d255e20dc78839398fed9e038931b2 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 18 Sep 2018 20:24:53 -0400 Subject: use ugettext() instead of gettext() --- lib/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/i18n.py') diff --git a/lib/i18n.py b/lib/i18n.py index 045fa1b2..98f63ec1 100644 --- a/lib/i18n.py +++ b/lib/i18n.py @@ -30,7 +30,7 @@ def localize(languages=None): global translation, _ translation = gettext.translation("inkstitch", locale_dir, fallback=True) - _ = translation.gettext + _ = translation.ugettext _set_locale_dir() -- cgit v1.2.3