Debugging Serbian loc
This commit is contained in:
@@ -63,6 +63,8 @@ namespace Swarmops.Frontend
|
||||
}
|
||||
catch (Exception) // if we can't set the culture, what do we do? ("We send the Marines.")
|
||||
{
|
||||
throw; // for debugging purposes 2019-Jan-24
|
||||
|
||||
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||
// throw new Exception("Could not set culture \"" + preferredCulture + "\"", exception);
|
||||
// Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
// Code that runs on application startup
|
||||
|
||||
// Set supported cultures
|
||||
HttpContext.Current.Application["Cultures"] = new[] {"sv-SE", "en-US", "en-GB", "de-DE", "de-AT", "fi-FI"};
|
||||
HttpContext.Current.Application["Cultures"] = Formatting.SupportedCultures;
|
||||
HttpContext.Current.Application["UserRoleCache"] = new Dictionary<int, string[]>();
|
||||
SupportFunctions.OperatingTopology = OperatingTopology.FrontendWeb;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user