ManaPlus
|
#include <translationmanager.h>
Static Public Member Functions | |
static PoDict * | loadLang (const LangVect &lang, const std::string &subName, PoDict *const dict) |
static void | init () |
static void | close () |
static void | loadCurrentLang () |
static void | loadDictionaryLang () |
static bool | translateFile (const std::string &fileName, PoDict *const dict, StringVect &lines) |
static PoDict * | reverseLang (const PoDict *const dict) |
Definition at line 32 of file translationmanager.h.
|
static |
Definition at line 68 of file translationmanager.cpp.
References delete2, dictionary, reverseDictionary, and translator.
Referenced by Client::gameClear().
|
static |
Definition at line 38 of file translationmanager.cpp.
References PoParser::getEmptyDict(), and translator.
|
static |
Definition at line 44 of file translationmanager.cpp.
References getLang(), loadLang(), and translator.
Referenced by Client::gameExec(), Client::gameInit(), and Client::loadData().
|
static |
Definition at line 52 of file translationmanager.cpp.
References dictionary, getServerLang(), loadLang(), reverseDictionary, and reverseLang().
Referenced by Client::gameExec(), Client::gameInit(), Client::loadData(), and PlayerInfo::setServerLanguage().
|
static |
Definition at line 75 of file translationmanager.cpp.
References PoParser::checkLang(), FOR_EACH, PoParser::getEmptyDict(), PoParser::load(), Logger::log(), and logger.
Referenced by loadCurrentLang(), and loadDictionaryLang().
Definition at line 148 of file translationmanager.cpp.
References FOR_EACH, PoDict::mLang, PoDict::mPoLines, and PoDict::set().
Referenced by loadDictionaryLang().
|
static |
Definition at line 102 of file translationmanager.cpp.
References fileName, PoDict::getStr(), VirtFs::loadFile(), Logger::log(), logger, and replaceAll().
Referenced by DidYouKnowWindow::loadFile(), and HelpWindow::loadFile().