From c98665d62a089c978189662c3f526464365f08fa Mon Sep 17 00:00:00 2001 From: Kess Vargavind Date: Sun, 26 Jul 2009 16:52:53 +0200 Subject: Gettext fixes And a Swedish translation of the desktop file. --- src/gui/statuswindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/statuswindow.cpp') 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 -- cgit v1.2.3-70-g09d2