Skip to content

Commit

Permalink
editor: Fix some strings being untranslated (#3303)
Browse files Browse the repository at this point in the history
  • Loading branch information
jostephd committed Oct 16, 2019
1 parent 6f032f7 commit 9f08efe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/editor/action/mouse/mouse_action_unit.cpp
Expand Up @@ -59,12 +59,12 @@ void mouse_action_unit::move(editor_display& disp, const map_location& hex)
rect.h = disp.hex_size();
rect.w = disp.hex_size();
std::stringstream str;
str << N_("Identifier: ") << unit_it->id() << "\n"
<< N_("Name: ") << unit_it->name() << "\n"
<< N_("Type: ") << unit_it->type_name() << "\n"
<< N_("Level: ") << unit_it->level() << "\n"
<< N_("Cost: ") << unit_it->cost() << "\n"
<< N_("Recruit: ") << utils::join(unit_it->recruits()) << "\n";
str << _("Identifier: ") << unit_it->id() << "\n"
<< _("Name: ") << unit_it->name() << "\n"
<< _("Type: ") << unit_it->type_name() << "\n"
<< _("Level: ") << unit_it->level() << "\n"
<< _("Cost: ") << unit_it->cost() << "\n"
<< _("Recruit: ") << utils::join(unit_it->recruits()) << "\n";
tooltips::clear_tooltips();
tooltips::add_tooltip(rect, str.str());
}
Expand Down

0 comments on commit 9f08efe

Please sign in to comment.