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>
pull/1/head
Slávek Banko 1 year ago
parent
commit
c1e02c1bae
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
  1. 8
      CMakeL10n.txt
  2. 4
      client/CMakeLists.txt
  3. 8
      domino/CMakeLists.txt
  4. 2
      domino/domino.themerc
  5. 27
      translations/desktop_files/de.po
  6. 28
      translations/desktop_files/tde-style-domino-desktops.pot

8
CMakeL10n.txt

@ -21,3 +21,11 @@ include( TDEL10n )
##### create translation templates ##############
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
)

4
client/CMakeLists.txt

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

8
domino/CMakeLists.txt

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

2
domino/domino.themerc

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

27
translations/desktop_files/de.po

@ -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"

28
translations/desktop_files/tde-style-domino-desktops.pot

@ -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