summaryrefslogtreecommitdiff
path: root/src/gui/itemamount.cpp
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-07-26 16:52:53 +0200
committerKess Vargavind <vargavind@gmail.com>2009-07-26 16:52:53 +0200
commitc98665d62a089c978189662c3f526464365f08fa (patch)
treeb6ac1a86376827ea411393f10775c2a6c5ae94c9 /src/gui/itemamount.cpp
parentc7d5d825999912892d99c295ba7b583eaaa884ff (diff)
downloadmana-client-c98665d62a089c978189662c3f526464365f08fa.tar.gz
mana-client-c98665d62a089c978189662c3f526464365f08fa.tar.bz2
mana-client-c98665d62a089c978189662c3f526464365f08fa.tar.xz
mana-client-c98665d62a089c978189662c3f526464365f08fa.zip
Gettext fixes
And a Swedish translation of the desktop file.
Diffstat (limited to 'src/gui/itemamount.cpp')
-rw-r--r--src/gui/itemamount.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/itemamount.cpp b/src/gui/itemamount.cpp
index 87df46c1..20834c54 100644
--- a/src/gui/itemamount.cpp
+++ b/src/gui/itemamount.cpp
@@ -90,9 +90,9 @@ ItemAmountWindow::ItemAmountWindow(Usage usage, Window *parent, Item *item,
mItemIcon = new Icon(image);
// Buttons
- Button *minusButton = new Button("-", "minus", this);
- Button *plusButton = new Button("+", "plus", this);
- Button *okButton = new Button(_("Ok"), "ok", this);
+ Button *minusButton = new Button(_("-"), "dec", this);
+ Button *plusButton = new Button(_("+"), "inc", this);
+ Button *okButton = new Button(_("OK"), "ok", this);
Button *cancelButton = new Button(_("Cancel"), "cancel", this);
Button *addAllButton = new Button(_("All"), "all", this);
@@ -172,11 +172,11 @@ void ItemAmountWindow::action(const gcn::ActionEvent &event)
{
close();
}
- else if (event.getId() == "plus" && amount < mMax)
+ else if (event.getId() == "inc" && amount < mMax)
{
amount++;
}
- else if (event.getId() == "minus" && amount > 1)
+ else if (event.getId() == "dec" && amount > 1)
{
amount--;
}