summaryrefslogtreecommitdiff
path: root/src/utils/gettexthelper.cpp
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2024-02-16 14:50:14 -0300
committerFedja Beader <fedja@protonmail.ch>2025-03-01 00:53:09 +0100
commit5623d2ca02a0f67f7158b4d4a2473e27d730b4cf (patch)
tree70eaa57b45bc9d187d73b1cfa681e40637932533 /src/utils/gettexthelper.cpp
parent860f95f125e5bf9acf9ac3bf7015aa500d1e1e73 (diff)
downloadmanaplus-5623d2ca02a0f67f7158b4d4a2473e27d730b4cf.tar.gz
manaplus-5623d2ca02a0f67f7158b4d4a2473e27d730b4cf.tar.bz2
manaplus-5623d2ca02a0f67f7158b4d4a2473e27d730b4cf.tar.xz
manaplus-5623d2ca02a0f67f7158b4d4a2473e27d730b4cf.zip
Rename the program from ManaPlus to ManaVerse.
Diffstat (limited to 'src/utils/gettexthelper.cpp')
-rw-r--r--src/utils/gettexthelper.cpp8
1 files changed, 4 insertions, 4 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