[Scummvm-git-logs] scummvm master -> be1781ea402bc1ccb882700b6990744f45b86a55

sev- noreply at scummvm.org
Sun Dec 31 08:52:42 UTC 2023


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:
be1781ea40 GUI: Disable translations in the HelpDialog


Commit: be1781ea402bc1ccb882700b6990744f45b86a55
    https://github.com/scummvm/scummvm/commit/be1781ea402bc1ccb882700b6990744f45b86a55
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-12-31T09:51:36+01:00

Commit Message:
GUI: Disable translations in the HelpDialog

MacFonts have only ASCII, not even accented characters, making
all of the translation renderings broken.

Changed paths:
    gui/helpdialog.cpp


diff --git a/gui/helpdialog.cpp b/gui/helpdialog.cpp
index 294dae7f27c..3b5a2d957b4 100644
--- a/gui/helpdialog.cpp
+++ b/gui/helpdialog.cpp
@@ -130,7 +130,7 @@ _s(
 
 void HelpDialog::addTabs(const char * const *tabData) {
 	while (*tabData) {
-		Common::U32String tabName(_(*tabData++));
+		Common::U32String tabName(*tabData++);
 		const char *imagePack = nullptr;
 
 		if (*tabData && **tabData)
@@ -138,7 +138,7 @@ void HelpDialog::addTabs(const char * const *tabData) {
 
 		tabData++;
 
-		Common::U32String tabText(_(*tabData++));
+		Common::U32String tabText(*tabData++);
 
 		_tab->addTab(tabName, "HelpContentDialog", false);
 




More information about the Scummvm-git-logs mailing list