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 2 months ago
parent
commit
c1e02c1bae
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
6 changed files with 70 additions and 7 deletions
  1. +8
    -0
      CMakeL10n.txt
  2. +2
    -2
      client/CMakeLists.txt
  3. +4
    -4
      domino/CMakeLists.txt
  4. +1
    -1
      domino/domino.themerc
  5. +27
    -0
      translations/desktop_files/de.po
  6. +28
    -0
      translations/desktop_files/tde-style-domino-desktops.pot

+ 8
- 0
CMakeL10n.txt View File

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

+ 2
- 2
client/CMakeLists.txt View File

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

+ 4
- 4
domino/CMakeLists.txt View File

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

+ 1
- 1
domino/domino.themerc View File

@@ -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
- 0
translations/desktop_files/de.po View File

@@ -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
- 0
translations/desktop_files/tde-style-domino-desktops.pot View File

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