summaryrefslogtreecommitdiff
path: root/src/gui/statuswindow.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/statuswindow.cpp
parentc7d5d825999912892d99c295ba7b583eaaa884ff (diff)
downloadmana-c98665d62a089c978189662c3f526464365f08fa.tar.gz
mana-c98665d62a089c978189662c3f526464365f08fa.tar.bz2
mana-c98665d62a089c978189662c3f526464365f08fa.tar.xz
mana-c98665d62a089c978189662c3f526464365f08fa.zip
Gettext fixes
And a Swedish translation of the desktop file.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r--src/gui/statuswindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 4d8ce840..0108ee11 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -100,10 +100,10 @@ StatusWindow::StatusWindow():
// Status Part
// ----------------------
- mLvlLabel = new Label("Level:");
- mMoneyLabel = new Label("Money:");
+ mLvlLabel = new Label(strprintf(_("Level: %d"), 0));
+ mMoneyLabel = new Label(strprintf(_("Money: %s"), ""));
- mHpLabel = new Label("HP:");
+ mHpLabel = new Label(_("HP:"));
mHpBar = new ProgressBar((float) player_node->getHp()
/ (float) player_node->getMaxHp(),
80, 15, gcn::Color(0, 171, 34));
@@ -463,8 +463,8 @@ ChangeDisplay::ChangeDisplay(int id, const std::string &name):
AttrDisplay(id, name), mNeeded(1)
{
mPoints = new Label("1");
- mDec = new Button("-", "-", this);
- mInc = new Button("+", "+", this);
+ mDec = new Button(_("-"), "dec", this);
+ mInc = new Button(_("+"), "inc", this);
mDec->setWidth(mInc->getWidth());
// Do the layout