aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:50:29 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:50:29 +0100
commit2ca072ab8af352e110747d11e685db7edcd09bb2 (patch)
treee560905fe6ad0de022eab4457b467f3b52edf184
parent68ff3cef28c4a4655c7d426b99fe3e61207f676f (diff)
downloadayatana-indicator-display-2ca072ab8af352e110747d11e685db7edcd09bb2.tar.gz
ayatana-indicator-display-2ca072ab8af352e110747d11e685db7edcd09bb2.tar.bz2
ayatana-indicator-display-2ca072ab8af352e110747d11e685db7edcd09bb2.zip
Rename GNOMELOCALEDIR -> LOCALEDIR.
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/main.cpp2
-rw-r--r--tests/utils/qmain.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b96fd82..10d3472 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@ set(CMAKE_INSTALL_FULL_PKGLIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}/${CMAKE_P
set(GETTEXT_PACKAGE "ayatana-indicator-display")
add_definitions(
-DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}"
- -DGNOMELOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}"
+ -DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}"
)
##
diff --git a/src/main.cpp b/src/main.cpp
index e061871..aaa069d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -38,7 +38,7 @@ main(int /*argc*/, char** /*argv*/)
// boilerplate i18n
setlocale(LC_ALL, "");
- bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
textdomain(GETTEXT_PACKAGE);
auto loop = g_main_loop_new(nullptr, false);
diff --git a/tests/utils/qmain.cpp b/tests/utils/qmain.cpp
index 72a49b1..01a7892 100644
--- a/tests/utils/qmain.cpp
+++ b/tests/utils/qmain.cpp
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
// boilerplate i18n
setlocale(LC_ALL, "");
- bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
textdomain(GETTEXT_PACKAGE);
QCoreApplication application(argc, argv);