From 519c2796e52ea933f6de5a490aee1f1ab826ea5e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Jan 2016 22:54:36 +0300 Subject: Add support for custom NLS (without gettext). Add configure flag --enable-customnls Add empty directory in data/translations/manaplus for suctom translations (po files from /po directory) --- src/dyetool/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dyetool') diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp index d6d918662..8812b770b 100644 --- a/src/dyetool/client.cpp +++ b/src/dyetool/client.cpp @@ -255,6 +255,9 @@ void Client::gameInit() // Add the local data directory to PhysicsFS search path resourceManager->addToSearchPath(settings.localDataDir, Append_false); TranslationManager::loadCurrentLang(); +#ifdef ENABLE_CUSTOMNLS + TranslationManager::loadGettextLang(); +#endif WindowManager::initTitle(); -- cgit v1.2.3-70-g09d2