From 6946155a5686f19a62157af00746f834bec47448 Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Fri, 14 Dec 2012 11:17:42 +0100 Subject: Inherit translation setting from environment. This ensures that users with a correctly-defined locale don't need to explicitely set the locale. - By dropping the setlocale content, it fixes the loading of translations. - Add a Debug log message to check what is put in the environment. --- src/common/global.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/global.h') diff --git a/src/common/global.h b/src/common/global.h index 9704a2b..579db7d 100644 --- a/src/common/global.h +++ b/src/common/global.h @@ -29,6 +29,7 @@ */ enum Language { + LANGUAGE_ENV = -1, LANGUAGE_ENGLISH = 0, LANGUAGE_FRENCH = 1, LANGUAGE_GERMAN = 2, -- cgit v1.2.3-1-g7c22