[colobot] 27/145: Add Keywords key in desktop file
Didier Raboud
odyx at moszumanska.debian.org
Mon Jul 11 12:56:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository colobot.
commit 761c85468fa3a7571861667d05beee7b0bb9468e
Author: Didier Raboud <odyx at debian.org>
Date: Wed Mar 30 13:51:37 2016 +0200
Add Keywords key in desktop file
See:
- https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords
- https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
---
desktop/colobot.ini | 2 +-
desktop/create_desktop_file.sh | 2 +-
desktop/po/colobot-desktop.pot | 8 +++++++-
desktop/po/fr.po | 10 ++++++++--
4 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/desktop/colobot.ini b/desktop/colobot.ini
index 27193df..0cba215 100644
--- a/desktop/colobot.ini
+++ b/desktop/colobot.ini
@@ -1,4 +1,4 @@
Name="Colobot"
GenericName="Game to learn programming"
Comment="Colonize with bots"
-
+Keywords="robots;3d;space;astronaut;java;c++"
diff --git a/desktop/create_desktop_file.sh b/desktop/create_desktop_file.sh
index 8f3d15b..a41299f 100755
--- a/desktop/create_desktop_file.sh
+++ b/desktop/create_desktop_file.sh
@@ -10,7 +10,7 @@ cat colobot.desktop.in
linguas=$([ ! -d lang ] || ( cd lang ; ls));
-for type in Name GenericName Comment; do
+for type in Name GenericName Comment Keywords; do
egrep "^$type=" $fname | sed -e "s/^$type=\"\(.*\)\"$/$type=\1/g"
for l in $linguas; do
egrep "^$type=" lang/$l/$fname | sed -e "s/^$type=\"\(.*\)\"$/$type[$l]=\1/g"
diff --git a/desktop/po/colobot-desktop.pot b/desktop/po/colobot-desktop.pot
index 4fbbee3..52e6e1a 100644
--- a/desktop/po/colobot-desktop.pot
+++ b/desktop/po/colobot-desktop.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2016-03-25 19:24+0100\n"
+"POT-Creation-Date: 2016-03-30 13:45+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -34,6 +34,12 @@ msgstr ""
msgid "Colonize with bots"
msgstr ""
+#. type: Keywords=
+#: colobot.ini:4
+#, no-wrap
+msgid "robots;3d;space;astronaut;java;c++"
+msgstr ""
+
#. type: =head1
#: colobot.pod:3
msgid "NAME"
diff --git a/desktop/po/fr.po b/desktop/po/fr.po
index 01b73ce..5032271 100644
--- a/desktop/po/fr.po
+++ b/desktop/po/fr.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: colobot 0.1.7\n"
-"POT-Creation-Date: 2016-03-25 19:24+0100\n"
-"PO-Revision-Date: 2016-03-25 21:13+0100\n"
+"POT-Creation-Date: 2016-03-30 13:45+0200\n"
+"PO-Revision-Date: 2016-03-30 13:49+0100\n"
"Last-Translator: Didier Raboud <odyx at debian.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
@@ -34,6 +34,12 @@ msgstr "Apprentissage de la programmation par le jeu"
msgid "Colonize with bots"
msgstr "Colonise avec des roBots"
+#. type: Keywords=
+#: colobot.ini:4
+#, no-wrap
+msgid "robots;3d;space;astronaut;java;c++"
+msgstr "robots;3d;espace;astronaute;cosmonaute;java;c++"
+
#. type: =head1
#: colobot.pod:3
msgid "NAME"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list