[Scummvm-git-logs] scummvm master -> 83fd89d46109748c4f7b5835ccebe6cde74d95eb

sev- noreply at scummvm.org
Sat Apr 29 11:26:57 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:
83fd89d461 GUI: Correct some grammar in the cloud connection wizard


Commit: 83fd89d46109748c4f7b5835ccebe6cde74d95eb
    https://github.com/scummvm/scummvm/commit/83fd89d46109748c4f7b5835ccebe6cde74d95eb
Author: eientei (einstein95 at users.noreply.github.com)
Date: 2023-04-29T13:26:54+02:00

Commit Message:
GUI: Correct some grammar in the cloud connection wizard

Changed paths:
    gui/cloudconnectionwizard.cpp


diff --git a/gui/cloudconnectionwizard.cpp b/gui/cloudconnectionwizard.cpp
index bd66a656e0b..93a7ea2a8f4 100644
--- a/gui/cloudconnectionwizard.cpp
+++ b/gui/cloudconnectionwizard.cpp
@@ -180,9 +180,9 @@ void CloudConnectionWizard::showStepModeSelect() {
 	_manualModeButton = new ButtonWidget(_container, "ConnectionWizard_ModeSelect.ManualModeButton", _("Manual mode"), Common::U32String(), kCloudConnectionWizardManualModeButtonCmd);
 
 #ifdef USE_SDL_NET
-	_quickModeLabel = new StaticTextWidget(_container, "ConnectionWizard_ModeSelect.QuickModeHint", _("Will ask you to run Local Webserver"));
+	_quickModeLabel = new StaticTextWidget(_container, "ConnectionWizard_ModeSelect.QuickModeHint", _("Will ask you to run the Local Webserver"));
 #else
-	_quickModeLabel = new StaticTextWidget(_container, "ConnectionWizard_ModeSelect.QuickModeHint", _("Requires Local Webserver feature"), Common::U32String(), ThemeEngine::kFontStyleNormal);
+	_quickModeLabel = new StaticTextWidget(_container, "ConnectionWizard_ModeSelect.QuickModeHint", _("Requires the Local Webserver feature"), Common::U32String(), ThemeEngine::kFontStyleNormal);
 	_quickModeLabel->setEnabled(false);
 	_quickModeButton->setEnabled(false);
 #endif // USE_SDL_NET
@@ -203,8 +203,8 @@ void CloudConnectionWizard::showStepQuickMode1() {
 	showBackButton();
 	showNextButton();
 
-	Common::U32StringTokenizer tok(_("In this mode, Local Webserver must be running,\n"
-									 "so your browser could forward data to ScummVM"), "\n");
+	Common::U32StringTokenizer tok(_("In this mode, the Local Webserver must be running,\n"
+									 "so your browser can forward data to ScummVM"), "\n");
 
 	Common::U32StringArray labels = tok.split();
 
@@ -296,7 +296,7 @@ void CloudConnectionWizard::showStepQuickModeSuccess() {
 	showContainer("ConnectionWizard_Success");
 	_closeButton->setVisible(false);
 
-	_label0 = new StaticTextWidget(_container, "ConnectionWizard_Success.Line1", _("You cloud storage has been connected!"));
+	_label0 = new StaticTextWidget(_container, "ConnectionWizard_Success.Line1", _("Your cloud storage has been connected!"));
 	_button0 = new ButtonWidget(this, "GlobalOptions_Cloud_ConnectionWizard.FinishButton", _("Finish"), Common::U32String(), kCloseCmd);
 }
 
@@ -318,8 +318,8 @@ void CloudConnectionWizard::showStepManualMode1() {
 	_label0 = new StaticTextWidget(_container, "ConnectionWizard_ManualModeStep1.Line1", _("Open this link in your browser:"));
 	_button0 = new ButtonWidget(_container, "ConnectionWizard_ManualModeStep1.OpenLinkButton", Common::U32String("https://cloud.scummvm.org/"), _("Open URL"), kCloudConnectionWizardOpenUrlStorageCmd);
 
-	Common::U32StringTokenizer tok(_("When it fails to pass JSON code to ScummVM,\n"
-									 "find it on Troubleshooting section of the page,\n"
+	Common::U32StringTokenizer tok(_("When it fails to pass the JSON code to ScummVM,\n"
+									 "find it on the Troubleshooting section of the page,\n"
 									 "and go to the next step here."), "\n");
 
 	Common::U32StringArray labels = tok.split();
@@ -352,7 +352,7 @@ void CloudConnectionWizard::showStepManualMode2() {
 	showBackButton();
 	showNextButton();
 
-	_label0 = new StaticTextWidget(_container, "ConnectionWizard_ManualModeStep2.Line1", _("Copy JSON code from browser here and press Next:"));
+	_label0 = new StaticTextWidget(_container, "ConnectionWizard_ManualModeStep2.Line1", _("Copy the JSON code from the browser here and press Next:"));
 	_codeBox = new EditTextWidget(_container, "ConnectionWizard_ManualModeStep2.CodeBox", Common::U32String(), Common::U32String(), 0, 0, ThemeEngine::kFontStyleConsole);
 	_button0 = new ButtonWidget(_container, "ConnectionWizard_ManualModeStep2.PasteButton", _("Paste"), _("Paste code from clipboard"), kCloudConnectionWizardPasteCodeCmd);
 	_label1 = new StaticTextWidget(_container, "ConnectionWizard_ManualModeStep2.Line2", Common::U32String());
@@ -375,8 +375,8 @@ void CloudConnectionWizard::showStepManualModeFailure() {
 	showBackButton();
 
 	_label0 = new StaticTextWidget(_container, "ConnectionWizard_Failure.Line1", _("Cloud storage was not connected."));
-	_label1 = new StaticTextWidget(_container, "ConnectionWizard_Failure.Line2", _("Make sure JSON code was copied correctly and retry."));
-	_label2 = new StaticTextWidget(_container, "ConnectionWizard_Failure.Line3", _("It it doesn't work, try from the beginning."));
+	_label1 = new StaticTextWidget(_container, "ConnectionWizard_Failure.Line2", _("Make sure the JSON code was copied correctly and retry."));
+	_label2 = new StaticTextWidget(_container, "ConnectionWizard_Failure.Line3", _("It it doesn't work, try again from the beginning."));
 	_label3 = new StaticTextWidget(_container, "ConnectionWizard_Failure.Line4", _("Error message: ") + _errorMessage, Common::U32String(), ThemeEngine::kFontStyleNormal);
 	_label3->setEnabled(false);
 }
@@ -490,7 +490,7 @@ void CloudConnectionWizard::manualModeConnect() {
 	if (CloudMan.isWorking()) {
 		bool cancel = true;
 
-		MessageDialog alert(_("Another Storage is working now. Do you want to interrupt it?"), _("Yes"), _("No"));
+		MessageDialog alert(_("Another Storage is working right now. Do you want to interrupt it?"), _("Yes"), _("No"));
 		if (alert.runModal() == GUI::kMessageOK) {
 			if (CloudMan.isDownloading())
 				CloudMan.cancelDownload();
@@ -499,7 +499,7 @@ void CloudConnectionWizard::manualModeConnect() {
 
 			// I believe it still would return `true` here, but just in case
 			if (CloudMan.isWorking()) {
-				MessageDialog alert2(_("Wait until current Storage finishes up and try again."));
+				MessageDialog alert2(_("Wait until current Storage finishes and try again."));
 				alert2.runModal();
 			} else {
 				cancel = false;
@@ -527,7 +527,7 @@ void CloudConnectionWizard::manualModeConnect() {
 		delete callback;
 		if (_label1)
 			// I18N: JSON is name of the format, this message is displayed if user entered something incorrect to the text field
-			_label1->setLabel(_("JSON code contents is malformed."));
+			_label1->setLabel(_("JSON code contents are malformed."));
 		return;
 	}
 




More information about the Scummvm-git-logs mailing list