mirror of
https://github.com/jellyfin/jellyfin-plugin-bookshelf.git
synced 2025-02-17 04:17:54 +00:00
Use GetCultureInfo to cache the data
This commit is contained in:
parent
b522cdab6a
commit
df8c910df6
@ -195,7 +195,7 @@ namespace Jellyfin.Plugin.Bookshelf.Providers.ComicBookInfo
|
||||
{
|
||||
try
|
||||
{
|
||||
return new CultureInfo(language).DisplayName;
|
||||
return CultureInfo.GetCultureInfo(language).DisplayName;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user