patch by Andrius Štikonas to add plural support for a string

This commit is contained in:
Nils Kneuper 2008-03-16 18:43:28 +00:00
parent 6101e42337
commit 84a3a4843c

View file

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