summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-06 15:35:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-06 15:35:29 +0200
commita0793ba1b3ee8f50463ec0403112f8fc6bb3b587 (patch)
tree0bc8a517a17d730c92ce56089b1267a170641a67
parent3bcc801b31f7cd5b5f2998d919ab826de87e4b24 (diff)
downloadkcmautostart-a0793ba1b3ee8f50463ec0403112f8fc6bb3b587.tar.gz
kcmautostart-a0793ba1b3ee8f50463ec0403112f8fc6bb3b587.zip
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>
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/autostart.desktop7
-rw-r--r--translations/desktop_files/autostart.desktop/autostart.desktop.pot32
-rw-r--r--translations/desktop_files/autostart.desktop/ca.po35
-rw-r--r--translations/desktop_files/autostart.desktop/es.po35
-rw-r--r--translations/desktop_files/autostart.desktop/fr.po35
7 files changed, 143 insertions, 11 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 51f7c6d..21807f9 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/autostart" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/autostart.desktop/"
+ SOURCES autostart.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ef9d1d7..b2b25d0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,7 +23,4 @@ tde_add_kpart( kcm_autostart AUTOMOC
##### other data
-install(
- FILES autostart.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( autostart.desktop )
diff --git a/src/autostart.desktop b/src/autostart.desktop
index 016c8c5..4b6c70f 100644
--- a/src/autostart.desktop
+++ b/src/autostart.desktop
@@ -9,15 +9,8 @@ X-TDE-Library=autostart
X-TDE-HasReadOnlyMode=false
X-TDE-ParentApp=kcontrol
-Encoding=UTF-8
Comment=A tool for managing what programs start up with TDE
-Comment[ca]=Panell de control per a gestionar els programes que s'inicien amb la sessió de TDE
-Comment[es]=Panel de control para gestionar los programas que se inician con la sesión de TDE
-Comment[fr]=Paneau de contrôle pour gérer le démarrage des programmes àl'ouverture de session TDE
Keywords=autostart manager;
Name=Autostart Manager
-Name[ca]=Autoengega
-Name[es]=Arranque automático
-Name[fr]=Démarrage automatique
Categories=Qt;TDE;X-TDE-settings-components;
X-DocPath=autostart/index.html
diff --git a/translations/desktop_files/autostart.desktop/autostart.desktop.pot b/translations/desktop_files/autostart.desktop/autostart.desktop.pot
new file mode 100644
index 0000000..be65e7e
--- /dev/null
+++ b/translations/desktop_files/autostart.desktop/autostart.desktop.pot
@@ -0,0 +1,32 @@
+# 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-04-06 15:34+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"
+
+#. Comment
+#: autostart.desktop:12
+msgid "A tool for managing what programs start up with TDE"
+msgstr ""
+
+#. Keywords
+#: autostart.desktop:13
+msgid "autostart manager;"
+msgstr ""
+
+#. Name
+#: autostart.desktop:14
+msgid "Autostart Manager"
+msgstr ""
diff --git a/translations/desktop_files/autostart.desktop/ca.po b/translations/desktop_files/autostart.desktop/ca.po
new file mode 100644
index 0000000..c0f05df
--- /dev/null
+++ b/translations/desktop_files/autostart.desktop/ca.po
@@ -0,0 +1,35 @@
+# 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-04-06 15:31+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: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Comment
+#: autostart.desktop:12
+msgid "A tool for managing what programs start up with TDE"
+msgstr ""
+"Panell de control per a gestionar els programes que s'inicien amb la sessió "
+"de TDE"
+
+#. Keywords
+#: autostart.desktop:13
+#, fuzzy
+msgid "autostart manager;"
+msgstr "Autoengega"
+
+#. Name
+#: autostart.desktop:14
+msgid "Autostart Manager"
+msgstr "Autoengega"
diff --git a/translations/desktop_files/autostart.desktop/es.po b/translations/desktop_files/autostart.desktop/es.po
new file mode 100644
index 0000000..86524d1
--- /dev/null
+++ b/translations/desktop_files/autostart.desktop/es.po
@@ -0,0 +1,35 @@
+# 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-04-06 15:31+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: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Comment
+#: autostart.desktop:12
+msgid "A tool for managing what programs start up with TDE"
+msgstr ""
+"Panel de control para gestionar los programas que se inician con la sesión "
+"de TDE"
+
+#. Keywords
+#: autostart.desktop:13
+#, fuzzy
+msgid "autostart manager;"
+msgstr "Arranque automático"
+
+#. Name
+#: autostart.desktop:14
+msgid "Autostart Manager"
+msgstr "Arranque automático"
diff --git a/translations/desktop_files/autostart.desktop/fr.po b/translations/desktop_files/autostart.desktop/fr.po
new file mode 100644
index 0000000..f8fe074
--- /dev/null
+++ b/translations/desktop_files/autostart.desktop/fr.po
@@ -0,0 +1,35 @@
+# 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-04-06 15:31+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"
+
+#. Comment
+#: autostart.desktop:12
+msgid "A tool for managing what programs start up with TDE"
+msgstr ""
+"Paneau de contrôle pour gérer le démarrage des programmes àl'ouverture de "
+"session TDE"
+
+#. Keywords
+#: autostart.desktop:13
+#, fuzzy
+msgid "autostart manager;"
+msgstr "Démarrage automatique"
+
+#. Name
+#: autostart.desktop:14
+msgid "Autostart Manager"
+msgstr "Démarrage automatique"