From 373ffe1d1d221f0e28793d65b40e49311f2e1ed5 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Fri, 3 Feb 2017 12:23:56 -0500 Subject: Use cmake-extras intltool module, and keep pot file in vcs. --- po/CMakeLists.txt | 15 ++++++++++++--- po/Makevars | 7 ------- 2 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 po/Makevars (limited to 'po') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 8325f6e..e78a9df 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,3 +1,12 @@ -include (Translations) -add_translations_directory ("${GETTEXT_PACKAGE}") -add_translations_catalog ("${GETTEXT_PACKAGE}" ../src/) +find_package(Intltool REQUIRED) + +intltool_update_potfile( + KEYWORDS "_" "_:1,2" "N_" "N_:1,2" + GETTEXT_PACKAGE ${GETTEXT_PACKAGE} + COPYRIGHT_HOLDER "Canonical Ltd." +) + +intltool_install_translations( + ALL + GETTEXT_PACKAGE ${GETTEXT_PACKAGE} +) diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index e877468..0000000 --- a/po/Makevars +++ /dev/null @@ -1,7 +0,0 @@ -DOMAIN = $(PACKAGE) -subdir = po -top_builddir = .. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=T_ --from-code=UTF-8 -COPYRIGHT_HOLDER = Canonical Ltd. -MSGID_BUGS_ADDRESS = ted@canonical.com -EXTRA_LOCALE_CATEGORIES = -- cgit v1.2.3 From acb754b646845d051e644a3ba4cfe7be5130b9d2 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Thu, 9 Feb 2017 12:28:21 -0500 Subject: Depend on newer cmake-extras for FILTER in intltool command. --- po/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'po') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index e78a9df..eecc301 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -4,6 +4,7 @@ intltool_update_potfile( KEYWORDS "_" "_:1,2" "N_" "N_:1,2" GETTEXT_PACKAGE ${GETTEXT_PACKAGE} COPYRIGHT_HOLDER "Canonical Ltd." + FILTER "test/*" ) intltool_install_translations( -- cgit v1.2.3 From 5f6bc6bce79341db46bf687219e1f27ff57d0315 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 29 Aug 2021 13:42:34 +0200 Subject: po/CMakeLists.txt: No fiddling anymore with the .pot file during builds. --- po/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'po') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index eecc301..0b2b2a1 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,12 +1,5 @@ find_package(Intltool REQUIRED) -intltool_update_potfile( - KEYWORDS "_" "_:1,2" "N_" "N_:1,2" - GETTEXT_PACKAGE ${GETTEXT_PACKAGE} - COPYRIGHT_HOLDER "Canonical Ltd." - FILTER "test/*" -) - intltool_install_translations( ALL GETTEXT_PACKAGE ${GETTEXT_PACKAGE} -- cgit v1.2.3 From 38e5efecbb3154a83a70c1c762802ec7927b3caa Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Sun, 29 Aug 2021 15:02:48 +0200 Subject: Update translation files Updated by "Update LINGUAS file" hook in Weblate. Translation: Ayatana Indicators/Datetime Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/datetime-applet/ --- po/LINGUAS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'po') diff --git a/po/LINGUAS b/po/LINGUAS index c867b43..d0501c6 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -129,3 +129,5 @@ csb tt ta_LK zh_LATN@pinyin +kmr +sdh -- cgit v1.2.3