diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-05 01:30:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-05 01:30:44 +0200 |
commit | baf8bf2f54e0f6737acc0f6321587e99553a88c7 (patch) | |
tree | dabf84d29fd0a4bd564c8773e9cb5d4362fbd3f3 | |
parent | 6952ae6dcbe3397e76ffca3f26bcd0d34ff5cec7 (diff) | |
download | tdeio-sword-baf8bf2f54e0f6737acc0f6321587e99553a88c7.tar.gz tdeio-sword-baf8bf2f54e0f6737acc0f6321587e99553a88c7.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 480a2160b3106524eb75fd882079ac8cd5374069)
-rw-r--r-- | src/CMakeL10n.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | translations/desktop_files/sword.protocol/sword.protocol.pot | 22 |
3 files changed, 29 insertions, 2 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 0a1005a..d6cf088 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/tdeio-sword" ) + +tde_l10n_create_template( + CATALOG "desktop_files/sword.protocol/" + SOURCES sword.protocol +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8e170cb..377bc05 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,7 +43,7 @@ tde_add_kpart( tdeio_sword AUTOMOC ##### other data -install( - FILES sword.protocol +tde_create_translated_desktop( + SOURCE sword.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) diff --git a/translations/desktop_files/sword.protocol/sword.protocol.pot b/translations/desktop_files/sword.protocol/sword.protocol.pot new file mode 100644 index 0000000..86bbf89 --- /dev/null +++ b/translations/desktop_files/sword.protocol/sword.protocol.pot @@ -0,0 +1,22 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-05 01:27+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: sword.protocol:9 +msgid "A tdeioslave for quick access to Bible texts within Konqueror" +msgstr "" |