[Scummvm-git-logs] scummvm master -> 04fb5e5aab96b34412436950d349ab294b30d697
sdelamarre
noreply at scummvm.org
Wed May 28 22:02:34 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
04fb5e5aab GOB: Fix Italian translation strings in Adibou2
Commit: 04fb5e5aab96b34412436950d349ab294b30d697
https://github.com/scummvm/scummvm/commit/04fb5e5aab96b34412436950d349ab294b30d697
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2025-05-28T23:56:25+02:00
Commit Message:
GOB: Fix Italian translation strings in Adibou2
Its localization files strangely use the same suffix as German instead of
a specific one.
Changed paths:
engines/gob/resources.cpp
diff --git a/engines/gob/resources.cpp b/engines/gob/resources.cpp
index 89a73e0c980..f356e948131 100644
--- a/engines/gob/resources.cpp
+++ b/engines/gob/resources.cpp
@@ -520,6 +520,15 @@ byte *Resources::loadTOTLocTexts(const Common::String &fileBase, int32 &size) {
}
+ // The .ALL suffix, normally for German, is also used for Italian in Adibou2
+ if (_vm->getGameType() == kGameTypeAdibou2) {
+ if (_vm->_global->_languageWanted == kLanguageItalian) {
+ locTextFile = getLocTextFile(fileBase, kLanguageGerman);
+ if (!locTextFile.empty())
+ _vm->_global->_language = kLanguageItalian;
+ }
+ }
+
if (locTextFile.empty()) {
// Looking for the first existing language
for (int i = 0; i < 10; i++) {
More information about the Scummvm-git-logs
mailing list