Use GetCultureInfo to cache the data

This commit is contained in:
Patrick Farwick 2023-09-24 00:43:26 +02:00
parent b522cdab6a
commit df8c910df6

View File

@ -195,7 +195,7 @@ namespace Jellyfin.Plugin.Bookshelf.Providers.ComicBookInfo
{
try
{
return new CultureInfo(language).DisplayName;
return CultureInfo.GetCultureInfo(language).DisplayName;
}
catch (Exception)
{