From 1afce7d873c2b53cdf67193e40308ab83b337cf3 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Wed, 14 Aug 2024 23:28:40 +0200 Subject: [PATCH] spelling fix --- src/Nager.Country.Translation/CountryProviderExtension.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nager.Country.Translation/CountryProviderExtension.cs b/src/Nager.Country.Translation/CountryProviderExtension.cs index 531f763..44798fb 100644 --- a/src/Nager.Country.Translation/CountryProviderExtension.cs +++ b/src/Nager.Country.Translation/CountryProviderExtension.cs @@ -25,8 +25,8 @@ public static ICountryInfo GetCountryByNameConsiderTranslation( } var translationProvider = new TranslationProvider(); - var countryTanslation = translationProvider.GetCountryTranslation(country.Alpha2Code); - if (countryTanslation.Translations.Any(translation => translation.Name.Equals(countryName, StringComparison.OrdinalIgnoreCase))) + var countryTranslation = translationProvider.GetCountryTranslation(country.Alpha2Code); + if (countryTranslation.Translations.Any(translation => translation.Name.Equals(countryName, StringComparison.OrdinalIgnoreCase))) { return country; }