allow installation of locale into system

UNTESTED
This commit is contained in:
tildearrow 2024-06-13 17:14:10 -05:00
parent e8daa0b8ee
commit c7ff788d5d
2 changed files with 10 additions and 0 deletions

View file

@ -545,7 +545,15 @@ int main(int argc, char** argv) {
if ((localeRet=TA_BINDTEXTDOMAIN("furnace","locale"))==NULL) {
if ((localeRet=TA_BINDTEXTDOMAIN("furnace","../po/locale"))==NULL) {
#ifdef LOCALE_DIR
if ((localeRet=TA_BINDTEXTDOMAIN("furnace",LOCALE_DIR))==NULL) {
logE("could not bind text domain!");
} else {
logV("text domain 1: %s",localeRet);
}
#else
logE("could not bind text domain!");
#endif
} else {
logV("text domain 1: %s",localeRet);
}