diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-13 20:17:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-13 20:17:00 +0300 |
commit | 69238eddfc6374ad54a63f14fd29fd7b4dfbba48 (patch) | |
tree | 49929dd811a18050b4322bc32f37185e95b5666d /src/resources/db | |
parent | 201b3842582979ec23f611e8cf7bc0f433ac44e5 (diff) | |
download | manaverse-69238eddfc6374ad54a63f14fd29fd7b4dfbba48.tar.gz manaverse-69238eddfc6374ad54a63f14fd29fd7b4dfbba48.tar.bz2 manaverse-69238eddfc6374ad54a63f14fd29fd7b4dfbba48.tar.xz manaverse-69238eddfc6374ad54a63f14fd29fd7b4dfbba48.zip |
Store clan names into each player being.
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/clandb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/clandb.cpp b/src/resources/db/clandb.cpp index e4cf691dd..c613067e3 100644 --- a/src/resources/db/clandb.cpp +++ b/src/resources/db/clandb.cpp @@ -31,6 +31,7 @@ #include "utils/checkutils.h" #include "utils/dtor.h" +#include "utils/gettext.h" #include "utils/itemxmlutils.h" #include "debug.h" @@ -96,6 +97,9 @@ void ClanDb::loadXmlFile(const std::string &fileName, clanInfo = new ClanInfo; clanInfo->id = id; + clanInfo->name = XML::langProperty( + // TRANSLATORS: unknown clan name + clanNode, "name", _("unnamed")); readItemStatsVector(clanInfo->stats, clanNode, |