[Scummvm-git-logs] scummvm master -> 71ac9575a7a06e5595306e9fd80173b1b7e7e206

athrxx athrxx at scummvm.org
Mon Apr 29 21:46:30 CEST 2019


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:
71ac9575a7 KYRA: (EOB/Amiga) - mark error dialogs as translateable


Commit: 71ac9575a7a06e5595306e9fd80173b1b7e7e206
    https://github.com/scummvm/scummvm/commit/71ac9575a7a06e5595306e9fd80173b1b7e7e206
Author: athrxx (athrxx at scummvm.org)
Date: 2019-04-29T21:45:19+02:00

Commit Message:
KYRA: (EOB/Amiga) - mark error dialogs as translateable

Changed paths:
    engines/kyra/graphics/screen_eob.cpp


diff --git a/engines/kyra/graphics/screen_eob.cpp b/engines/kyra/graphics/screen_eob.cpp
index 0e55962..618f85f 100644
--- a/engines/kyra/graphics/screen_eob.cpp
+++ b/engines/kyra/graphics/screen_eob.cpp
@@ -2250,7 +2250,7 @@ void AmigaDOSFont::errorDialog(int index) {
 	// I've made rather elaborate dialogs here, since the Amiga font file handling is quite prone to cause problems for users.
 	// This will hopefully prevent unnecessary forum posts and bug reports.
 	if (index == 0) {
-		::GUI::displayErrorDialog(_s(
+		::GUI::displayErrorDialog(_(
 			"This AMIGA version requires the following font files:\n\nEOBF6.FONT\nEOBF6/6\nEOBF8.FONT\nEOBF8/8\n\n"
 			"If you used the orginal installer for the installation these files\nshould be located in the AmigaDOS system 'Fonts/' folder.\n"
 			"Please copy them into the EOB game data directory.\n"
@@ -2258,7 +2258,7 @@ void AmigaDOSFont::errorDialog(int index) {
 		
 		error("Failed to load font files.");
 	} else if (index == 1) {
-		::GUI::displayErrorDialog(_s(
+		::GUI::displayErrorDialog(_(
 			"This AMIGA version requires the following font files:\n\nEOBF6.FONT\nEOBF6/6\nEOBF8.FONT\nEOBF8/8\n\n"
 			"This is a localized (non-English) version of EOB II which uses language specific characters\n"
 			"contained only in the specific font files that came with your game. You cannot use the font\n"





More information about the Scummvm-git-logs mailing list