summaryrefslogtreecommitdiff
path: root/src/gui/connection.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/connection.cpp
parent1389fc06cc578bdddd6d92cf3a239e33bb892026 (diff)
downloadmana-c09825097c0231c57f9ac416fae0003c5d68398c.tar.gz
mana-c09825097c0231c57f9ac416fae0003c5d68398c.tar.bz2
mana-c09825097c0231c57f9ac416fae0003c5d68398c.tar.xz
mana-c09825097c0231c57f9ac416fae0003c5d68398c.zip
Marked most of the GUI as translatable.
Diffstat (limited to 'src/gui/connection.cpp')
-rw-r--r--src/gui/connection.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp
index 3627689a..17b397ba 100644
--- a/src/gui/connection.cpp
+++ b/src/gui/connection.cpp
@@ -32,6 +32,8 @@
#include "../main.h"
+#include "../utils/gettext.h"
+
namespace {
struct ConnectionActionListener : public gcn::ActionListener
{
@@ -54,10 +56,10 @@ ConnectionDialog::ConnectionDialog(unsigned char previousState):
ConnectionActionListener *connectionListener =
new ConnectionActionListener(previousState);
- Button *cancelButton = new Button("Cancel", "cancelButton",
+ Button *cancelButton = new Button(_("Cancel"), "cancelButton",
connectionListener);
mProgressBar = new ProgressBar(0.0, 200 - 10, 20, 128, 128, 128);
- gcn::Label *label = new gcn::Label("Connecting...");
+ gcn::Label *label = new gcn::Label(_("Connecting..."));
cancelButton->setPosition(5, 100 - 5 - cancelButton->getHeight());
mProgressBar->setPosition(5, cancelButton->getY() - 25);