Fix untranslatable strings.
This commit is contained in:
parent
21cd3af92d
commit
2eb03be4a5
2 changed files with 4 additions and 5 deletions
|
@ -337,11 +337,10 @@ lobby::RESULT multiplayer_game_setup_dialog::process()
|
|||
return lobby::QUIT;
|
||||
|
||||
if(launch_game_->pressed() || maps_menu_->double_clicked()) {
|
||||
if(name_entry_->text() != "") {
|
||||
if (!name_entry_->text().empty())
|
||||
return lobby::CREATE;
|
||||
} else {
|
||||
gui::show_dialog(disp_,NULL,"","You must enter a name.",gui::OK_ONLY);
|
||||
}
|
||||
else
|
||||
gui::show_dialog(disp_, NULL, "", _("You must enter a name."), gui::OK_ONLY);
|
||||
}
|
||||
|
||||
events::raise_process_event();
|
||||
|
|
|
@ -156,7 +156,7 @@ RESULT enter(display& disp, config& game_data, const config& terrain_data, dialo
|
|||
|
||||
const bool games_available = dlg == NULL && options.empty() == false;
|
||||
if(!games_available) {
|
||||
options.push_back("<no games open>");
|
||||
options.push_back(_("<no games open>"));
|
||||
}
|
||||
|
||||
gui::menu games_menu(disp,options);
|
||||
|
|
Loading…
Add table
Reference in a new issue