diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-05-05 09:35:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-05 09:35:30 +0200 |
| commit | 48e81e65e8948fa61980744932eb4103a28ed876 (patch) | |
| tree | 8bb4d5d854609118b37a4e0073ef03e943c5357e /Emby.Server.Implementations/Localization/LocalizationManager.cs | |
| parent | 52db719f506d36ddded8ef32e6d8f146e508cc15 (diff) | |
| parent | ad3e835bcf7e800b483495af74adc36e10139be5 (diff) | |
Merge pull request #5938 from cvium/allocationz
Diffstat (limited to 'Emby.Server.Implementations/Localization/LocalizationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Localization/LocalizationManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs index 2fdc2b4d9..46858b4fb 100644 --- a/Emby.Server.Implementations/Localization/LocalizationManager.cs +++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs @@ -315,10 +315,9 @@ namespace Emby.Server.Implementations.Localization } const string Prefix = "Core"; - var key = Prefix + culture; return _dictionaries.GetOrAdd( - key, + culture, f => GetDictionary(Prefix, culture, DefaultCulture + ".json").GetAwaiter().GetResult()); } |
