From 8fc930a1d0c74e225df34c7ef80500e7a5779c39 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 6 Dec 2017 12:39:58 +0100 Subject: Rename GNOMELOCALEDIR -> LOCALEDIR. --- configure.ac | 2 +- src/messages-service.c | 2 +- 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 */ -- cgit v1.2.3