diff options
author | jak1 <jak1@themanaworld.org> | 2023-01-08 21:35:54 +0100 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-02-08 21:49:12 -0300 |
commit | d89c9bda61dbe14e604fe5175de8ec977704d88c (patch) | |
tree | 934125c91457694469e44a9e911a6e1edbf010d7 /src/utils | |
parent | d5d3f5818366b78f22793bf3fd89cd603c4dd63e (diff) | |
download | manaverse-rename_and_cleanup.tar.gz manaverse-rename_and_cleanup.tar.bz2 manaverse-rename_and_cleanup.tar.xz manaverse-rename_and_cleanup.zip |
some more renamingrename_and_cleanup
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/gettexthelper.cpp | 8 | ||||
-rw-r--r-- | src/utils/translation/translationmanager.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/gettexthelper.cpp b/src/utils/gettexthelper.cpp index 33b366ad1..61a413866 100644 --- a/src/utils/gettexthelper.cpp +++ b/src/utils/gettexthelper.cpp @@ -108,7 +108,7 @@ void GettextHelper::initLang() #else // ENABLE_PORTABLE #ifdef __APPLE__ bindTextDomain((std::string(VirtFs::getBaseDir()) - .append("ManaPlus.app/Contents/Resources/locale/")).c_str()); + .append("ManaVerse.app/Contents/Resources/locale/")).c_str()); #else // __APPLE__ bindTextDomain(LOCALEDIR); @@ -130,8 +130,8 @@ void GettextHelper::initLang() else logger->log("locale empty"); } - bind_textdomain_codeset("manaplus", "UTF-8"); - textdomain("manaplus"); + bind_textdomain_codeset("manaverse", "UTF-8"); + textdomain("manaverse"); #elif defined(ENABLE_CUSTOMNLS) mainTranslator = new PoDict("en"); setLangEnv(); @@ -141,7 +141,7 @@ void GettextHelper::initLang() #ifdef ENABLE_NLS void GettextHelper::bindTextDomain(const char *const path) { - const char *const dir = bindtextdomain("manaplus", path); + const char *const dir = bindtextdomain("manaverse", path); if (dir) logger->log("bindtextdomain: %s", dir); else diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp index e75ef4857..49cadaf63 100644 --- a/src/utils/translation/translationmanager.cpp +++ b/src/utils/translation/translationmanager.cpp @@ -61,7 +61,7 @@ void TranslationManager::loadDictionaryLang() void TranslationManager::loadGettextLang() { delete mainTranslator; - mainTranslator = loadLang(getLang(), "manaplus/", nullptr); + mainTranslator = loadLang(getLang(), "manaverse/", nullptr); } #endif // ENABLE_CUSTOMNLS |