diff options
| author | Claus Vium <clausvium@gmail.com> | 2019-02-08 10:26:29 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-02-08 22:10:55 +0100 |
| commit | ce03662fa7149d7d5d607d102789994d5ee50d31 (patch) | |
| tree | 2a852ad5e4870abde35c8e5325ca229b471d6ee8 /Emby.Server.Implementations/Localization/LocalizationManager.cs | |
| parent | 49923e50db60be989ffd252b29301f2db3356494 (diff) | |
Add error logging when translation is missing from core
Diffstat (limited to 'Emby.Server.Implementations/Localization/LocalizationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Localization/LocalizationManager.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs index 2120a8461..31217730b 100644 --- a/Emby.Server.Implementations/Localization/LocalizationManager.cs +++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs @@ -470,6 +470,10 @@ namespace Emby.Server.Implementations.Localization dictionary[key] = dict[key]; } } + else + { + _logger.LogError("Missing translation/culture resource: {ResourcePath}", resourcePath); + } } } |
