mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-01 03:41:22 +02:00
https://wiki.gnome.org/Apps/GTG A personal tasks and TODO-list items organizier for GNOME, inspired by the Getting Things Done methodology
18 lines
602 B
Diff
18 lines
602 B
Diff
Upstream: No
|
|
Reason: We build py3 without gettext support, so these functions dont
|
|
exist
|
|
diff --git a/GTG/core/translations.py b/GTG/core/translations.py
|
|
index 6ff63a7..866e1be 100644
|
|
--- a/GTG/core/translations.py
|
|
+++ b/GTG/core/translations.py
|
|
@@ -30,9 +30,7 @@ GETTEXT_DOMAIN = 'gtg'
|
|
LOCALE_PATH = gettext.bindtextdomain(GETTEXT_DOMAIN)
|
|
|
|
gettext.bindtextdomain(GETTEXT_DOMAIN, LOCALE_PATH)
|
|
-locale.bindtextdomain(GETTEXT_DOMAIN, LOCALE_PATH)
|
|
gettext.textdomain(GETTEXT_DOMAIN)
|
|
-locale.textdomain(GETTEXT_DOMAIN)
|
|
|
|
translation = gettext.translation(GETTEXT_DOMAIN, LOCALE_PATH, fallback=True)
|
|
|