瀏覽代碼

Add error logging when translation is missing from core

Claus Vium 6 年之前
父節點
當前提交
ce03662fa7
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Emby.Server.Implementations/Localization/LocalizationManager.cs

+ 4 - 0
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);
+                }
             }
         }