SCUMM HE: Comments for translators.

This commit is contained in:
Little Cat 2023-04-06 07:24:48 -03:00 committed by Eugene Sandulenko
parent f66f3b4a08
commit 9de54e524a
3 changed files with 6 additions and 1 deletions

View File

@ -33,15 +33,19 @@ enum {
CreateSessionDialog::CreateSessionDialog() : Dialog("CreateSession") {
// I18N: Creates new online session for multiplayer
new GUI::StaticTextWidget(this, "CreateSession.CreateSessionTitle", _("Create a new game session"));
// I18N: Name of the online game session
new GUI::StaticTextWidget(this, "CreateSession.SessionNameLabel", _("Game Name:"));
_sessionName = new GUI::EditTextWidget(this, "CreateSession.SessionName", ConfMan.get("game_session_name"));
// I18N: The user's name for online
new GUI::StaticTextWidget(this, "CreateSession.PlayerNameLabel", _("Your Name:"));
_playerName = new GUI::EditTextWidget(this, "CreateSession.PlayerName", ConfMan.get("network_player_name"));
new GUI::ButtonWidget(this, "CreateSession.Cancel", _("Cancel"), Common::U32String(), kCancelCmd, Common::ASCII_ESCAPE);
// I18N: Button, start hosting online multiplayer game
new GUI::ButtonWidget(this, "CreateSession.Host", _("Host"), Common::U32String(), kHostCmd, Common::ASCII_RETURN);
}

View File

@ -56,6 +56,7 @@ SessionSelectorDialog::SessionSelectorDialog(Scumm::ScummEngine_v90he *vm)
_list->setEditable(false);
_list->setNumberingMode(GUI::kListNumberingOff);
// I18N: The user's name for online
new GUI::StaticTextWidget(this, "SessionSelector.PlayerNameLabel", _("Your Name:"));
_playerName = new GUI::EditTextWidget(this, "SessionSelector.PlayerName", ConfMan.get("network_player_name"));

View File

@ -3496,7 +3496,7 @@ int ScummEngine_v90he::networkSessionDialog() {
GUI::MessageDialog dialog(_("Would you like to host or join a network play session?"), _("Host"), _("Join"));
int res = runDialog(dialog);
if (res == GUI::kMessageOK) {
// Hosting session.
// Hosting a session.
CreateSessionDialog createDialog;
if (runDialog(createDialog)) {
return -1;