mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Remove all instances of en-US culture
This commit is contained in:
@@ -60,8 +60,6 @@ namespace MediaBrowser.LocalMetadata.Images
|
||||
|
||||
private readonly IFileSystem _fileSystem;
|
||||
|
||||
private readonly CultureInfo _usCulture = new CultureInfo("en-US");
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LocalImageProvider"/> class.
|
||||
/// </summary>
|
||||
@@ -434,7 +432,7 @@ namespace MediaBrowser.LocalMetadata.Images
|
||||
|
||||
var seasonMarker = seasonNumber.Value == 0
|
||||
? "-specials"
|
||||
: seasonNumber.Value.ToString("00", _usCulture);
|
||||
: seasonNumber.Value.ToString("00", CultureInfo.InvariantCulture);
|
||||
|
||||
// Get this one directly from the file system since we have to go up a level
|
||||
if (!string.Equals(prefix, seasonMarker, StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user