[recipes] Initialize the gnome-recipes-data domain as well



commit 1e32fcd2220ee48475aff887c2ffb625736860cb
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 26 11:42:51 2017 -0500

    Initialize the gnome-recipes-data domain as well

 src/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 1452ebd..5cf23df 100644
--- a/src/main.c
+++ b/src/main.c
@@ -40,6 +40,9 @@ main (int argc, char *argv[])
         bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
         textdomain (GETTEXT_PACKAGE);
 
+        bindtextdomain (GETTEXT_PACKAGE "-data", LOCALEDIR);
+        bind_textdomain_codeset (GETTEXT_PACKAGE "-data", "UTF-8");
+
         app = G_APPLICATION (gr_app_new ());
 
         status = g_application_run (app, argc, argv);


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