Browse Source

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>
master
Slávek Banko 2 years ago
parent
commit
116937ea03
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668
  1. 5
      src/CMakeL10n.txt
  2. 5
      src/CMakeLists.txt
  3. 32
      translations/desktop_files/ldapbonding.desktop/ldapbonding.desktop.pot

5
src/CMakeL10n.txt

@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kcmldap" )
tde_l10n_create_template(
CATALOG "desktop_files/ldapbonding.desktop/"
SOURCES ldapbonding.desktop
)

5
src/CMakeLists.txt

@ -42,7 +42,4 @@ tde_add_kpart( kcm_ldapbonding AUTOMOC
##### other data
install(
FILES ldapbonding.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
tde_create_translated_desktop( ldapbonding.desktop )

32
translations/desktop_files/ldapbonding.desktop/ldapbonding.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-24 15:19+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
#: ldapbonding.desktop:16
msgid "A KControl tool for managing TDE bonding to LDAP realms."
msgstr ""
#. Keywords
#: ldapbonding.desktop:17
msgid "ldap manager;"
msgstr ""
#. Name
#: ldapbonding.desktop:18
msgid "LDAP Realm Bonding"
msgstr ""
Loading…
Cancel
Save