Skip to content

Commit

Permalink
CLDR-17462 update ST status icons for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed May 29, 2024
1 parent 8f99ed9 commit 154c842
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/cldr-apps/js/src/esm/cldrTable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -676,14 +676,13 @@ function getStatusIcon(statusClass) {
switch (statusClass) {
case "approved":
case "contributed":
return "✓"; // U+2713
case "missing":
case "provisional":
case "unconfirmed":
return "✘"; // U+2718
return cldrText.get(`status_${statusClass}`);
case "inherited-provisional":
case "inherited-unconfirmed":
return "↑"; // U+2191
return cldrText.get("inherited");
default:
return "?"; // U+003F
}
Expand Down
8 changes: 8 additions & 0 deletions tools/cldr-apps/js/src/esm/cldrText.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,14 @@ const strings = {
report_notAcceptable: "Not Acceptable",
report_missing: "Missing",

// for approval status, see VoteResolver.Status
status_approved: "✅",
status_contributed: "☑️",
status_provisional: "✖️",
status_unconfirmed: "❌",
status_missing: "❓️",
status_inherited: "↑",

special_about: "About Survey Tool",
special_announcements: "Announcements",
special_account: "Account Settings",
Expand Down

0 comments on commit 154c842

Please sign in to comment.