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-01 17:46:57 +0100
commitdd4e2872804be50244211dff45c772f617a97caf (patch)
tree6fc19db8b564fd85744496389938beb012213930
parent230a4364ab67324ef5a49613ff0c511589341ea3 (diff)
downloadtdegames-dd4e2872804be50244211dff45c772f617a97caf.tar.gz
tdegames-dd4e2872804be50244211dff45c772f617a97caf.zip
Add CMakeL10n rules for TDEFifteen.
Signed-off-by: Slávek Banko <[email protected]>
-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 ""