aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-20 20:24:03 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-21 11:21:58 +0200
commite671e0e4a44ec796a3be4496bbab1a603f9bd11b (patch)
tree0131aaef5df86dabcd845271e9b24bdc11b679c2 /po
parent590f9614f0d9a48026dd9618bf6213b16968be1a (diff)
downloadayatana-indicator-session-e671e0e4a44ec796a3be4496bbab1a603f9bd11b.tar.gz
ayatana-indicator-session-e671e0e4a44ec796a3be4496bbab1a603f9bd11b.tar.bz2
ayatana-indicator-session-e671e0e4a44ec796a3be4496bbab1a603f9bd11b.zip
Use native CMake Intltool module
cmake/Translations.cmake: Drop file po/CMakeLists.txt: Use Intltool
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index c47d584..0b2b2a1 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1,3 +1,6 @@
-include (Translations)
-add_translations_directory ("${GETTEXT_PACKAGE}")
-add_translations_catalog ("${GETTEXT_PACKAGE}" ../src/ ../src/dbus-backend)
+find_package(Intltool REQUIRED)
+
+intltool_install_translations(
+ ALL
+ GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
+)