aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);