Package: beneath-a-steel-sky Version: 0.0372-5 Severity: normal Tags: patch
Hi, The datafiles already include french/german/italian/spanish texts, but these need to be picked manualy on the command line or through scummvm launcher. Here is a patch that enable language autodetection. Alexandre Detiste Same bug: https://bugs.launchpad.net/ubuntu/+source/scummvm/+bug/393947 -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.19.0-trunk-amd64 (SMP w/6 CPU cores) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages beneath-a-steel-sky depends on: ii scummvm 1.7.0+dfsg-2 beneath-a-steel-sky recommends no packages. beneath-a-steel-sky suggests no packages. -- no debconf information
diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/beneath-a-steel-sky.desktop beneath-a-steel-sky-0.0372/debian/beneath-a-steel-sky.desktop --- beneath-a-steel-sky-0.0372_dget/debian/beneath-a-steel-sky.desktop 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/beneath-a-steel-sky.desktop 2015-06-06 16:35:02.533132963 +0200 @@ -5,7 +5,7 @@ Comment=A science-fiction adventure game set in a bleak post-apocalyptic vision of the future Comment[de]= Ein Science-Fiction-Abenteuerspiel angesiedelt in einer düsteren, postapokalyptischen Vision der Zukunft Type=Application -Exec=/usr/games/scummvm -p /usr/share/scummvm/beneath-a-steel-sky sky +Exec=/usr/games/sky Icon=beneath-a-steel-sky Categories=AdventureGame;Game;RolePlaying; Keywords=adventure;game;roleplaying;cyberpunk; diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/beneath-a-steel-sky.lintian-overrides beneath-a-steel-sky-0.0372/debian/beneath-a-steel-sky.lintian-overrides --- beneath-a-steel-sky-0.0372_dget/debian/beneath-a-steel-sky.lintian-overrides 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/beneath-a-steel-sky.lintian-overrides 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -# BASS is a content package and is launched by ScummVM -beneath-a-steel-sky: menu-command-not-in-package usr/share/menu/beneath-a-steel-sky:6 usr/games/scummvm -beneath-a-steel-sky: desktop-command-not-in-package usr/share/applications/beneath-a-steel-sky.desktop usr/games/scummvm diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/beneath-a-steel-sky.menu beneath-a-steel-sky-0.0372/debian/beneath-a-steel-sky.menu --- beneath-a-steel-sky-0.0372_dget/debian/beneath-a-steel-sky.menu 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/beneath-a-steel-sky.menu 2015-06-06 18:39:48.674766683 +0200 @@ -3,4 +3,4 @@ title="Beneath A Steel Sky" \ longtitle="Beneath A Steel Sky - a science fiction adventure game" \ icon="/usr/share/pixmaps/beneath-a-steel-sky.xpm" \ - command="/usr/games/scummvm -p /usr/share/scummvm/beneath-a-steel-sky sky" + command="/usr/games/sky" diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/po/de.po beneath-a-steel-sky-0.0372/debian/po/de.po --- beneath-a-steel-sky-0.0372_dget/debian/po/de.po 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/po/de.po 2015-06-06 18:43:58.640283296 +0200 @@ -10,6 +10,7 @@ "PO-Revision-Date: 2013-02-14 01:10+0100\n" "Last-Translator: Markus Koschany <a...@gambaru.de>\n" "Language-Team: Debian Games Team\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -30,6 +31,22 @@ msgid "--version display version information and exit" msgstr "--version zeige Informationen zur Version und beende das Programm" +msgid "--en play the English version" +msgstr "--en Spiele die englische Version" + +msgid "--de play the German version" +msgstr "--de Spiele die deutsche Version" + +msgid "--fr play the French version" +msgstr "--fr Spiele die französische Version" + +msgid "--it play the Italian version" +msgstr "--it Spiele die italienische Version" + +msgid "--es play the Spanish version" +msgstr "--es Spiele die spanische Version" + + #: debian/sky:18 msgid "Beneath a Steel Sky v0.0372" msgstr "Beneath a Steel Sky v0.0372" diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/po/fr.po beneath-a-steel-sky-0.0372/debian/po/fr.po --- beneath-a-steel-sky-0.0372_dget/debian/po/fr.po 1970-01-01 01:00:00.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/po/fr.po 2015-06-06 18:36:06.105307852 +0200 @@ -0,0 +1,61 @@ +# Deutsche Übersetzung des Pakets beneath-a-steel-sky +# This file is put in the public domain. +# Markus Koschany <a...@gambaru.de>. +# +msgid "" +msgstr "" +"Project-Id-Version: Beneath a Steel Sky 0.0372\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-02-02 15:05+0200\n" +"PO-Revision-Date: 2015-06-06 18:32+0200\n" +"Last-Translator: Alexandre Detiste <alexan...@detiste.be>\n" +"Language-Team: Debian Games Team\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: debian/sky:9 +msgid "Usage: sky [OPTION]" +msgstr "Utilisation: sky [OPTION]" + +#: debian/sky:10 +msgid "Start Beneath a Steel Sky" +msgstr "Démarrer Beneath a Steel Sky" + +#: debian/sky:12 +msgid "--help display this help and exit" +msgstr "--help afficher ce message d'aide et terminer" + +#: debian/sky:13 +msgid "--version display version information and exit" +msgstr "--version afficher la version et terminer" + +msgid "--en play the English version" +msgstr "--en jouer la version anglophone" + +msgid "--de play the German version" +msgstr "--de jouer la version germanophone" + +msgid "--fr play the French version" +msgstr "--fr jouer la version francophone" + +msgid "--it play the Italian version" +msgstr "--it jouer la version italophone" + +msgid "--es play the Spanish version" +msgstr "--es jouer la version hispanophone" + + +#: debian/sky:18 +msgid "Beneath a Steel Sky v0.0372" +msgstr "Beneath a Steel Sky v0.0372" + +#: debian/sky:19 +msgid "Copyright (C) Revolution Software Ltd." +msgstr "Copyright (C) Revolution Software Ltd." + +#: debian/sky:20 +msgid "ScummVM engine Copyright (C) The ScummVM Team" +msgstr "ScummVM engine Copyright (C) The ScummVM Team" + diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/po/sv.po beneath-a-steel-sky-0.0372/debian/po/sv.po --- beneath-a-steel-sky-0.0372_dget/debian/po/sv.po 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/po/sv.po 2015-06-06 18:44:12.743937095 +0200 @@ -11,6 +11,7 @@ "PO-Revision-Date: 2006-02-02 15:08+0200\n" "Last-Translator: David Weinehall <t...@debian.org>\n" "Language-Team: Swedish <s...@li.org>\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/rules beneath-a-steel-sky-0.0372/debian/rules --- beneath-a-steel-sky-0.0372_dget/debian/rules 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/rules 2015-06-06 18:43:01.881695090 +0200 @@ -1,6 +1,6 @@ #! /usr/bin/make -f -LINGUAS = de sv +LINGUAS = de sv fr package = beneath-a-steel-sky podir = $(CURDIR)/debian/po localedir = /usr/share/locale diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/sky beneath-a-steel-sky-0.0372/debian/sky --- beneath-a-steel-sky-0.0372_dget/debian/sky 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/sky 2015-06-06 16:32:27.608921669 +0200 @@ -15,6 +15,11 @@ echo $gettext "--help display this help and exit" $gettext "--version display version information and exit" + $gettext "--en play the English version" + $gettext "--de play the German version" + $gettext "--fr play the French version" + $gettext "--it play the Italian version" + $gettext "--es play the Spanish version" } version() @@ -28,7 +33,24 @@ usage exit 1 elif [ "$#" -lt "1" ]; then - /usr/games/scummvm -p /usr/share/scummvm/beneath-a-steel-sky sky + GAME_LANG=$( + echo $LANGUAGE $LANG en | tr ': ' '\n' | cut -c1-2 | while read lang; + do + if [ "$lang" = "en" \ + -o "$lang" = "de" \ + -o "$lang" = "fr" \ + -o "$lang" = "it" \ + -o "$lang" = "es" ]; then + echo $lang + return + fi + done + ) + if [ "$GAME_LANG" = "en" ]; then + /usr/games/scummvm -p /usr/share/scummvm/beneath-a-steel-sky sky + else + /usr/games/scummvm -q $GAME_LANG -p /usr/share/scummvm/beneath-a-steel-sky sky + fi else case "$1" in --help) @@ -37,6 +59,21 @@ --version) version ;; + --en) + /usr/games/scummvm -p /usr/share/scummvm/beneath-a-steel-sky sky + ;; + --de) + /usr/games/scummvm -q de -p /usr/share/scummvm/beneath-a-steel-sky sky + ;; + --fr) + /usr/games/scummvm -q fr -p /usr/share/scummvm/beneath-a-steel-sky sky + ;; + --it) + /usr/games/scummvm -q it -p /usr/share/scummvm/beneath-a-steel-sky sky + ;; + --es) + /usr/games/scummvm -q es -p /usr/share/scummvm/beneath-a-steel-sky sky + ;; *) usage exit 1 diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/sky.6 beneath-a-steel-sky-0.0372/debian/sky.6 --- beneath-a-steel-sky-0.0372_dget/debian/sky.6 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/sky.6 2015-06-06 16:36:14.555376217 +0200 @@ -31,6 +31,21 @@ .TP .B \-\-version Display version and author information +.TP +.B \-\-en +Play the English version +.TP +.B \-\-de +Play the German version +.TP +.B \-\-fr +Play the French version +.TP +.B \-\-it +Play the Italian version +.TP +.B \-\-es +Play the Spanish version .SH HISTORY Jul 10 2004: First version of this manual page. diff -N -u -r beneath-a-steel-sky-0.0372_dget/debian/sky.de.6 beneath-a-steel-sky-0.0372/debian/sky.de.6 --- beneath-a-steel-sky-0.0372_dget/debian/sky.de.6 2013-02-17 04:10:23.000000000 +0100 +++ beneath-a-steel-sky-0.0372/debian/sky.de.6 2015-06-06 16:37:04.254165388 +0200 @@ -33,3 +33,19 @@ .TP .B \-\-version Zeige Informationen zur Version und den Autoren +.TP +.B \-\-en +Spiele die englische Version +.TP +.B \-\-de +Spiele die deutsche Version +.TP +.B \-\-fr +Spiele die französische Version +.TP +.B \-\-it +Spiele die italienische Version +.TP +.B \-\-es +Spiele die spanische Version +