summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-26 16:19:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-26 16:19:50 +0200
commit3d99c62072c9f4ee051cb24a565ffdaab8a6ea9a (patch)
tree5e51f21d87a807f576abf93cf3fa0904c6d298b9
parent0794fba51cdc4ce677ce7568cd7b563c747a0440 (diff)
downloadkscope-3d99c62072c9f4ee051cb24a565ffdaab8a6ea9a.tar.gz
kscope-3d99c62072c9f4ee051cb24a565ffdaab8a6ea9a.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8716935d7e324b2f967afdfab8e2413180e2f9e2)
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/kscope.desktop2
-rw-r--r--translations/desktop_files/kscope.desktop/fr.po32
-rw-r--r--translations/desktop_files/kscope.desktop/kscope.desktop.pot32
4 files changed, 69 insertions, 2 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 0ebcc61..fcf54e4 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kscope" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kscope.desktop/"
+ SOURCES kscope.desktop
+)
diff --git a/src/kscope.desktop b/src/kscope.desktop
index 9e7e070..8b9a4eb 100644
--- a/src/kscope.desktop
+++ b/src/kscope.desktop
@@ -5,8 +5,6 @@ Exec=kscope
Icon=kscope
Type=Application
Comment=Source-editing environment for large C projects
-Comment[fr]=Editeur de codes sources pour de gros projets en C
GenericName=Source editing environment
-GenericName[fr]=Editeur de code source
Categories=Qt;TDE;Development
X-DocPath=kscope/index.html
diff --git a/translations/desktop_files/kscope.desktop/fr.po b/translations/desktop_files/kscope.desktop/fr.po
new file mode 100644
index 0000000..bfcc3b0
--- /dev/null
+++ b/translations/desktop_files/kscope.desktop/fr.po
@@ -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-05-26 16:16+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
+#: kscope.desktop:3
+msgid "KScope"
+msgstr ""
+
+#. Comment
+#: kscope.desktop:7
+msgid "Source-editing environment for large C projects"
+msgstr "Editeur de codes sources pour de gros projets en C"
+
+#. GenericName
+#: kscope.desktop:8
+msgid "Source editing environment"
+msgstr "Editeur de code source"
diff --git a/translations/desktop_files/kscope.desktop/kscope.desktop.pot b/translations/desktop_files/kscope.desktop/kscope.desktop.pot
new file mode 100644
index 0000000..dddc375
--- /dev/null
+++ b/translations/desktop_files/kscope.desktop/kscope.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-05-26 16:16+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
+#: kscope.desktop:3
+msgid "KScope"
+msgstr ""
+
+#. Comment
+#: kscope.desktop:7
+msgid "Source-editing environment for large C projects"
+msgstr ""
+
+#. GenericName
+#: kscope.desktop:8
+msgid "Source editing environment"
+msgstr ""