Skip to content

Commit 1afce7d

Browse files
committed
spelling fix
1 parent 9b6d51b commit 1afce7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nager.Country.Translation/CountryProviderExtension.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public static ICountryInfo GetCountryByNameConsiderTranslation(
2525
}
2626

2727
var translationProvider = new TranslationProvider();
28-
var countryTanslation = translationProvider.GetCountryTranslation(country.Alpha2Code);
29-
if (countryTanslation.Translations.Any(translation => translation.Name.Equals(countryName, StringComparison.OrdinalIgnoreCase)))
28+
var countryTranslation = translationProvider.GetCountryTranslation(country.Alpha2Code);
29+
if (countryTranslation.Translations.Any(translation => translation.Name.Equals(countryName, StringComparison.OrdinalIgnoreCase)))
3030
{
3131
return country;
3232
}

0 commit comments

Comments
 (0)