فهرست منبع

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