diff options
| author | Eliya Wolfram Konzo <ewkonzo@gmail.com> | 2026-04-15 20:59:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-15 19:59:13 +0200 |
| commit | 8510cfe77de66d12bc88fcbef4b06ca637d90ab8 (patch) | |
| tree | 43b4a64e5cf0b9e0a390ab9388348de4cc70a676 | |
| parent | eb6c0e093552974d09476135ce95501ef01f5c46 (diff) | |
Added Tanzania countries.json (#14406)
* Update countries.json
Added Tanzania
* Fix order countries.json
* Fix tests
---------
Co-authored-by: Bond_009 <bond.009@outlook.com>
| -rw-r--r-- | Emby.Server.Implementations/Localization/countries.json | 6 | ||||
| -rw-r--r-- | tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Localization/countries.json b/Emby.Server.Implementations/Localization/countries.json index d92dc880b1..811a7d4094 100644 --- a/Emby.Server.Implementations/Localization/countries.json +++ b/Emby.Server.Implementations/Localization/countries.json @@ -750,6 +750,12 @@ "TwoLetterISORegionName": "TJ" }, { + "DisplayName": "Tanzania", + "Name": "TZ", + "ThreeLetterISORegionName": "TZA", + "TwoLetterISORegionName": "TZ" + }, + { "DisplayName": "Thailand", "Name": "TH", "ThreeLetterISORegionName": "THA", diff --git a/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs b/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs index 700ac5dced..5bcfc580ff 100644 --- a/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs +++ b/tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs @@ -22,7 +22,7 @@ namespace Jellyfin.Server.Implementations.Tests.Localization }); var countries = localizationManager.GetCountries().ToList(); - Assert.Equal(139, countries.Count); + Assert.Equal(140, countries.Count); var germany = countries.FirstOrDefault(x => x.Name.Equals("DE", StringComparison.Ordinal)); Assert.NotNull(germany); |
