mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 14:25:36 +00:00
Mark strings introduced during a string freeze as translatable
This commit is contained in:
parent
e742a7eb30
commit
cf10b9eaaf
@ -1005,7 +1005,7 @@ std::string default_generate_map(size_t width, size_t height, size_t island_size
|
||||
if(best_ranking == 0) {
|
||||
//FIXME: Make this error message translatable (not possible atm due to string freeze)
|
||||
ERR_NG << "No castle location found, aborting.\n";
|
||||
std::string error = "No valid castle location found. Too many or too few mountain hexes? (please check the 'max hill size' parameter)";
|
||||
std::string error = _("No valid castle location found. Too many or too few mountain hexes? (please check the 'max hill size' parameter)");
|
||||
throw mapgen_exception(error);
|
||||
}
|
||||
assert(std::find(castles.begin(), castles.end(), best_loc) == castles.end());
|
||||
|
Loading…
x
Reference in New Issue
Block a user