Merge pull request #734 from Bond-009/culture

Fix more analyzer warnings
This commit is contained in:
Joshua M. Boniface
2019-01-31 21:11:13 -05:00
committed by GitHub
49 changed files with 285 additions and 256 deletions

View File

@@ -492,11 +492,11 @@ namespace Emby.Server.Implementations.Localization
if (parts.Length == 2)
{
culture = parts[0].ToLower() + "-" + parts[1].ToUpper();
culture = parts[0].ToLowerInvariant() + "-" + parts[1].ToUpperInvariant();
}
else
{
culture = culture.ToLower();
culture = culture.ToLowerInvariant();
}
return culture + ".json";