[Scummvm-git-logs] scummvm master -> 4c1d2153a35e2fdcf947625370513a8a80a450c9

sev- noreply at scummvm.org
Thu Mar 24 13:46:08 UTC 2022


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

Summary:
4c1d2153a3 PRINCE: Add Spanish translation support. PR #3721


Commit: 4c1d2153a35e2fdcf947625370513a8a80a450c9
    https://github.com/scummvm/scummvm/commit/4c1d2153a35e2fdcf947625370513a8a80a450c9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-03-24T14:45:42+01:00

Commit Message:
PRINCE: Add Spanish translation support. PR #3721

After clearing up the miscommunication, the Spanish support is there.

Changed paths:
    engines/prince/detection.cpp
    engines/prince/option_text.h


diff --git a/engines/prince/detection.cpp b/engines/prince/detection.cpp
index 1a04de182ea..2cc2ad91cfa 100644
--- a/engines/prince/detection.cpp
+++ b/engines/prince/detection.cpp
@@ -36,8 +36,6 @@ static const DebugChannelDef debugFlagList[] = {
 	DEBUG_CHANNEL_END
 };
 
-static const char msg_fanTrans_unsupportiveTranslator[] = _s("The fan translator does not wish his translation to be incorporated into ScummVM.");
-
 namespace Prince {
 static const PrinceGameDescription gameDescriptions[] = {
 	{
@@ -129,13 +127,13 @@ static const PrinceGameDescription gameDescriptions[] = {
 	{
 		{
 			"prince",
-			msg_fanTrans_unsupportiveTranslator,
+			"w/translation",
 			AD_ENTRY3s("databank.ptc", "5fa03833177331214ec1354761b1d2ee", 3565031,
 					   "FONT1.RAW", "e80c50c8167d4d51c60d93e29bedb779", 27118,
 					   "prince_translation.dat", nullptr, -1),
 			Common::ES_ESP,
 			Common::kPlatformWindows,
-			ADGF_UNSUPPORTED | ADGF_DROPPLATFORM,
+			GF_TRANSLATED | ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NONE)
 		},
 		kPrinceDataDE
@@ -143,13 +141,13 @@ static const PrinceGameDescription gameDescriptions[] = {
 	{
 		{
 			"prince",
-			msg_fanTrans_unsupportiveTranslator,
+			"w/translation",
 			AD_ENTRY3s("databank.ptc", "48ec9806bda9d152acbea8ce31c93c49", 3435298,
 					   "FONT1.RAW", "e80c50c8167d4d51c60d93e29bedb779", 27118,
 					   "prince_translation.dat", nullptr, -1),
 			Common::ES_ESP,
 			Common::kPlatformWindows,
-			ADGF_UNSUPPORTED | ADGF_DROPPLATFORM,
+			GF_TRANSLATED | ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NONE)
 		},
 		kPrinceDataPL
diff --git a/engines/prince/option_text.h b/engines/prince/option_text.h
index eab426a17c3..940807ae63e 100644
--- a/engines/prince/option_text.h
+++ b/engines/prince/option_text.h
@@ -86,18 +86,18 @@ const char *invOptionsTextES[] = {
 	"Examinar",
 	"Usar",
 	"Abrir/Empujar",
-	"Cerrar/Tirar",
+	"Cerrar/Tirar de",
 	"Dar"
 };
 
 const char *optionsTextES[] = {
-	"Caminar a",
+	"Ir hacia",
 	"Examinar",
 	"Coger",
 	"Usar",
 	"Abrir/Empujar",
-	"Cerrar/Tirar",
-	"Hablar con"
+	"Cerrar/Tirar de",
+	"Hablar a"
 };
 
 // RU




More information about the Scummvm-git-logs mailing list