diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-01-12 18:47:03 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-01-12 18:47:03 +0100 |
commit | f1c0bbd1e86d2df61b81cd155aa758523e4c842a (patch) | |
tree | c83be9ab62b028e53e8991bf15fcb6f2c931300c /CMakeL10n.txt | |
parent | 6b3ce66088007091a5f33c25676b93856451d59b (diff) | |
download | tdelibs-f1c0bbd1e86d2df61b81cd155aa758523e4c842a.tar.gz tdelibs-f1c0bbd1e86d2df61b81cd155aa758523e4c842a.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 <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeL10n.txt')
-rw-r--r-- | CMakeL10n.txt | 9 |
1 files changed, 9 insertions, 0 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 "-" ) |