mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 15:12:23 +01:00
Rename "Delete map" to "Delete world"
This commit is contained in:
parent
618314985d
commit
a72dc388c3
@ -317,12 +317,12 @@ void GUIMainMenu::regenerateGui(v2u32 screensize)
|
|||||||
Environment->addCheckBox(enable_damage, rect, this, GUI_ID_DAMAGE_CB,
|
Environment->addCheckBox(enable_damage, rect, this, GUI_ID_DAMAGE_CB,
|
||||||
wgettext("Enable Damage"));
|
wgettext("Enable Damage"));
|
||||||
}
|
}
|
||||||
// Map delete button
|
// Delete world button
|
||||||
{
|
{
|
||||||
core::rect<s32> rect(0, 0, 130, 30);
|
core::rect<s32> rect(0, 0, 130, 30);
|
||||||
rect += topleft_server + v2s32(20+250+20, 90);
|
rect += topleft_server + v2s32(20+250+20, 90);
|
||||||
Environment->addButton(rect, this, GUI_ID_DELETE_MAP_BUTTON,
|
Environment->addButton(rect, this, GUI_ID_DELETE_WORLD_BUTTON,
|
||||||
wgettext("Delete map"));
|
wgettext("Delete world"));
|
||||||
}
|
}
|
||||||
// World selection listbox
|
// World selection listbox
|
||||||
{
|
{
|
||||||
@ -472,7 +472,7 @@ bool GUIMainMenu::OnEvent(const SEvent& event)
|
|||||||
kmenu->drop();
|
kmenu->drop();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case GUI_ID_DELETE_MAP_BUTTON: // Delete map
|
case GUI_ID_DELETE_WORLD_BUTTON: // Delete world
|
||||||
acceptInput();
|
acceptInput();
|
||||||
m_data->delete_world = true;
|
m_data->delete_world = true;
|
||||||
quitMenu();
|
quitMenu();
|
||||||
|
@ -42,7 +42,7 @@ enum
|
|||||||
GUI_ID_CREATIVE_CB,
|
GUI_ID_CREATIVE_CB,
|
||||||
GUI_ID_JOIN_GAME_BUTTON,
|
GUI_ID_JOIN_GAME_BUTTON,
|
||||||
GUI_ID_CHANGE_KEYS_BUTTON,
|
GUI_ID_CHANGE_KEYS_BUTTON,
|
||||||
GUI_ID_DELETE_MAP_BUTTON,
|
GUI_ID_DELETE_WORLD_BUTTON,
|
||||||
GUI_ID_WORLD_LISTBOX,
|
GUI_ID_WORLD_LISTBOX,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user