Skip to content

Commit

Permalink
Fixed error resolving Kurdish country codes
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Mar 16, 2023
1 parent 34f541a commit 22615be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/label.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function localizeLayers(layers, locales) {
// Neither the upcase expression operator nor the text-transform layout property is locale-aware, so uppercase the name upfront.
?.toLocaleUpperCase(locales)
// Word boundaries are less discernible in uppercase text, so pad each word by an additional space.
.replaceAll(" ", " "),
.replaceAll(" ", " ") ?? null,
])
);
Object.assign(countryNamesByCode, localizedCountryNamesByCode);
Expand Down

0 comments on commit 22615be

Please sign in to comment.