[longomatch] Fix names in language locales



commit 812c344c3477d8576419a15ec385e5b23f76820c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Feb 16 13:49:47 2015 +0100

    Fix names in language locales

 LongoMatch.Services/Services/CoreServices.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/CoreServices.cs b/LongoMatch.Services/Services/CoreServices.cs
index 3e12bd3..3a6359d 100644
--- a/LongoMatch.Services/Services/CoreServices.cs
+++ b/LongoMatch.Services/Services/CoreServices.cs
@@ -62,7 +62,7 @@ namespace LongoMatch.Services
                        Config.Load ();
                        
                        if (Config.Lang != null) {
-                               Environment.SetEnvironmentVariable ("LANGUAGE", Config.Lang);
+                               Environment.SetEnvironmentVariable ("LANGUAGE", Config.Lang.Replace ("-", 
"_"));
 #if OSTYPE_WINDOWS
                                g_setenv ("LANGUAGE", Config.Lang.Replace ("-", "_"), true);
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]