summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-10-04 00:40:50 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-10-04 00:43:25 +0200
commit896cbe60319903891ecec05ff589defa839888b0 (patch)
tree45bec3b2a9313e5ba3ef92d27c2b40195a4dd8b3
parent82e80513f7851d3c01cd26fc1fb1e1256915cc56 (diff)
downloadtde-style-lipstik-896cbe60319903891ecec05ff589defa839888b0.tar.gz
tde-style-lipstik-896cbe60319903891ecec05ff589defa839888b0.zip
Added translation of desktop style files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9218fe115995dd828d5a47ad9410979880adadf8)
-rw-r--r--style/CMakeL10n.txt7
-rw-r--r--style/CMakeLists.txt8
-rw-r--r--style/lipstik.themerc6
-rw-r--r--translations/desktop_files/fr.po42
-rw-r--r--translations/desktop_files/tde-style-lipstik-desktops.pot42
5 files changed, 99 insertions, 6 deletions
diff --git a/style/CMakeL10n.txt b/style/CMakeL10n.txt
index b585ce4..6c84aa7 100644
--- a/style/CMakeL10n.txt
+++ b/style/CMakeL10n.txt
@@ -1,3 +1,10 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tde-style-lipstik-desktops"
+ SOURCES
+ *.themerc
+ *.kcsrc
+)
diff --git a/style/CMakeLists.txt b/style/CMakeLists.txt
index b08e7e6..f85e0ee 100644
--- a/style/CMakeLists.txt
+++ b/style/CMakeLists.txt
@@ -30,13 +30,13 @@ tde_add_kpart( lipstik AUTOMOC
##### other data
-install(
- FILES lipstik.themerc
+tde_create_translated_desktop(
+ SOURCE lipstik.themerc
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
)
-install(
- FILES
+tde_create_translated_desktop(
+ SOURCE
lipstikstandard.kcsrc
lipstikwhite.kcsrc
lipstiknoble.kcsrc
diff --git a/style/lipstik.themerc b/style/lipstik.themerc
index 714acb4..5fd560e 100644
--- a/style/lipstik.themerc
+++ b/style/lipstik.themerc
@@ -1,7 +1,9 @@
[Misc]
Name=Lipstik
-ConfigPage=tdestyle_lipstik_config
+
Comment=A purified style
-Comment[fr]=Un style pure
+
+ConfigPage=tdestyle_lipstik_config
+
[KDE]
WidgetStyle=Lipstik
diff --git a/translations/desktop_files/fr.po b/translations/desktop_files/fr.po
new file mode 100644
index 0000000..68232a5
--- /dev/null
+++ b/translations/desktop_files/fr.po
@@ -0,0 +1,42 @@
+# 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-10-04 00:22+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: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: lipstik.themerc:2
+msgid "Lipstik"
+msgstr ""
+
+#. Comment
+#: lipstik.themerc:4
+msgid "A purified style"
+msgstr "Un style pure"
+
+#. Name
+#: lipstiknoble.kcsrc:2
+msgid "Lipstik Noble"
+msgstr ""
+
+#. Name
+#: lipstikstandard.kcsrc:2
+msgid "Lipstik Standard"
+msgstr ""
+
+#. Name
+#: lipstikwhite.kcsrc:2
+msgid "Lipstik White"
+msgstr ""
diff --git a/translations/desktop_files/tde-style-lipstik-desktops.pot b/translations/desktop_files/tde-style-lipstik-desktops.pot
new file mode 100644
index 0000000..df12c18
--- /dev/null
+++ b/translations/desktop_files/tde-style-lipstik-desktops.pot
@@ -0,0 +1,42 @@
+# 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-10-04 00:22+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
+#: lipstik.themerc:2
+msgid "Lipstik"
+msgstr ""
+
+#. Comment
+#: lipstik.themerc:4
+msgid "A purified style"
+msgstr ""
+
+#. Name
+#: lipstiknoble.kcsrc:2
+msgid "Lipstik Noble"
+msgstr ""
+
+#. Name
+#: lipstikstandard.kcsrc:2
+msgid "Lipstik Standard"
+msgstr ""
+
+#. Name
+#: lipstikwhite.kcsrc:2
+msgid "Lipstik White"
+msgstr ""