diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 07:54:13 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 07:54:13 +0000 |
commit | c09825097c0231c57f9ac416fae0003c5d68398c (patch) | |
tree | b5c4d8cb200e6382ffae66d5b1d98a5f22aabe60 /src/gui/ok_dialog.cpp | |
parent | 1389fc06cc578bdddd6d92cf3a239e33bb892026 (diff) | |
download | mana-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.cpp | 3 |
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(); |