diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-06 17:00:25 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-06 17:00:25 +0100 |
commit | 791ec19aa351df7d5d1ecc3bc6007ba512c05488 (patch) | |
tree | ab17df5c3d67389d0dc08733570edeeb7a9c9999 /src/gui/char_server.cpp | |
parent | 6b60673b0805fbab747924d1a0b6d9c66fc96f64 (diff) | |
parent | ed39006cfe36e01f68d13a59d1109db905997efc (diff) | |
download | mana-client-791ec19aa351df7d5d1ecc3bc6007ba512c05488.tar.gz mana-client-791ec19aa351df7d5d1ecc3bc6007ba512c05488.tar.bz2 mana-client-791ec19aa351df7d5d1ecc3bc6007ba512c05488.tar.xz mana-client-791ec19aa351df7d5d1ecc3bc6007ba512c05488.zip |
Merge branch 'master' of git@gitorious.org:tmw/eathena
Diffstat (limited to 'src/gui/char_server.cpp')
-rw-r--r-- | src/gui/char_server.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp index ce068ad1..3d3309fb 100644 --- a/src/gui/char_server.cpp +++ b/src/gui/char_server.cpp @@ -31,6 +31,8 @@ #include "../net/network.h" // TODO this is just for iptostring, move that? +#include "../utils/gettext.h" +#include "../utils/strprintf.h" #include "../utils/tostring.h" extern SERVER_INFO **server_info; @@ -47,15 +49,15 @@ class ServerListModel : public gcn::ListModel { }; ServerSelectDialog::ServerSelectDialog(LoginData *loginData, int nextState): - Window("Select Server"), + Window(_("Select Server")), mLoginData(loginData), mNextState(nextState) { mServerListModel = new ServerListModel(); mServerList = new ListBox(mServerListModel); ScrollArea *mScrollArea = new ScrollArea(mServerList); - mOkButton = new Button("OK", "ok", this); - Button *mCancelButton = new Button("Cancel", "cancel", this); + mOkButton = new Button(_("OK"), "ok", this); + Button *mCancelButton = new Button(_("Cancel"), "cancel", this); setContentSize(200, 100); |