aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ibus-hangul/0002-Use-gettext-module.patch
diff options
context:
space:
mode:
authorCormac Stephenson <c7s@kasku.net>2021-08-30 14:29:37 +0100
committerdispatch <dispatch@listserv.local>2021-08-30 13:30:55 +0000
commitec63e9c491e4504a17b4f3f50c1086e90c0447d9 (patch)
tree37d360da29e4f25af297578c69bdc37134dd5e76 /testing/ibus-hangul/0002-Use-gettext-module.patch
parent7bfe14cba16d0d907da84a24855474d5b7f617b5 (diff)
downloadaports-ec63e9c491e4504a17b4f3f50c1086e90c0447d9.tar.gz
aports-ec63e9c491e4504a17b4f3f50c1086e90c0447d9.tar.bz2
aports-ec63e9c491e4504a17b4f3f50c1086e90c0447d9.tar.xz
testing/ibus-hangul: new aportpatches/3633
added gtk dep
Diffstat (limited to 'testing/ibus-hangul/0002-Use-gettext-module.patch')
-rw-r--r--testing/ibus-hangul/0002-Use-gettext-module.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/ibus-hangul/0002-Use-gettext-module.patch b/testing/ibus-hangul/0002-Use-gettext-module.patch
new file mode 100644
index 0000000000..fafe9a31ba
--- /dev/null
+++ b/testing/ibus-hangul/0002-Use-gettext-module.patch
@@ -0,0 +1,25 @@
+From a1e9c3b022ae893d679ae3102f5b5c63afa31379 Mon Sep 17 00:00:00 2001
+From: Cormac Stephenson <c7s@kasku.net>
+Date: Sun, 29 Aug 2021 16:08:52 +0100
+Subject: [PATCH 2/2] Use gettext module
+
+---
+ setup/main.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup/main.py b/setup/main.py
+index cb82f05..7915e27 100644
+--- a/setup/main.py
++++ b/setup/main.py
+@@ -294,7 +294,7 @@ class Setup ():
+ self.__settings.set_value(key, v)
+
+ if __name__ == "__main__":
+- locale.bindtextdomain(config.gettext_package, config.localedir)
++ gettext.bindtextdomain(config.gettext_package, config.localedir)
+
+ GLib.set_prgname("ibus-setup-hangul")
+ GLib.set_application_name(_("IBusHangul Setup"))
+--
+2.32.0
+