diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-02 22:54:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-03 00:46:28 +0300 |
commit | 519c2796e52ea933f6de5a490aee1f1ab826ea5e (patch) | |
tree | 01205558a568663d1c1ff67fda39ee84ce4051ec /src/utils/translation/podict.h | |
parent | 2d2bbb2fe5a0dc55cbf5b9616a78500704b6ea65 (diff) | |
download | manaverse-519c2796e52ea933f6de5a490aee1f1ab826ea5e.tar.gz manaverse-519c2796e52ea933f6de5a490aee1f1ab826ea5e.tar.bz2 manaverse-519c2796e52ea933f6de5a490aee1f1ab826ea5e.tar.xz manaverse-519c2796e52ea933f6de5a490aee1f1ab826ea5e.zip |
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)
Diffstat (limited to 'src/utils/translation/podict.h')
-rw-r--r-- | src/utils/translation/podict.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h index 4153835bd..73948aeb4 100644 --- a/src/utils/translation/podict.h +++ b/src/utils/translation/podict.h @@ -61,5 +61,8 @@ class PoDict final }; extern PoDict *translator; +#ifdef ENABLE_CUSTOMNLS +extern PoDict *mainTranslator; +#endif #endif // UTILS_TRANSLATION_PODICT_H |