diff options
author | Kess Vargavind <vargavind@gmail.com> | 2009-07-26 16:52:53 +0200 |
---|---|---|
committer | Kess Vargavind <vargavind@gmail.com> | 2009-07-26 16:52:53 +0200 |
commit | c98665d62a089c978189662c3f526464365f08fa (patch) | |
tree | b6ac1a86376827ea411393f10775c2a6c5ae94c9 /src/gui/outfitwindow.cpp | |
parent | c7d5d825999912892d99c295ba7b583eaaa884ff (diff) | |
download | mana-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/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index 58bb1348..d2e9468d 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -58,9 +58,9 @@ OutfitWindow::OutfitWindow(): setCloseButton(true); setDefaultSize(250, 250, 118, 180); //160 - mPreviousButton = new Button("<", "previous", this); - mNextButton = new Button(">", "next", this); - mCurrentLabel = new Label("Outfit: 1"); + mPreviousButton = new Button(_("<"), "previous", this); + mNextButton = new Button(_(">"), "next", this); + mCurrentLabel = new Label(strprintf(_("Outfit: %d"), 1)); mCurrentLabel->setAlignment(gcn::Graphics::CENTER); mUnequipCheck = new CheckBox(_("Unequip first"), config.getValue("OutfitUnequip", true)); @@ -140,7 +140,7 @@ void OutfitWindow::action(const gcn::ActionEvent &event) mCurrentOutfit = 9; } } - mCurrentLabel->setCaption("Outfit: " + toString(mCurrentOutfit + 1)); + mCurrentLabel->setCaption(strprintf(_("Outfit: %d"), mCurrentOutfit + 1)); } void OutfitWindow::wearOutfit(int outfit) |