diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-20 08:56:35 -0700 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-20 08:56:35 -0700 |
commit | cef7bb06195f3923f5c47547b48fe6e6e51c932d (patch) | |
tree | ba62a3b476ea55aaf18cd6825f0e67050a6db631 /src/guiMessageMenu.cpp | |
parent | d0810b0156073833b9966672c86b5fc3650dade9 (diff) | |
parent | a006b828a672083e1f81dc599f1a8f5f11d50768 (diff) | |
download | minetest-cef7bb06195f3923f5c47547b48fe6e6e51c932d.tar.gz minetest-cef7bb06195f3923f5c47547b48fe6e6e51c932d.tar.bz2 minetest-cef7bb06195f3923f5c47547b48fe6e6e51c932d.zip |
Merge pull request #22 from SpeedProg/master
added gettext support
Diffstat (limited to 'src/guiMessageMenu.cpp')
-rw-r--r-- | src/guiMessageMenu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guiMessageMenu.cpp b/src/guiMessageMenu.cpp index 192911355..e4e582ab1 100644 --- a/src/guiMessageMenu.cpp +++ b/src/guiMessageMenu.cpp @@ -22,6 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "serialization.h" #include <string> +#include "gettext.h" + GUIMessageMenu::GUIMessageMenu(gui::IGUIEnvironment* env, gui::IGUIElement* parent, s32 id, IMenuManager *menumgr, @@ -87,7 +89,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize) core::rect<s32> rect(0, 0, 140, 30); rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25); gui::IGUIElement *e = - Environment->addButton(rect, this, 257, L"Proceed"); + Environment->addButton(rect, this, 257, chartowchar_t(gettext("Proceed"))); Environment->setFocus(e); } } |