summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/knowit.desktop3
-rw-r--r--translations/desktop_files/knowit.desktop/de.po27
-rw-r--r--translations/desktop_files/knowit.desktop/knowit.desktop.pot27
5 files changed, 60 insertions, 7 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 198fa41..2623e71 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -4,3 +4,8 @@ tde_l10n_create_template(
CATALOG "messages/knowit"
SOURCES "." "tips"
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/knowit.desktop/"
+ SOURCES knowit.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 816216c..2751a08 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -50,10 +50,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
install(
FILES x-${PROJECT_NAME}.desktop
diff --git a/src/knowit.desktop b/src/knowit.desktop
index 43e6544..41b1fc9 100644
--- a/src/knowit.desktop
+++ b/src/knowit.desktop
@@ -5,10 +5,7 @@ Exec=knowit -caption "%c" %i %m
MimeType=application/x-knowit
Icon=desktop
X-DocPath=knowit/index.html
-Comment=
-Comment[de]=
Terminal=0
Name=KnowIt
-Name[de]=KnowIt
Categories=Qt;TDE;Office
GenericName=Note Manager
diff --git a/translations/desktop_files/knowit.desktop/de.po b/translations/desktop_files/knowit.desktop/de.po
new file mode 100644
index 0000000..2fa9a2e
--- /dev/null
+++ b/translations/desktop_files/knowit.desktop/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: 2020-04-30 18:01+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: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Name
+#: knowit.desktop:9
+msgid "KnowIt"
+msgstr "KnowIt"
+
+#. GenericName
+#: knowit.desktop:11
+msgid "Note Manager"
+msgstr ""
diff --git a/translations/desktop_files/knowit.desktop/knowit.desktop.pot b/translations/desktop_files/knowit.desktop/knowit.desktop.pot
new file mode 100644
index 0000000..c84777c
--- /dev/null
+++ b/translations/desktop_files/knowit.desktop/knowit.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-04-30 18:01+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
+#: knowit.desktop:9
+msgid "KnowIt"
+msgstr ""
+
+#. GenericName
+#: knowit.desktop:11
+msgid "Note Manager"
+msgstr ""