patch by Andrius Štikonas to add plural support for a string
This commit is contained in:
parent
6101e42337
commit
84a3a4843c
1 changed files with 3 additions and 1 deletions
|
@ -1762,7 +1762,9 @@ void game_controller::read_game_cfg(const preproc_map& defines, config& cfg, boo
|
|||
|
||||
if(error_campaigns.empty() == false) {
|
||||
std::stringstream msg;
|
||||
msg << _("The following add-on(s) had errors and could not be loaded:");
|
||||
msg << _n("The following add-on had errors and could not be loaded:",
|
||||
"The following add-ons had errors and could not be loaded:",
|
||||
error_campaigns.size());
|
||||
for(std::vector<std::string>::const_iterator i = error_campaigns.begin(); i != error_campaigns.end(); ++i) {
|
||||
msg << "\n" << *i;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue