From 09a50d0458f46c6129b4bea94502908241b3aed3 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 14 Aug 2013 19:22:23 +0200 Subject: Add translation for main menu Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp --- doc/lua_api.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e4e9985ac..bd465bbed 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1068,8 +1068,7 @@ minetest.pos_to_string({x=X,y=Y,z=Z}) -> "(X,Y,Z)" ^ Convert position to a printable string minetest.string_to_pos(string) -> position ^ Same but in reverse -minetest.formspec_escape(string) -> string -^ escapes characters like [, ], and \ that can not be used in formspecs +^ escapes characters [ ] \ , ; that can not be used in formspecs minetest namespace reference ----------------------------- -- cgit v1.2.3