From 7834ac7e982e77a89afc682a3aceff2e13ac13c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 31 Jan 2022 03:04:46 +0100 Subject: [PATCH] Added translation of .desktop files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/CMakeL10n.txt | 5 ++++ src/kopete_otr.desktop | 10 +++---- src/kopete_otr_config.desktop | 10 +++---- translations/desktop_files/de.po | 27 +++++++++++++++++++ .../desktop_files/kopete-otr-desktops.pot | 27 +++++++++++++++++++ 5 files changed, 68 insertions(+), 11 deletions(-) create mode 100644 translations/desktop_files/de.po create mode 100644 translations/desktop_files/kopete-otr-desktops.pot diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 591bd6b..e9d7dac 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/kopete_otr" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kopete-otr-desktops" + SOURCES *.desktop +) diff --git a/src/kopete_otr.desktop b/src/kopete_otr.desktop index 7f92474..41155a7 100644 --- a/src/kopete_otr.desktop +++ b/src/kopete_otr.desktop @@ -1,8 +1,12 @@ [Desktop Entry] +Name=OTR + +Comment=Encrypt chat sessions with Off-The-Record encryption + Encoding=UTF-8 Type=Service -X-Kopete-Version=1000900 Icon=kopete_otr +X-Kopete-Version=1000900 X-TDE-ServiceTypes=Kopete/Plugin X-TDE-Library=kopete_otr X-TDE-PluginInfo-Author=Michael Zanetti @@ -14,7 +18,3 @@ X-TDE-PluginInfo-Category=Plugins X-TDE-PluginInfo-Depends= X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-EnabledByDefault=false -Comment=Encrypt chat sessions with Off-The-Record encryption -Comment[de]=Verschlüsselt Chat-Sitzungen mit Off-The-Record Verschlüsselung -Name=OTR -Name[de]=OTR diff --git a/src/kopete_otr_config.desktop b/src/kopete_otr_config.desktop index 7f8ebb3..3122b1a 100644 --- a/src/kopete_otr_config.desktop +++ b/src/kopete_otr_config.desktop @@ -1,16 +1,14 @@ [Desktop Entry] +Name=OTR + +Comment=Encrypt chat sessions with Off-The-Record encryption + Encoding=UTF-8 Type=Service Icon=kopete_otr X-TDE-ServiceTypes=TDECModule - X-TDE-ModuleType=Library X-TDE-Library=kopete_otr X-TDE-FactoryName=OTRPreferencesFactory X-TDE-ParentApp=kopete_otr X-TDE-ParentComponents=kopete_otr - -Comment=Encrypt chat sessions with Off-The-Record encryption -Comment[de]=Verschlüsselt Chat-Sitzungen mit Off-The-Record Verschlüsselung -Name=OTR -Name[de]=OTR diff --git a/translations/desktop_files/de.po b/translations/desktop_files/de.po new file mode 100644 index 0000000..9432b85 --- /dev/null +++ b/translations/desktop_files/de.po @@ -0,0 +1,27 @@ +# 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: 2022-01-31 03:03+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Name +#: kopete_otr.desktop:2 kopete_otr_config.desktop:2 +msgid "OTR" +msgstr "OTR" + +#. Comment +#: kopete_otr.desktop:4 kopete_otr_config.desktop:4 +msgid "Encrypt chat sessions with Off-The-Record encryption" +msgstr "Verschlüsselt Chat-Sitzungen mit Off-The-Record Verschlüsselung" diff --git a/translations/desktop_files/kopete-otr-desktops.pot b/translations/desktop_files/kopete-otr-desktops.pot new file mode 100644 index 0000000..45ea8ef --- /dev/null +++ b/translations/desktop_files/kopete-otr-desktops.pot @@ -0,0 +1,27 @@ +# 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: 2022-01-31 03:03+0100\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 +#: kopete_otr.desktop:2 kopete_otr_config.desktop:2 +msgid "OTR" +msgstr "" + +#. Comment +#: kopete_otr.desktop:4 kopete_otr_config.desktop:4 +msgid "Encrypt chat sessions with Off-The-Record encryption" +msgstr ""