[notification-daemon] internationalization: fix locale dir



commit c72adfb4a43613834fae6c54b25adb296d3884dd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Sep 16 03:11:49 2015 +0300

    internationalization: fix locale dir

 src/Makefile.am |    2 +-
 src/daemon.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index a2bf843..4ecb9fc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,7 +23,7 @@ notification_daemon_LDADD = $(NOTIFICATION_DAEMON_LIBS)
 
 notification_daemon_CFLAGS = \
        -I$(top_srcdir) \
-       -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+       -DLOCALE_DIR=\""$(datadir)/locale"\" \
        $(NOTIFICATION_DAEMON_CFLAGS) \
        $(WARN_CFLAGS) \
        $(AM_CFLAGS) \
diff --git a/src/daemon.c b/src/daemon.c
index 840b586..7f6d8a0 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -371,7 +371,7 @@ main (int argc, char **argv)
         NotifyDaemon *daemon;
         guint         owner_id;
 
-        bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+        bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
         bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
         textdomain (GETTEXT_PACKAGE);
 


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