[Scummvm-cvs-logs] scummvm master -> 50136f43c7de4889444d9de19ff5d99f2cc04bf7

criezy criezy at scummvm.org
Sun Jul 1 02:04:44 CEST 2012


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c19df60092 I18N: Update German translation
50136f43c7 COMMON: Expand a bit the KeyState documentation


Commit: c19df60092bac7fde7e492dbf9b5002a17f935c8
    https://github.com/scummvm/scummvm/commit/c19df60092bac7fde7e492dbf9b5002a17f935c8
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2012-06-30T16:40:07-07:00

Commit Message:
I18N: Update German translation

One of the string was left untranslated in the last update. This adds
the translation for that string (provided by Lightkey).

Changed paths:
    gui/themes/translations.dat
    po/de_DE.po



diff --git a/gui/themes/translations.dat b/gui/themes/translations.dat
index c2e8339..4812633 100644
Binary files a/gui/themes/translations.dat and b/gui/themes/translations.dat differ
diff --git a/po/de_DE.po b/po/de_DE.po
index 3d9a0ca..d68dcb2 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -931,6 +931,8 @@ msgid ""
 "The theme you selected does not support your current language. If you want "
 "to use this theme you need to switch to another language first."
 msgstr ""
+"Das ausgewählte Thema unterstützt nicht die aktuelle Sprache. Wenn Sie dieses "
+"Thema benutzen wollen, müssen Sie erst zu einer anderen Sprache wechseln."
 
 #: gui/saveload.cpp:59 gui/saveload.cpp:257
 msgid "No date saved"


Commit: 50136f43c7de4889444d9de19ff5d99f2cc04bf7
    https://github.com/scummvm/scummvm/commit/50136f43c7de4889444d9de19ff5d99f2cc04bf7
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2012-06-30T17:03:49-07:00

Commit Message:
COMMON: Expand a bit the KeyState documentation

This follows a bug that was found in the Lure engine where keycode
was used in a place where it should have used ascii.

Changed paths:
    common/keyboard.h



diff --git a/common/keyboard.h b/common/keyboard.h
index e6db086..f9e94e6 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -248,7 +248,10 @@ struct KeyState {
 	 * ASCII-value of the pressed key (if any).
 	 * This depends on modifiers, i.e. pressing the 'A' key results in
 	 * different values here depending on the status of shift, alt and
-	 * caps lock.
+	 * caps lock. This should be used rather than keycode for text input
+	 * to avoid keyboard layout issues. For example you cannot assume that
+	 * KEYCODE_0 without a modifier will be '0' (on AZERTY keyboards it is
+	*  not).
 	 */
 	uint16 ascii;
 






More information about the Scummvm-git-logs mailing list