aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Localization/LocalizationManager.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-02-14 16:57:00 -0700
committerGitHub <noreply@github.com>2022-02-14 16:57:00 -0700
commit4ef0099598d0d21fe8b808f2c1ab126ede4b7b2f (patch)
tree347cfa7b445fbe0456b45606424899e82310e2df /Emby.Server.Implementations/Localization/LocalizationManager.cs
parent4acab009632251656158e1e9ded68574f64be967 (diff)
parent5d28c5547e69b0d40e0bd2792335c9f85dba655b (diff)
Merge pull request #7233 from Bond-009/warn60
Diffstat (limited to 'Emby.Server.Implementations/Localization/LocalizationManager.cs')
-rw-r--r--Emby.Server.Implementations/Localization/LocalizationManager.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs
index dbd70342a..281dbb00b 100644
--- a/Emby.Server.Implementations/Localization/LocalizationManager.cs
+++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs
@@ -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));
}
}