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 230b816f6d)
r14.0.x
Slávek Banko 5 years ago
parent ca1ef74423
commit db39860f7a
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

@ -40,7 +40,4 @@ tde_add_kpart( kcm_ldapmanager AUTOMOC
##### other data ##### other data
install( tde_create_translated_desktop( ldapmanager.desktop )
FILES ldapmanager.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -11,7 +11,7 @@ X-TDE-ParentApp=kcontrol
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8 Encoding=UTF-8
Name=LDAP Realm Manager
Comment=A KControl tool for managing users, groups, and machines in LDAP realms Comment=A KControl tool for managing users, groups, and machines in LDAP realms
Keywords=ldap manager; Keywords=ldap manager;
Name=LDAP Realm Manager
Categories=Qt;TDE;X-TDE-settings-components; Categories=Qt;TDE;X-TDE-settings-components;

@ -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-26 12:02+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"
#. Name
#: ldapmanager.desktop:14
msgid "LDAP Realm Manager"
msgstr ""
#. Comment
#: ldapmanager.desktop:15
msgid "A KControl tool for managing users, groups, and machines in LDAP realms"
msgstr ""
#. Keywords
#: ldapmanager.desktop:16
msgid "ldap manager;"
msgstr ""
Loading…
Cancel
Save