summaryrefslogtreecommitdiff
path: root/src/gui/smileycontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/smileycontainer.cpp')
-rw-r--r--src/gui/smileycontainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/smileycontainer.cpp b/src/gui/smileycontainer.cpp
index 55f8f11b..afe4ce15 100644
--- a/src/gui/smileycontainer.cpp
+++ b/src/gui/smileycontainer.cpp
@@ -26,13 +26,13 @@
#include "../graphics.h"
#include "../log.h"
+#include "../smileyshortcut.h"
#include "../resources/image.h"
#include "../resources/iteminfo.h"
#include "../resources/resourcemanager.h"
-#include "../smileyshortcut.h"
-
+#include "../utils/gettext.h"
#include "../utils/tostring.h"
const int SmileyContainer::gridWidth = 34; // item icon width + 4
@@ -46,10 +46,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();