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>
pull/1/head
Slávek Banko 4 years ago
parent 6b4ac8969c
commit c1e02c1bae
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -21,3 +21,11 @@ include( TDEL10n )
##### create translation templates ############## ##### create translation templates ##############
tde_l10n_auto_add_subdirectories( ) tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template(
CATALOG "desktop_files/tde-style-domino-desktops"
SOURCES_DESKTOP
domino/domino.themerc
domino/Domino.kcsrc
client/domino.desktop
)

@ -36,7 +36,7 @@ tde_add_kpart( twin3_domino AUTOMOC
##### other data ##### other data
install( tde_create_translated_desktop(
FILES domino.desktop SOURCE domino.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin DESTINATION ${DATA_INSTALL_DIR}/twin
) )

@ -50,12 +50,12 @@ tde_add_kpart( domino AUTOMOC
##### other data ##### other data
install( tde_create_translated_desktop(
FILES domino.themerc SOURCE domino.themerc
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
) )
install( tde_create_translated_desktop(
FILES Domino.kcsrc SOURCE Domino.kcsrc
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
) )

@ -1,7 +1,7 @@
[Misc] [Misc]
Name=Domino Name=Domino
Comment=A style with customizable color gradients Comment=A style with customizable color gradients
Comment[de]=Ein Stil mit anpassbaren Farbverläufen
ConfigPage=tdestyle_domino_config ConfigPage=tdestyle_domino_config
[KDE] [KDE]
WidgetStyle=Domino WidgetStyle=Domino

@ -0,0 +1,27 @@
# 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-07-07 18:56+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: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: domino/domino.themerc:2 domino/Domino.kcsrc:2 client/domino.desktop:4
msgid "Domino"
msgstr ""
#. Comment
#: domino/domino.themerc:3
msgid "A style with customizable color gradients"
msgstr "Ein Stil mit anpassbaren Farbverläufen"

@ -0,0 +1,28 @@
# 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-07-07 18:56+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
#: domino/domino.themerc:2 domino/Domino.kcsrc:2
#: client/domino.desktop:4
msgid "Domino"
msgstr ""
#. Comment
#: domino/domino.themerc:3
msgid "A style with customizable color gradients"
msgstr ""
Loading…
Cancel
Save