diff options
author | Kess Vargavind <vargavind@gmail.com> | 2009-07-17 14:31:36 +0200 |
---|---|---|
committer | Kess Vargavind <vargavind@gmail.com> | 2009-07-17 15:21:53 +0200 |
commit | 8b0a65f00c0e5afb2c177462acd30013afa99b64 (patch) | |
tree | e34427ff57870c0e96065ccdacd296e9dddd445a /src/gui/itempopup.cpp | |
parent | 18aaa873abcaa617bbd296f73138d062423662b8 (diff) | |
download | mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.gz mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.bz2 mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.xz mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.zip |
Various gettext fixes
* Merged a few split strings
* Fixed some spellings and wordings
* Turned a couple of std::cout and std::cerr into logger messages
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index e1822e03..39dc603a 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -88,8 +88,9 @@ void ItemPopup::setItem(const ItemInfo &item) mItemDesc->setTextWrapped(item.getDescription(), 196); mItemEffect->setTextWrapped(item.getEffect(), 196); - mItemWeight->setTextWrapped(_("Weight: ") + - Units::formatWeight(item.getWeight()), 196); + mItemWeight->setTextWrapped(strprintf(_("Weight: %s"), + Units::formatWeight(item.getWeight()).c_str()), + 196); int minWidth = mItemName->getWidth(); |