summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-11 21:03:54 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-11 21:03:54 +0200
commita72dc388c37eb3ba466214ea988fa5e761c1d36d (patch)
tree5743538086841b29c7f7e26a14728b950f79ec34
parent618314985d6a632ccfd2001d969d32a5ee6e4ca1 (diff)
downloadminetest-a72dc388c37eb3ba466214ea988fa5e761c1d36d.tar.gz
minetest-a72dc388c37eb3ba466214ea988fa5e761c1d36d.tar.bz2
minetest-a72dc388c37eb3ba466214ea988fa5e761c1d36d.zip
Rename "Delete map" to "Delete world"
-rw-r--r--src/guiMainMenu.cpp8
-rw-r--r--src/guiMainMenu.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/guiMainMenu.cpp b/src/guiMainMenu.cpp
index 68348cbb2..3cb9f11f3 100644
--- a/src/guiMainMenu.cpp
+++ b/src/guiMainMenu.cpp
@@ -317,12 +317,12 @@ void GUIMainMenu::regenerateGui(v2u32 screensize)
Environment->addCheckBox(enable_damage, rect, this, GUI_ID_DAMAGE_CB,
wgettext("Enable Damage"));
}
- // Map delete button
+ // Delete world button
{
core::rect<s32> rect(0, 0, 130, 30);
rect += topleft_server + v2s32(20+250+20, 90);
- Environment->addButton(rect, this, GUI_ID_DELETE_MAP_BUTTON,
- wgettext("Delete map"));
+ Environment->addButton(rect, this, GUI_ID_DELETE_WORLD_BUTTON,
+ wgettext("Delete world"));
}
// World selection listbox
{
@@ -472,7 +472,7 @@ bool GUIMainMenu::OnEvent(const SEvent& event)
kmenu->drop();
return true;
}
- case GUI_ID_DELETE_MAP_BUTTON: // Delete map
+ case GUI_ID_DELETE_WORLD_BUTTON: // Delete world
acceptInput();
m_data->delete_world = true;
quitMenu();
diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h
index 8ef286245..87608822b 100644
--- a/src/guiMainMenu.h
+++ b/src/guiMainMenu.h
@@ -42,7 +42,7 @@ enum
GUI_ID_CREATIVE_CB,
GUI_ID_JOIN_GAME_BUTTON,
GUI_ID_CHANGE_KEYS_BUTTON,
- GUI_ID_DELETE_MAP_BUTTON,
+ GUI_ID_DELETE_WORLD_BUTTON,
GUI_ID_WORLD_LISTBOX,
};