[Scummvm-git-logs] scummvm master -> 84a9fbd212632de1a84dbc15d46d4f42a64f58ee
yuv422
noreply at scummvm.org
Fri Jan 10 20:57:06 UTC 2025
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:
b58bd9b73c DARKSEED: Added more localised text
84a9fbd212 DARKSEED: Added more localised text
Commit: b58bd9b73c74b16f1298abc8f3f96f8c2cc372fe
https://github.com/scummvm/scummvm/commit/b58bd9b73c74b16f1298abc8f3f96f8c2cc372fe
Author: Eric Fry (yuv422 at reversedgames.com)
Date: 2025-01-10T12:55:04-08:00
Commit Message:
DARKSEED: Added more localised text
Changed paths:
engines/darkseed/langtext.h
engines/darkseed/usecode.cpp
diff --git a/engines/darkseed/langtext.h b/engines/darkseed/langtext.h
index f1e60fa21ff..dba3f2c05c3 100644
--- a/engines/darkseed/langtext.h
+++ b/engines/darkseed/langtext.h
@@ -194,6 +194,34 @@ constexpr I18nText kI18N_YouHideTheObjectUnderThePillowText = {
"DU VERSTECKST %s UNTER DEM KISSEN."
};
+constexpr I18nText kI18N_DontPutTheObjectInTheTrunkText = {
+ "Don't put the %s in the trunk, you'll forget it.",
+ "NO PONGAS %s EN EL BAUL, TE OLVIDARAS.",
+ "NE METTEZ PAS %s DANS LE COFFRE, VOUS L'OUBLIEREZ.",
+ "WENN DU %s IN DEN TRUHE LEGST, VERGISST DU ES." // TODO check this is correct.
+};
+
+constexpr I18nText kI18N_TheCarWontStartWithTheText = {
+ "The car won't start with the %s.",
+ "EL COCHE NO SE PONDRA EN MARCHA CON %s.",
+ "LA VOITURE NE DEMARRERA PAS AVEC %s.",
+ "DAS AUTO SPRINGT NICHT AN MIT %s."
+};
+
+constexpr I18nText kI18N_IfYouPutTheObjectInTheTrunkText = {
+ "If you put the %s in the trunk, you'll forget it.",
+ "SI PONES %s EN EL BAUL, TE OLVIDARAS.",
+ "SI VOUS METTEZ %s DANS LE COFFRE, VOUS L'OUBLIEREZ.",
+ "WENN DU %s IN DEN TRUHE LEGST, VERGISST DU ES."
+};
+
+constexpr I18nText kI18N_TheObjectIsYoursYouHaventLostItText = {
+ "The %s is yours, you haven't lost it.",
+ "%s ES TUYA, NO LA HASA PERDIDO.",
+ "%s EST A VOUS, VOUS NE L'AVEZ PAS PERDUE.",
+ "%s GEHOERT DIR, DU HAST ES NICHT VERLOREN."
+};
+
constexpr I18nText kI18N_blankText = {
"",
"",
diff --git a/engines/darkseed/usecode.cpp b/engines/darkseed/usecode.cpp
index caae25f2463..2e8268696b2 100644
--- a/engines/darkseed/usecode.cpp
+++ b/engines/darkseed/usecode.cpp
@@ -1594,25 +1594,25 @@ void UseCode::genericResponse(int16 useObjNum, int16 targetObjNum, int16 tosIdx)
case 986:
_console->addTextLine(
Common::String::format(
- "Don't put the %s in the trunk, you'll forget it.",
+ getI18NText(kI18N_DontPutTheObjectInTheTrunkText),
_objectVar.getObjectName(useObjNum)));
break;
case 987:
_console->addTextLine(
Common::String::format(
- "The car won't start with the %s.",
+ getI18NText(kI18N_TheCarWontStartWithTheText),
_objectVar.getObjectName(useObjNum)));
break;
case 988:
_console->addTextLine(
Common::String::format(
- "If you put the %s in the trunk, you'll forget it.",
+ getI18NText(kI18N_IfYouPutTheObjectInTheTrunkText),
_objectVar.getObjectName(useObjNum)));
break;
case 989:
_console->addTextLine(
Common::String::format(
- "The %s is yours, you haven't lost it.",
+ getI18NText(kI18N_TheObjectIsYoursYouHaventLostItText),
_objectVar.getObjectName(useObjNum)));
break;
case 990:
Commit: 84a9fbd212632de1a84dbc15d46d4f42a64f58ee
https://github.com/scummvm/scummvm/commit/84a9fbd212632de1a84dbc15d46d4f42a64f58ee
Author: Eric Fry (yuv422 at reversedgames.com)
Date: 2025-01-10T12:55:04-08:00
Commit Message:
DARKSEED: Added more localised text
Changed paths:
engines/darkseed/langtext.h
engines/darkseed/usecode.cpp
diff --git a/engines/darkseed/langtext.h b/engines/darkseed/langtext.h
index dba3f2c05c3..47d8c63cfdd 100644
--- a/engines/darkseed/langtext.h
+++ b/engines/darkseed/langtext.h
@@ -222,6 +222,69 @@ constexpr I18nText kI18N_TheObjectIsYoursYouHaventLostItText = {
"%s GEHOERT DIR, DU HAST ES NICHT VERLOREN."
};
+constexpr I18nText kI18N_notAGoodPlaceToHideTheText = {
+ "Not a good place to hide the %s.",
+ "NO ES UN BUEN SITIO PARA OCULTAR %S.",
+ "VOUS NE POURREZ PAS CACHER %S.",
+ "KEIN GUTES VERSTECK FUER %S."
+};
+
+constexpr I18nText kI18N_youTryToPutTheObjectInsideButTheDoorWontOpenText = {
+ "You try to put the %s inside, but the door won't open",
+ "INTENTAS PONER %s DENTRO, PERO LA PUERTA NO SE ABRIRA.",
+ "VOUS ESSAYEZ DE METTRE %s A L'INTERIEUR, MAIS LA PORTE NE S'OUVRIRA PAS.",
+ "DU VERSUCHST, %s HINEINZUSTELLEN, ABER DIE TUER OEFFNET SICH NICHT."
+};
+
+constexpr I18nText kI18N_theKitchenIsNoPlaceToKeepTheText = {
+ "The kitchen is no place to keep the %s.",
+ "LA COCINA NO ES LUGAR PARA GUARDAR %s.",
+ "LA CUISINE NE CONVIENT PAS A %s.",
+ "DIE KUECHE IST KEIN PLATZ FUER %s."
+};
+
+constexpr I18nText kI18N_youllForgetTheObjectHereText = {
+ "You'll forget the %s here.",
+ "OLIVIDARAS %s AQUI.",
+ "VOUS OUBLIEREZ %s ICI.",
+ "DU WIRST NOCH %s HIER VERGESSEN."
+};
+
+constexpr I18nText kI18N_youdRatherHaveTheObjectWithYouText = {
+ "You'd rather have the %s with you.",
+ "SERIA MEJOR TENER %s CONTIGO.",
+ "IL VAUDRAIT MIEUX AVOIR %s SUR VOUS.",
+ "DU HAETTEST LIEBER %s BEI DIR."
+};
+
+constexpr I18nText kI18N_theObjectHasNoEffectText = {
+ "The %s has no effect.",
+ "%s NO TIENE EFECTO.",
+ "%s N'A AUCUN EFFET.",
+ "%s BEWIRKT NICHTS."
+};
+
+constexpr I18nText kI18N_thisIsNotAGoodPlaceForTheText = {
+ "This is not a good place for the %s.",
+ "NO ES UN BUEN SITIO PARA %s.",
+ "CE N'EST PAS UN BON ENDROIT POUR %s.",
+ "DAS IST KEIN GUTER PLATZ FUER %s."
+};
+
+constexpr I18nText kI18N_youSeeAReflectionOfTheText = {
+ "You see a reflection of the %s.",
+ "VES UN REFLEJO DE %s.",
+ "VOUS VOYEZ UN REFLET REPRESENTANT %s.",
+ "DU SIEHST EIN SPIEGELBILD VON %s."
+};
+
+constexpr I18nText kI18N_youDontWantToLeaveTheObjectUnderTheBedText = {
+ "You don't want to leave the %s under the bed.",
+ "NO QUIERES DEJAR %s DEBAJO DE LA CAMA.",
+ "POURQUOI LAISSERIEZ-VOUS %s SOUS LE LIT?",
+ "DU WILLST %s NICHT UNTER DEM BETT LASSEN."
+};
+
constexpr I18nText kI18N_blankText = {
"",
"",
diff --git a/engines/darkseed/usecode.cpp b/engines/darkseed/usecode.cpp
index 2e8268696b2..da2858907e8 100644
--- a/engines/darkseed/usecode.cpp
+++ b/engines/darkseed/usecode.cpp
@@ -1618,55 +1618,55 @@ void UseCode::genericResponse(int16 useObjNum, int16 targetObjNum, int16 tosIdx)
case 990:
_console->addTextLine(
Common::String::format(
- "Not a good place to hide the %s.",
+ getI18NText(kI18N_notAGoodPlaceToHideTheText),
_objectVar.getObjectName(useObjNum)));
break;
case 991:
_console->addTextLine(
Common::String::format(
- "You try to put the %s inside, but the door won't open",
+ getI18NText(kI18N_youTryToPutTheObjectInsideButTheDoorWontOpenText),
_objectVar.getObjectName(useObjNum)));
break;
case 992:
_console->addTextLine(
Common::String::format(
- "The kitchen is no place to keep the %s.",
+ getI18NText(kI18N_theKitchenIsNoPlaceToKeepTheText),
_objectVar.getObjectName(useObjNum)));
break;
case 993:
_console->addTextLine(
Common::String::format(
- "You'll forget the %s here.",
+ getI18NText(kI18N_youllForgetTheObjectHereText),
_objectVar.getObjectName(useObjNum)));
break;
case 994:
_console->addTextLine(
Common::String::format(
- "You'd rather have the %s with you.",
+ getI18NText(kI18N_youdRatherHaveTheObjectWithYouText),
_objectVar.getObjectName(useObjNum)));
break;
case 995:
_console->addTextLine(
Common::String::format(
- "The %s has no effect.",
+ getI18NText(kI18N_theObjectHasNoEffectText),
_objectVar.getObjectName(useObjNum)));
break;
case 996:
_console->addTextLine(
Common::String::format(
- "This is not a good place for the %s.",
+ getI18NText(kI18N_thisIsNotAGoodPlaceForTheText),
_objectVar.getObjectName(useObjNum)));
break;
case 997:
_console->addTextLine(
Common::String::format(
- "You see a reflection of the %s.",
+ getI18NText(kI18N_youSeeAReflectionOfTheText),
_objectVar.getObjectName(useObjNum)));
break;
case 998:
_console->addTextLine(
Common::String::format(
- "You don't want to leave the %s under the bed.",
+ getI18NText(kI18N_youDontWantToLeaveTheObjectUnderTheBedText),
_objectVar.getObjectName(useObjNum)));
break;
case 999:
More information about the Scummvm-git-logs
mailing list