mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19035: Removing usage of CurrentUICulture
Work Item: 19035 --HG-- branch : 1.x
This commit is contained in:
@@ -376,7 +376,7 @@ namespace Orchard.Core.Shapes {
|
||||
}
|
||||
var defaultSettings = new RequireSettings {
|
||||
DebugMode = debugMode,
|
||||
Culture = CultureInfo.CurrentUICulture.Name,
|
||||
Culture = _workContext.Value.CurrentCulture,
|
||||
};
|
||||
var requiredResources = _resourceManager.Value.BuildRequiredResources(resourceType);
|
||||
var appPath = _httpContextAccessor.Value.Current().Request.ApplicationPath;
|
||||
|
Reference in New Issue
Block a user