diff options
Diffstat (limited to 'community/gnome-authenticator/dont-require-py3-gettext-support.patch')
-rw-r--r-- | community/gnome-authenticator/dont-require-py3-gettext-support.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/gnome-authenticator/dont-require-py3-gettext-support.patch b/community/gnome-authenticator/dont-require-py3-gettext-support.patch new file mode 100644 index 0000000000..88d96a09e0 --- /dev/null +++ b/community/gnome-authenticator/dont-require-py3-gettext-support.patch @@ -0,0 +1,13 @@ +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@') + |