summaryrefslogtreecommitdiff
path: root/src/resources/emotedb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-06 00:16:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-06 00:16:58 +0300
commit0cbb5fdd043733456565f705d1527ec67785a005 (patch)
tree3bed9953abf5bbbfc3d8e285b924cc309054a463 /src/resources/emotedb.cpp
parentbf435a79408d89072f5872ab98449949a8a077b0 (diff)
downloadplus-0cbb5fdd043733456565f705d1527ec67785a005.tar.gz
plus-0cbb5fdd043733456565f705d1527ec67785a005.tar.bz2
plus-0cbb5fdd043733456565f705d1527ec67785a005.tar.xz
plus-0cbb5fdd043733456565f705d1527ec67785a005.zip
Use client data translation. For now language same as gui language.
Fix some untranslated gettext lines.
Diffstat (limited to 'src/resources/emotedb.cpp')
-rw-r--r--src/resources/emotedb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/emotedb.cpp b/src/resources/emotedb.cpp
index 07e192cd4..aba020261 100644
--- a/src/resources/emotedb.cpp
+++ b/src/resources/emotedb.cpp
@@ -93,7 +93,7 @@ void EmoteDB::load()
spriteNode->xmlChildrenNode->content);
currentSprite->sprite = AnimatedSprite::load(file,
XML::getProperty(spriteNode, "variant", 0));
- currentSprite->name = XML::getProperty(spriteNode, "name", "");
+ currentSprite->name = XML::langProperty(spriteNode, "name", "");
currentInfo->sprites.push_back(currentSprite);
}
else if (xmlNameEqual(spriteNode, "particlefx"))
@@ -147,7 +147,7 @@ void EmoteDB::load()
spriteNode->xmlChildrenNode->content);
currentSprite->sprite = AnimatedSprite::load(file,
XML::getProperty(spriteNode, "variant", 0));
- currentSprite->name = XML::getProperty(spriteNode, "name", "");
+ currentSprite->name = XML::langProperty(spriteNode, "name", "");
currentInfo->sprites.push_back(currentSprite);
}
else if (xmlNameEqual(spriteNode, "particlefx"))