parent
772a7bbea2
commit
e31b8abe73
2 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
|||
### Language and i18n
|
||||
* Updated translations: Chinese (Simplified), Czech, French, Italian, Korean,
|
||||
Portuguese (Brazil), Russian
|
||||
* Fix Rename Unit dialog having untranslated text (issue #4569).
|
||||
### Lua API
|
||||
* wesnoth.deprecate_api was fixed to correctly wrap tables with metatables (issue #4079).
|
||||
### Music and sound effects
|
||||
|
|
|
@ -657,8 +657,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());
|
||||
|
|
Loading…
Add table
Reference in a new issue