aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:42:44 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:42:44 +0100
commit3cf825f6786d979ea2ab94c43f7b036c02d6fbc5 (patch)
tree54cacad1008c64260f06ee719469a19acfaa8b89
parent5ef27ef12d17b97e2eee57a769877898a6f655e2 (diff)
downloadayatana-indicator-power-3cf825f6786d979ea2ab94c43f7b036c02d6fbc5.tar.gz
ayatana-indicator-power-3cf825f6786d979ea2ab94c43f7b036c02d6fbc5.tar.bz2
ayatana-indicator-power-3cf825f6786d979ea2ab94c43f7b036c02d6fbc5.zip
Rename GNOMELOCALEDIR -> LOCALEDIR.
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 081739e..ea55a6f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@ set (CMAKE_INSTALL_FULL_PKGLIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}/${CMAKE_
set(GETTEXT_PACKAGE "ayatana-indicator-power")
add_definitions (-DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}"
- -DGNOMELOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
+ -DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
##
## Check for prerequisites
diff --git a/src/main.c b/src/main.c
index eaa4070..03e100d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -46,7 +46,7 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED)
/* boilerplate i18n */
setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
textdomain (GETTEXT_PACKAGE);
/* run */