summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-31 03:04:46 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-31 03:04:46 +0100
commit7834ac7e982e77a89afc682a3aceff2e13ac13c2 (patch)
tree780939159c62c51f15f66abec97c542611e1bfa1
parent2804b98494a2800b48e6d8a4131a158e582ea4f6 (diff)
downloadkopete-otr-7834ac7e.tar.gz
kopete-otr-7834ac7e.zip
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/kopete_otr.desktop10
-rw-r--r--src/kopete_otr_config.desktop10
-rw-r--r--translations/desktop_files/de.po27
-rw-r--r--translations/desktop_files/kopete-otr-desktops.pot27
5 files changed, 68 insertions, 11 deletions
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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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 <EMAIL@ADDRESS>, 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 <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
+#: 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 ""