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/npclistdialog.cpp | |
parent | 1389fc06cc578bdddd6d92cf3a239e33bb892026 (diff) | |
download | mana-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/npclistdialog.cpp')
-rw-r--r-- | src/gui/npclistdialog.cpp | 8 |
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); |