Skip to content

Commit

Permalink
continue
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Jul 5, 2024
1 parent 715ebb4 commit df40686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mix_tasks/update_english_translations.ex
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ defmodule Mix.Tasks.UpdateEnglishTranslations do
Map.new(subdivisions, fn {"subdivision", attrs, [en_name]} ->
{"type", short_code} = Enum.find(attrs, fn {k, _} -> k == "type" end)

# https://unicode-org.atlassian.net/jira/software/c/projects/CLDR/issues/CLDR-17777
{short_code, en_name |> String.replace("’", "'") |> String.replace("²", "")}
# https://unicode-org.atlassian.net/jira/software/c/projects/CLDR/issues/CLDR-17783
{short_code, en_name |> String.replace("’", "'") |> String.replace(["²", "³"], "")}
end)
end

Expand Down
1 change: 0 additions & 1 deletion priv/iso_3166-2.en-translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@
"EE-39": "Hiiu",
"EE-74": "Saare",
"EE-84": "Viljandi",
"EE-899": "Viljandi³",
"EG-ALX": "Alexandria",
"EG-ASN": "Aswan",
"EG-AST": "Asyut",
Expand Down

0 comments on commit df40686

Please sign in to comment.