ui: Fix untranslated text in Rename Unit

Fixes #4569.
This commit is contained in:
Iris Morelle 2019-11-16 15:19:07 -03:00
parent 597ed24170
commit 393d412b0d
2 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@
### Language and i18n
* Updated translations: Chinese (Traditional), French, Portuguese (Brazil),
Russian
* Fix Rename Unit dialog having untranslated text (issue #4569).
### Terrains
* Add Stone Walls variation Catacombs (Xot) including some overlays
* Fixes and touchups to mushroom terrains Tb and Tf

View file

@ -661,8 +661,8 @@ void menu_handler::rename_unit()
}
std::string name = un->name();
const std::string title(N_("Rename Unit"));
const std::string label(N_("Name:"));
const std::string title(_("Rename Unit"));
const std::string label(_("Name:"));
if(gui2::dialogs::edit_text::execute(title, label, name)) {
resources::recorder->add_rename(name, un->get_location());