aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorUbitUmarov2018-09-27 19:04:11 +0100
committerUbitUmarov2018-09-27 19:04:11 +0100
commit5a0c9c2fcf76ebe430602885c526f687a64f3cc1 (patch)
treebe47c4ca9b926a6bd0de59579eeb393ef38360b5 /OpenSim/Region/Application
parentmake sure Culture is right on some spots (diff)
downloadopensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.zip
opensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.tar.gz
opensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.tar.bz2
opensim-SC-5a0c9c2fcf76ebe430602885c526f687a64f3cc1.tar.xz
more on culture issues
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/Application.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 66ce8e5..e4c3329 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -74,6 +74,9 @@ namespace OpenSim
74 AppDomain.CurrentDomain.UnhandledException += 74 AppDomain.CurrentDomain.UnhandledException +=
75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); 75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
76 76
77 Culture.SetCurrentCulture();
78 Culture.SetDefaultCurrentCulture();
79
77 if(Util.IsWindows()) 80 if(Util.IsWindows())
78 ServicePointManager.DefaultConnectionLimit = 32; 81 ServicePointManager.DefaultConnectionLimit = 32;
79 else 82 else
@@ -183,8 +186,9 @@ namespace OpenSim
183 m_log.Warn("[OPENSIM MAIN]: Environment is not supported by OpenSimulator (" + supported + ")\n"); 186 m_log.Warn("[OPENSIM MAIN]: Environment is not supported by OpenSimulator (" + supported + ")\n");
184 } 187 }
185 188
189 m_log.InfoFormat("Default culture changed to {0}",Culture.GetDefaultCurrentCulture().DisplayName);
190
186 // Configure nIni aliases and localles 191 // Configure nIni aliases and localles
187 Culture.SetCurrentCulture();
188 192
189 // Validate that the user has the most basic configuration done 193 // Validate that the user has the most basic configuration done
190 // If not, offer to do the most basic configuration for them warning them along the way of the importance of 194 // If not, offer to do the most basic configuration for them warning them along the way of the importance of