freebsd-ports/x11-toolkits/granite/files/patch-lib__Application.vala
Olivier Duchateau 3e51e8673a - Update to 0.3.1
- Sort USES
- Remove unneeded patches
2015-08-30 16:04:42 +00:00

15 lines
666 B
Vala

--- lib/Application.vala.orig 2015-08-30 10:13:06 UTC
+++ lib/Application.vala
@@ -157,7 +157,11 @@ namespace Granite {
message ("Kernel version: %s", (string) un.release);
Logger.DisplayLevel = 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);
add_actions ();