summaryrefslogtreecommitdiff
path: root/src/gui/ok_dialog.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 07:54:13 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 07:54:13 +0000
commitc09825097c0231c57f9ac416fae0003c5d68398c (patch)
treeb5c4d8cb200e6382ffae66d5b1d98a5f22aabe60 /src/gui/ok_dialog.cpp
parent1389fc06cc578bdddd6d92cf3a239e33bb892026 (diff)
downloadmana-client-c09825097c0231c57f9ac416fae0003c5d68398c.tar.gz
mana-client-c09825097c0231c57f9ac416fae0003c5d68398c.tar.bz2
mana-client-c09825097c0231c57f9ac416fae0003c5d68398c.tar.xz
mana-client-c09825097c0231c57f9ac416fae0003c5d68398c.zip
Marked most of the GUI as translatable.
Diffstat (limited to 'src/gui/ok_dialog.cpp')
-rw-r--r--src/gui/ok_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp
index ca9d2a7b..37d66353 100644
--- a/src/gui/ok_dialog.cpp
+++ b/src/gui/ok_dialog.cpp
@@ -27,13 +27,14 @@
#include "button.h"
+#include "../utils/gettext.h"
OkDialog::OkDialog(const std::string &title, const std::string &msg,
Window *parent):
Window(title, true, parent)
{
gcn::Label *textLabel = new gcn::Label(msg);
- gcn::Button *okButton = new Button("Ok", "ok", this);
+ gcn::Button *okButton = new Button(_("Ok"), "ok", this);
int w = textLabel->getWidth() + 20;
int h = textLabel->getHeight() + 25 + okButton->getHeight();