Skip to content

Commit

Permalink
gui2/unit_recall: Fix i18n issues
Browse files Browse the repository at this point in the history
The original commit adding the Rename Unit button marked two strings in
the C++ source for extraction without making them translatable.

(cherry-picked from commit bb86afc)
  • Loading branch information
irydacea committed Oct 7, 2018
1 parent cb4c530 commit 1e58fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/unit_recall.cpp
Expand Up @@ -251,8 +251,8 @@ void unit_recall::rename_unit(window& window)
unit& selected_unit = const_cast<unit&>(*recall_list_[index].get());

std::string name = selected_unit.name();
const std::string dialog_title(N_("Rename Unit"));
const std::string dialog_label(N_("Name:"));
const std::string dialog_title(_("Rename Unit"));
const std::string dialog_label(_("Name:"));

if(gui2::dialogs::edit_text::execute(dialog_title, dialog_label, name)) {
selected_unit.rename(name);
Expand Down

0 comments on commit 1e58fc5

Please sign in to comment.