mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 20:16:04 +00:00
gui2/unit_recall: Fix i18n issues
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 bb86afcb728feef091d17a3156f1873f49fe8da7)
This commit is contained in:
parent
cb4c5301ad
commit
1e58fc5d1a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user