summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-12-01 17:46:57 +0100
committerSlávek Banko <[email protected]>2020-12-02 19:51:43 +0100
commitd6b56d6447034d9b9cf4fb14572251f003dafd94 (patch)
tree41359da690fa45613d621c506cf3f8ecc690f084
parent45cde0f57cf7076dd986a6d797a4292184813861 (diff)
downloadtdegames-d6b56d6447034d9b9cf4fb14572251f003dafd94.tar.gz
tdegames-d6b56d6447034d9b9cf4fb14572251f003dafd94.zip
Add CMakeL10n rules for TDEFifteen.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit dd4e2872804be50244211dff45c772f617a97caf)
-rw-r--r--tdefifteen/CMakeL10n.txt3
-rw-r--r--tdefifteen/src/CMakeL10n.txt9
-rw-r--r--tdefifteen/src/tdefifteen.desktop7
-rw-r--r--translations/desktop_files/tdefifteen.desktop/tdefifteen.desktop.pot32
4 files changed, 49 insertions, 2 deletions
diff --git a/tdefifteen/CMakeL10n.txt b/tdefifteen/CMakeL10n.txt
new file mode 100644
index 00000000..b585ce4a
--- /dev/null
+++ b/tdefifteen/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/tdefifteen/src/CMakeL10n.txt b/tdefifteen/src/CMakeL10n.txt
new file mode 100644
index 00000000..3b8823f6
--- /dev/null
+++ b/tdefifteen/src/CMakeL10n.txt
@@ -0,0 +1,9 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( tdefifteen )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tdefifteen.desktop/"
+ SOURCES tdefifteen.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/tdefifteen/src/tdefifteen.desktop b/tdefifteen/src/tdefifteen.desktop
index e3409b4f..68e85eb4 100644
--- a/tdefifteen/src/tdefifteen.desktop
+++ b/tdefifteen/src/tdefifteen.desktop
@@ -1,9 +1,12 @@
[Desktop Entry]
Name=TDEFifteen
+
GenericName=Puzzle-solving game
-Exec=tdefifteen
+
Comment=Sliding puzzle with one missing tile
+
+Type=Application
+Exec=tdefifteen
Icon=tdefifteen
Terminal=false
-Type=Application
Categories=Qt;TDE;Game;BoardGame;
diff --git a/translations/desktop_files/tdefifteen.desktop/tdefifteen.desktop.pot b/translations/desktop_files/tdefifteen.desktop/tdefifteen.desktop.pot
new file mode 100644
index 00000000..e94ef01d
--- /dev/null
+++ b/translations/desktop_files/tdefifteen.desktop/tdefifteen.desktop.pot
@@ -0,0 +1,32 @@
+# 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-12-01 17:37+0100\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
+#: tdefifteen.desktop:2
+msgid "TDEFifteen"
+msgstr ""
+
+#. GenericName
+#: tdefifteen.desktop:4
+msgid "Puzzle-solving game"
+msgstr ""
+
+#. Comment
+#: tdefifteen.desktop:6
+msgid "Sliding puzzle with one missing tile"
+msgstr ""