Fix untranslatable strings.

This commit is contained in:
Guillaume Melquiond 2004-12-19 21:24:16 +00:00
parent 21cd3af92d
commit 2eb03be4a5
2 changed files with 4 additions and 5 deletions

View file

@ -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();

View file

@ -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);