Merge pull request #8328 from tchak/fix-pays-sort
fix(pays): some Île are written with î for some reason…
This commit is contained in:
commit
9be1030cba
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class APIGeoService
|
|||
I18nData.countries(locale)
|
||||
.merge(get_localized_additional_countries(locale))
|
||||
.map { |(code, name)| { name:, code: } }
|
||||
.sort_by { I18n.transliterate(_1[:name]) }
|
||||
.sort_by { I18n.transliterate(_1[:name].tr('î', 'Î')) }
|
||||
end
|
||||
|
||||
def country_name(code, locale: I18n.locale)
|
||||
|
|
Loading…
Reference in a new issue