[gitg] Bind text domain using Dirs



commit 881b67c6241b6dcaa3772477b0774b9195f5b2d1
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Tue Dec 29 23:58:05 2015 +0100

    Bind text domain using Dirs

 gitg/gitg.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg.vala b/gitg/gitg.vala
index 2876f11..14f09d7 100644
--- a/gitg/gitg.vala
+++ b/gitg/gitg.vala
@@ -31,7 +31,7 @@ public class Main
                Intl.setlocale(LocaleCategory.ALL, "");
                Intl.setlocale(LocaleCategory.COLLATE, "C");
 
-               Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.GITG_LOCALEDIR);
+               Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Dirs.locale_dir);
                Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "UTF-8");
                Intl.textdomain(Config.GETTEXT_PACKAGE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]