summaryrefslogtreecommitdiff
path: root/x11-toolkits/granite/files/patch-lib_Application.vala
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/granite/files/patch-lib_Application.vala')
-rw-r--r--x11-toolkits/granite/files/patch-lib_Application.vala15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/granite/files/patch-lib_Application.vala b/x11-toolkits/granite/files/patch-lib_Application.vala
new file mode 100644
index 000000000000..e6153d1a69c6
--- /dev/null
+++ b/x11-toolkits/granite/files/patch-lib_Application.vala
@@ -0,0 +1,15 @@
+--- lib/Application.vala.orig 2018-12-17 13:02:11 UTC
++++ lib/Application.vala
+@@ -157,7 +157,11 @@ namespace Granite {
+ message ("Kernel version: %s", (string) un.release);
+ Granite.Services.Logger.DisplayLevel = Granite.Services.LogLevel.WARN;
+
+- Intl.bindtextdomain (exec_name, build_data_dir + "/locale");
++ Intl.setlocale (LocaleCategory.ALL, "");
++ string langpack_dir = Path.build_path (Path.DIR_SEPARATOR_S, build_data_dir, "locale");
++ Intl.bindtextdomain (exec_name, langpack_dir);
++ Intl.bind_textdomain_codeset (exec_name, "UTF-8");
++ Intl.textdomain (exec_name);
+
+ handle_local_options.connect (on_handle_local_options);
+ }