Fix some warnings

This commit is contained in:
Bond_009
2022-01-22 15:40:05 +01:00
parent 68e7072698
commit 1c14c86b20
22 changed files with 106 additions and 161 deletions

View File

@@ -147,13 +147,7 @@ namespace Emby.Server.Implementations.Localization
threeletterNames = new[] { parts[0], parts[1] };
}
list.Add(new CultureDto
{
DisplayName = name,
Name = name,
ThreeLetterISOLanguageNames = threeletterNames,
TwoLetterISOLanguageName = twoCharName
});
list.Add(new CultureDto(name, name, twoCharName, threeletterNames));
}
}