[lure-of-the-temptress] 01/01: let users override heuristic with --en ; reword README.Debian
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Thu Apr 23 13:09:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository lure-of-the-temptress.
commit fa56b440cf0b44f3e4d7b940012500bfe202d396
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Thu Apr 23 15:07:40 2015 +0200
let users override heuristic with --en ; reword README.Debian
---
debian/README.Debian | 17 ++++++++++-------
debian/lure | 10 +++++++---
debian/man/lure.6 | 3 +++
debian/man/lure.de.6 | 3 +++
debian/man/lure.fr.6 | 3 +++
debian/po/de.po | 3 +++
debian/po/fr.po | 3 +++
7 files changed, 32 insertions(+), 10 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 11d3b86..29d6291 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -13,16 +13,19 @@ The command
will tell you more about the available options.
-To run the German version of the game just type
+The "lure" wrapper script will read the LANGUAGE & LANG environment
+variables to choose the version that best match.
- lure --de
+This is also the case when the game is executed from the Debian menu or
+every other menu which supports either .desktop or .menu files.
-For the Italian (it), French (fr) or Spanish (es) version just substitute
-the --de option with the respective language code.
+This heuristic can be overridden:
+to run the English version of the game just type
-The default version is English and can be executed from the Debian menu or
-every other menu which supports either .desktop or .menu files or by simply
-typing lure in your preferred shell.
+ lure --en
+
+For the German (de), Italian (it), French (fr) or Spanish (es) version just
+substitute the --en option with the respective language code.
More options are available if you start ScummVM directly and point the engine
to /usr/share/scummvm/lure-of-the-temptress/$languagecode and manually add your
diff --git a/debian/lure b/debian/lure
index 4ac30e3..fb5a618 100644
--- a/debian/lure
+++ b/debian/lure
@@ -16,6 +16,7 @@ usage()
echo
$gettext "--help display this help and exit"
$gettext "--version display version information and exit"
+ $gettext "--en play the English version of Lure"
$gettext "--de play the German version of Lure"
$gettext "--fr play the French version of Lure"
$gettext "--it play the Italian version of Lure"
@@ -24,9 +25,9 @@ usage()
version()
{
- $gettext "Lure of the Temptress 1.1"
- $gettext "Copyright (C) Revolution Software Ltd."
- $gettext "ScummVM engine Copyright (C) The ScummVM Team"
+ echo "Lure of the Temptress 1.1"
+ echo "Copyright (C) Revolution Software Ltd."
+ echo "ScummVM engine Copyright (C) The ScummVM Team"
}
if [ "$#" -gt "1" ]; then
@@ -55,6 +56,9 @@ else
--version)
version
;;
+ --en)
+ /usr/games/scummvm -p /usr/share/scummvm/lure-of-the-temptress/en lure
+ ;;
--de)
/usr/games/scummvm -p /usr/share/scummvm/lure-of-the-temptress/de lure
;;
diff --git a/debian/man/lure.6 b/debian/man/lure.6
index 98c91dd..5a1e3c2 100644
--- a/debian/man/lure.6
+++ b/debian/man/lure.6
@@ -33,6 +33,9 @@ Display help for the command
.B \-\-version
Display version and author information
.TP
+.B \-\-en
+Play the English version of Lure
+.TP
.B \-\-de
Play the German version of Lure
.TP
diff --git a/debian/man/lure.de.6 b/debian/man/lure.de.6
index 6a20d11..705defb 100644
--- a/debian/man/lure.de.6
+++ b/debian/man/lure.de.6
@@ -38,6 +38,9 @@ Zeige die Hilfe an und beende das Programm
.B \-\-version
Zeige Informationen über die Version und die Autoren an
.TP
+.B \-\-en
+Spiele die englische Version von Lure
+.TP
.B \-\-de
Spiele die deutsche Version von Lure
.TP
diff --git a/debian/man/lure.fr.6 b/debian/man/lure.fr.6
index 77bbd1a..5e67d80 100644
--- a/debian/man/lure.fr.6
+++ b/debian/man/lure.fr.6
@@ -40,6 +40,9 @@ Afficher l'aide pour cette commande
.B \-\-version
Affichier la version et les informations de copyright
.TP
+.B \-\-en
+Jouer au jeu en anglais
+.TP
.B \-\-de
Jouer au jeu en allemand
.TP
diff --git a/debian/po/de.po b/debian/po/de.po
index 09cceb0..eb0d196 100644
--- a/debian/po/de.po
+++ b/debian/po/de.po
@@ -39,6 +39,9 @@ msgstr "--help zeige diese Hilfe und beende das Programm"
msgid "--version display version information and exit"
msgstr "--version zeige die Version und beende das Programm"
+msgid "--en play the English version of Lure"
+msgstr "--en spiele die englische Version von Lure"
+
#: lure:15
#, sh-format
msgid "--de play the German version of Lure"
diff --git a/debian/po/fr.po b/debian/po/fr.po
index 8c14a59..bcf8426 100644
--- a/debian/po/fr.po
+++ b/debian/po/fr.po
@@ -39,6 +39,9 @@ msgstr "--help afficher ce message d'aide et terminer"
msgid "--version display version information and exit"
msgstr "--version afficher la version et terminer"
+msgid "--en play the English version of Lure"
+msgstr "--en jouer la version anglophone de Lure"
+
#: lure:15
#, sh-format
msgid "--de play the German version of Lure"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lure-of-the-temptress.git
More information about the Pkg-games-commits
mailing list