summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-12 18:47:03 +0100
committerSlávek Banko <[email protected]>2019-01-12 18:48:11 +0100
commit85131c5c8d5b8d4324f4837cf8163ef6f4f4830c (patch)
tree4cf079594f433152551a8c22225ef8351e0473af
parent987768c54d8f0c0ead70395057172ae765fae064 (diff)
downloadtdelibs-85131c5c8d5b8d4324f4837cf8163ef6f4f4830c.tar.gz
tdelibs-85131c5c8d5b8d4324f4837cf8163ef6f4f4830c.zip
Update CMakeL10n rules
+ Add rule to update template with common texts - tde.pot. + Add the X-POT option to ensure that the common texts are part of tdelibs.pot. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit f1c0bbd1e86d2df61b81cd155aa758523e4c842a)
-rw-r--r--CMakeL10n.txt9
-rw-r--r--tde.pot4
2 files changed, 11 insertions, 2 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index bc73da47d..4194724ea 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -51,6 +51,14 @@ execute_process(
##### create translation templates ##############
tde_l10n_create_template(
+ CATALOG "tde"
+ SOURCES "common_texts.cpp"
+ EXCLUDES "_translatorinfo"
+ X-POT -
+ DESTINATION "."
+)
+
+tde_l10n_create_template(
CATALOG "tdelibs"
SOURCES
"."
@@ -79,6 +87,7 @@ tde_l10n_create_template(
tr tr:1,2
translate translate:1,2
QT_TRANSLATE_NOOP QT_TRANSLATE_NOOP:1,2
+ X-POT "-"
)
diff --git a/tde.pot b/tde.pot
index 27b0f7435..277000ed0 100644
--- a/tde.pot
+++ b/tde.pot
@@ -5,10 +5,10 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2014-09-29 00:19-0500\n"
+"POT-Creation-Date: 2019-01-12 18:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <[email protected]>\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"