Skip to content

Commit

Permalink
MAINTENANCE: Update to CLDR 43
Browse files Browse the repository at this point in the history
  • Loading branch information
jslachta committed Jul 3, 2023
1 parent 129a3ae commit 3a5cbe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LocaleNames/LocaleTranslations.cs
Expand Up @@ -127,7 +127,8 @@ private bool LoadDictionary(string key, string postfix, ref IDictionary<string,
string targetManifestResourceName = this
.GetType().Assembly
.GetManifestResourceNames()
.FirstOrDefault(i => i.EndsWith(resourceName));
.ToList()
.Find(i => i.EndsWith(resourceName));

if (targetManifestResourceName != null)
{
Expand Down

0 comments on commit 3a5cbe9

Please sign in to comment.