diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-25 15:42:19 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-25 15:42:19 +0200 |
commit | 3b23a90dfc3eb1feeb5d4755b867a31ef425e297 (patch) | |
tree | d8399e7520ce20f58d6331a2c282cce39b458b43 | |
parent | 1d1c3503c837758b7a693289ab1d7b5fd99229f5 (diff) | |
download | kcmldapcontroller-3b23a90dfc3eb1feeb5d4755b867a31ef425e297.tar.gz kcmldapcontroller-3b23a90dfc3eb1feeb5d4755b867a31ef425e297.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>
-rw-r--r-- | src/CMakeL10n.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 5 | ||||
-rw-r--r-- | translations/desktop_files/ldapcontroller.desktop/ldapcontroller.desktop.pot | 32 |
3 files changed, 38 insertions, 4 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index e14c5a7..b1b60ef 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/kcmldapcontroller" ) + +tde_l10n_create_template( + CATALOG "desktop_files/ldapcontroller.desktop/" + SOURCES ldapcontroller.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d061fb2..9d07317 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,7 +45,4 @@ tde_add_kpart( kcm_ldapcontroller AUTOMOC ##### other data -install( - FILES ldapcontroller.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ldapcontroller.desktop ) diff --git a/translations/desktop_files/ldapcontroller.desktop/ldapcontroller.desktop.pot b/translations/desktop_files/ldapcontroller.desktop/ldapcontroller.desktop.pot new file mode 100644 index 0000000..a04223a --- /dev/null +++ b/translations/desktop_files/ldapcontroller.desktop/ldapcontroller.desktop.pot @@ -0,0 +1,32 @@ +# 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-25 15:39+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" + +#. Comment +#: ldapcontroller.desktop:16 +msgid "A KControl tool for configuring an LDAP Realm Controller" +msgstr "" + +#. Keywords +#: ldapcontroller.desktop:17 +msgid "ldap controller;" +msgstr "" + +#. Name +#: ldapcontroller.desktop:18 +msgid "LDAP Realm Controller" +msgstr "" |