The Free Software Media System - Server Backend & API
Add Chinese Bilingual language (#7623)
MBR-00018af854315ef2
diff --git a/Emby.Server.Implementations/Localization/iso6392.txt b/Emby.Server.Implementations/Localization/iso6392.txtindex 66fba33304..b55c0fa330 100644--- a/Emby.Server.Implementations/Localization/iso6392.txt+++ b/Emby.Server.Implementations/Localization/iso6392.txt@@ -77,6 +77,7 @@ chb|||Chibcha|chibchache||ce|Chechen|tchétchènechg|||Chagatai|djaghataïchi|zho|zh|Chinese|chinois+chi|zho|ze|Chinese; Bilingual|chinoischi|zho|zh-tw|Chinese; Traditional|chinoischi|zho|zh-hk|Chinese; Hong Kong|chinoischk|||Chuukese|chuukdiff --git a/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs b/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.csindex 3e7d6ed1dc..16eb7a75c6 100644--- a/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs+++ b/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs@@ -40,7 +40,7 @@ namespace Jellyfin.Server.Implementations.Tests.Localizationawait localizationManager.LoadAll();var cultures = localizationManager.GetCultures().ToList();- Assert.Equal(190, cultures.Count);+ Assert.Equal(191, cultures.Count);var germany = cultures.FirstOrDefault(x => x.TwoLetterISOLanguageName.Equals("de", StringComparison.Ordinal));Assert.NotNull(germany);