aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/indicator-printers-service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ec452db..fe49ea2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ IT_PROG_INTLTOOL([0.35.0])
GETTEXT_PACKAGE=ayatana-indicator-printers
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package])
-AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory])
+AC_DEFINE_PATH(LOCALEDIR, "${datadir}/locale", [locale directory])
AM_GLIB_GNU_GETTEXT
AC_CONFIG_HEADER(config.h)
diff --git a/src/indicator-printers-service.c b/src/indicator-printers-service.c
index 50c2b15..e275657 100644
--- a/src/indicator-printers-service.c
+++ b/src/indicator-printers-service.c
@@ -147,7 +147,7 @@ int main (int argc, char *argv[])
{
/* Init i18n */
setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);