summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.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/npclistdialog.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/npclistdialog.cpp')
-rw-r--r--src/gui/npclistdialog.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp
index 1bcdc8ff..487bdf60 100644
--- a/src/gui/npclistdialog.cpp
+++ b/src/gui/npclistdialog.cpp
@@ -31,13 +31,15 @@
#include "../npc.h"
+#include "../utils/gettext.h"
+
NpcListDialog::NpcListDialog():
- Window("NPC")
+ Window(_("NPC"))
{
mItemList = new ListBox(this);
ScrollArea *scrollArea = new ScrollArea(mItemList);
- Button *okButton = new Button("OK", "ok", this);
- Button *cancelButton = new Button("Cancel", "cancel", this);
+ Button *okButton = new Button(_("Ok"), "ok", this);
+ Button *cancelButton = new Button(_("Cancel"), "cancel", this);
setContentSize(260, 175);
scrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);