gui2/unit_attack: Fix alignments being displayed in English

Part of issue #2732.

(cherry-picked from commit 7056ae014c)
This commit is contained in:
Iris Morelle 2018-03-25 04:17:46 -03:00
parent 02b6987158
commit 82f728abd0

View file

@ -446,7 +446,7 @@ void unit_preview_pane::set_displayed_unit(const unit& u)
std::string l_str = VGETTEXT("Lvl $lvl", {{"lvl", std::to_string(u.level())}});
str << l_str << "\n";
str << u.alignment() << "\n";
str << unit_type::alignment_description(u.alignment(), u.gender()) << "\n";
str << utils::join(u.trait_names(), ", ") << "\n";