* Allow users to set the location for translation files.
This commit is contained in:
parent
a1aa1b11ed
commit
e67be3db24
@ -825,6 +825,7 @@ main(int argc, char * * argv)
|
||||
#ifdef ENABLE_NLS
|
||||
setlocale(LC_MESSAGES, "");
|
||||
setlocale(LC_CTYPE, "en_US.utf8");
|
||||
DPRINTF(E_DEBUG, L_GENERAL, "Using locale dir %s\n", bindtextdomain("minidlna", getenv("TEXTDOMAINDIR")));
|
||||
textdomain("minidlna");
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user