Skip to content

Commit

Permalink
Fixup improper plural in a166348
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Aug 12, 2017
1 parent 0fecb69 commit f83dcfb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/reports.cpp
Expand Up @@ -965,8 +965,7 @@ static config unit_weapons(reports::context & rc, const unit *u)
if ((u != nullptr) && (!u->attacks().empty())) {
map_location displayed_unit_hex = rc.screen().displayed_unit_hex();

const std::string attack_headline =
( u->attacks().size() > 1 ) ? N_("Attacks") : N_("Attack");
const std::string attack_headline = _n("Attack", "Attacks", u->attacks().size());

add_text(res, span_color(font::weapon_details_color)
+ attack_headline + "</span>" + '\n', "");
Expand Down

0 comments on commit f83dcfb

Please sign in to comment.