From 3d99c62072c9f4ee051cb24a565ffdaab8a6ea9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 26 May 2020 16:19:25 +0200 Subject: [PATCH] Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 8716935d7e324b2f967afdfab8e2413180e2f9e2) --- src/CMakeL10n.txt | 5 +++ src/kscope.desktop | 2 -- .../desktop_files/kscope.desktop/fr.po | 32 +++++++++++++++++++ .../kscope.desktop/kscope.desktop.pot | 32 +++++++++++++++++++ 4 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 translations/desktop_files/kscope.desktop/fr.po create mode 100644 translations/desktop_files/kscope.desktop/kscope.desktop.pot 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 , 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 \n" +"Language-Team: LANGUAGE \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 , 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 \n" +"Language-Team: LANGUAGE \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 ""