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>
This commit is contained in:
Eliya Wolfram Konzo
2026-04-15 20:59:13 +03:00
committed by GitHub
parent eb6c0e0935
commit 8510cfe77d
2 changed files with 7 additions and 1 deletions

View File

@@ -749,6 +749,12 @@
"ThreeLetterISORegionName": "TAJ",
"TwoLetterISORegionName": "TJ"
},
{
"DisplayName": "Tanzania",
"Name": "TZ",
"ThreeLetterISORegionName": "TZA",
"TwoLetterISORegionName": "TZ"
},
{
"DisplayName": "Thailand",
"Name": "TH",

View File

@@ -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);