aports/testing/gnome-authenticator/dont-require-py3-gettext-support.patch
2019-07-26 19:04:35 -03:00

14 lines
489 B
Diff

diff --git a/src/authenticator.py.in b/src/authenticator.py.in
index 1e75e10..2f2fec2 100755
--- a/src/authenticator.py.in
+++ b/src/authenticator.py.in
@@ -35,8 +35,6 @@ from gi.repository import Gio, Handy
sys.path.insert(1, '@PYTHON_DIR@')
def prepare_locale():
- locale.bindtextdomain('@GETTEXT_PACKAGE@', '@LOCALE_DIR@')
- locale.textdomain('@GETTEXT_PACKAGE@')
gettext.bindtextdomain('@GETTEXT_PACKAGE@', '@LOCALE_DIR@')
gettext.textdomain('@GETTEXT_PACKAGE@')