Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2011-02-18 03:13:38 +0300
committerJustin Maggard <jmaggard@users.sourceforge.net>2011-02-18 03:13:38 +0300
commited191a7db1abd7da502e478b6eda2a62e0668d67 (patch)
treef30a1148baff690a01b50d4fc402b490d45801ac
parent2396377ad4146313603a05d9fe95c63677431967 (diff)
* Allow users to set the location for translation files.
-rw-r--r--minidlna.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/minidlna.c b/minidlna.c
index 72835ee..17b1d9c 100644
--- a/minidlna.c
+++ b/minidlna.c
@@ -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