aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mainmenu.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-08-14 19:22:23 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-17 16:01:43 +0200
commit09a50d0458f46c6129b4bea94502908241b3aed3 (patch)
tree57a2094750b7d47446a05fe1f8a64a8bca490fe8 /src/script/lua_api/l_mainmenu.h
parent787b43b2183262a08726434e2597638ad85bfb72 (diff)
downloadminetest-09a50d0458f46c6129b4bea94502908241b3aed3.tar.gz
minetest-09a50d0458f46c6129b4bea94502908241b3aed3.tar.bz2
minetest-09a50d0458f46c6129b4bea94502908241b3aed3.zip
Add translation for main menu
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
Diffstat (limited to 'src/script/lua_api/l_mainmenu.h')
-rw-r--r--src/script/lua_api/l_mainmenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/lua_api/l_mainmenu.h b/src/script/lua_api/l_mainmenu.h
index 21dd82c68..d0f3d6f72 100644
--- a/src/script/lua_api/l_mainmenu.h
+++ b/src/script/lua_api/l_mainmenu.h
@@ -81,6 +81,8 @@ private:
static int l_sound_stop(lua_State *L);
+ static int l_gettext(lua_State *L);
+
//gui
static int l_show_keys_menu(lua_State *L);