aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 12:39:58 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 12:39:58 +0100
commit8fc930a1d0c74e225df34c7ef80500e7a5779c39 (patch)
tree14753aa9c304eddf17f558e76c449c8e43bd58be
parenta7f8ec1e62d6c4619bde2309f5ca9dbca874c117 (diff)
downloadayatana-indicator-messages-8fc930a1d0c74e225df34c7ef80500e7a5779c39.tar.gz
ayatana-indicator-messages-8fc930a1d0c74e225df34c7ef80500e7a5779c39.tar.bz2
ayatana-indicator-messages-8fc930a1d0c74e225df34c7ef80500e7a5779c39.zip
Rename GNOMELOCALEDIR -> LOCALEDIR.
-rw-r--r--configure.ac2
-rw-r--r--src/messages-service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bf7a04e..99e0e35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,7 +142,7 @@ AC_DEFUN([AC_DEFINE_PATH], [
GETTEXT_PACKAGE=ayatana-indicator-messages
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain])
-AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory])
+AC_DEFINE_PATH(LOCALEDIR, "${datadir}/locale", [locale directory])
AM_GLIB_GNU_GETTEXT
diff --git a/src/messages-service.c b/src/messages-service.c
index 572597c..b123a46 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -234,7 +234,7 @@ main (int argc, char ** argv)
/* Setting up i18n and gettext. Apparently, we need
all of these. */
setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
textdomain (GETTEXT_PACKAGE);
/* Bring up the service DBus interface */