diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-08 22:03:33 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-08 16:27:30 -0700 |
commit | 193ccbdba8031a351ea622f8842b6d9a0b6cfd43 (patch) | |
tree | 5e62faa24be231e60a3aa2643fa233f356ac23c7 /src/gui/smileycontainer.cpp | |
parent | 3f8387402ee7b528026450232cb457c8ae1cf4e2 (diff) | |
download | mana-193ccbdba8031a351ea622f8842b6d9a0b6cfd43.tar.gz mana-193ccbdba8031a351ea622f8842b6d9a0b6cfd43.tar.bz2 mana-193ccbdba8031a351ea622f8842b6d9a0b6cfd43.tar.xz mana-193ccbdba8031a351ea622f8842b6d9a0b6cfd43.zip |
Made remaining dialogs translatable
Most strings are now translatable. Please do report any missing ones.
Strings excluded from translation are anything that gets written to the
log file or is otherwise not shown in the GUI.
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/smileycontainer.cpp')
-rw-r--r-- | src/gui/smileycontainer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/smileycontainer.cpp b/src/gui/smileycontainer.cpp index 5eb99723..d5e2e815 100644 --- a/src/gui/smileycontainer.cpp +++ b/src/gui/smileycontainer.cpp @@ -31,6 +31,7 @@ #include "../resources/iteminfo.h" #include "../resources/resourcemanager.h" +#include "../utils/gettext.h" #include "../utils/tostring.h" const int SmileyContainer::gridWidth = 34; // item icon width + 4 @@ -44,10 +45,10 @@ SmileyContainer::SmileyContainer(): ResourceManager *resman = ResourceManager::getInstance(); mSmileyImg = resman->getImageSet("graphics/gui/emotions.png",30,32); - if (!mSmileyImg) logger->error("Unable to load emotions"); + if (!mSmileyImg) logger->error(_("Unable to load emotions")); mSelImg = resman->getImage("graphics/gui/selection.png"); - if (!mSelImg) logger->error("Unable to load selection.png"); + if (!mSelImg) logger->error(_("Unable to load selection.png")); mMaxSmiley = mSmileyImg->size(); |