summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-09-29 13:24:31 +0200
committerSlávek Banko <[email protected]>2020-09-29 13:24:31 +0200
commitd36b1732b704a179ddd4534a41dccd567e03e4f5 (patch)
tree60ce8f37e52b0b39bfbaedd0f248e3ca49d52c83
parent9dee479bc9198dffb04d8e564ec769f94affeef8 (diff)
downloadkerberostray-d36b1732b704a179ddd4534a41dccd567e03e4f5.tar.gz
kerberostray-d36b1732b704a179ddd4534a41dccd567e03e4f5.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/kerberostray.desktop8
-rw-r--r--translations/desktop_files/kerberostray.desktop/kerberostray.desktop.pot27
3 files changed, 37 insertions, 3 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 8907ff8..a961d43 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kerberostray" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kerberostray.desktop/"
+ SOURCES kerberostray.desktop
+)
diff --git a/src/kerberostray.desktop b/src/kerberostray.desktop
index 2a7d9aa..60c6dd4 100644
--- a/src/kerberostray.desktop
+++ b/src/kerberostray.desktop
@@ -1,14 +1,16 @@
[Desktop Entry]
Name=KerberosTray
+
GenericName=Kerberos Ticket Manager
+
+Type=Application
Exec=kerberostray
Icon=kerberostray
-Type=Application
Terminal=false
+Categories=Qt;TDE;Utility;
X-DocPath=kerberostray/index.html
-X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi
-Categories=Qt;TDE;Utility;
+X-TDE-StartupNotify=true
X-TDE-autostart-phase=2
X-TDE-autostart-after=panel
X-TDE-autostart-condition=kerberostrayrc::Autostart:true
diff --git a/translations/desktop_files/kerberostray.desktop/kerberostray.desktop.pot b/translations/desktop_files/kerberostray.desktop/kerberostray.desktop.pot
new file mode 100644
index 0000000..6e6f426
--- /dev/null
+++ b/translations/desktop_files/kerberostray.desktop/kerberostray.desktop.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: 2020-09-29 13:23+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: kerberostray.desktop:2
+msgid "KerberosTray"
+msgstr ""
+
+#. GenericName
+#: kerberostray.desktop:4
+msgid "Kerberos Ticket Manager"
+msgstr ""