Luke Pulverenti преди 8 години
родител
ревизия
a238556202
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 1 1
      Emby.Common.Implementations/BaseApplicationHost.cs
  2. 3 0
      Emby.Server.Implementations/Emby.Server.Implementations.csproj

+ 1 - 1
Emby.Common.Implementations/BaseApplicationHost.cs

@@ -561,7 +561,7 @@ namespace Emby.Common.Implementations
         {
             if (assembly == null)
             {
-                throw new ArgumentNullException("assembly");
+                return new List<Type>();
             }
 
             try

+ 3 - 0
Emby.Server.Implementations/Emby.Server.Implementations.csproj

@@ -418,6 +418,9 @@
   <ItemGroup>
     <EmbeddedResource Include="Localization\Ratings\uk.txt" />
   </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="Localization\Ratings\es.txt" />
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.