summaryrefslogtreecommitdiff
path: root/src/daisy-player.c
diff options
context:
space:
mode:
authorPaul Gevers <elbrus@debian.org>2013-10-20 19:51:30 +0200
committerPaul Gevers <elbrus@debian.org>2013-10-20 19:51:30 +0200
commitc91778b5c2f349d1e12daae5676274bd93d05f3b (patch)
treef057ea6caaee0bcf2d3f727be94e7cd0ee5b85d9 /src/daisy-player.c
parentea875bda6a0dc1d00d62a7b2346fc1c7b1bf9a56 (diff)
Imported Upstream version 8.4.1
Diffstat (limited to 'src/daisy-player.c')
-rw-r--r--src/daisy-player.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daisy-player.c b/src/daisy-player.c
index e96e8f6..ea52d00 100644
--- a/src/daisy-player.c
+++ b/src/daisy-player.c
@@ -19,7 +19,7 @@
#include "src/daisy.h"
-#define DAISY_PLAYER_VERSION "8.4"
+#define DAISY_PLAYER_VERSION "8.4.1"
int discinfo = 0, displaying = 0, phrase_nr, tts_no;
int playing, just_this_item, current_playorder = 1, audiocd;
@@ -2016,6 +2016,8 @@ int main (int argc, char *argv[])
atexit (quit_daisy_player);
read_rc ();
setlocale (LC_ALL, getenv ("LC_ALL"));
+ setlocale (LC_ALL, getenv ("LANGUAGE"));
+ setlocale (LC_ALL, getenv ("LANG"));
textdomain (prog_name);
snprintf (str, MAX_STR, "%s/", LOCALEDIR);
bindtextdomain (prog_name, str);