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:42:35 +0200
commit9218fe115995dd828d5a47ad9410979880adadf8 (patch)
treee780ecb0a65d4efcd00404857aae8995e8ee505d
parent07a6d98c1b4a852cfaca3ac02b388351909d7b9c (diff)
downloadtde-style-lipstik-9218fe115995dd828d5a47ad9410979880adadf8.tar.gz
tde-style-lipstik-9218fe115995dd828d5a47ad9410979880adadf8.zip
Added translation of desktop style files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 ""