Skip to content

Commit

Permalink
DEV: update regions js and missing uae translation (#573)
Browse files Browse the repository at this point in the history
Follow up to #568

Adding the required region.js addition for UAE ae by running bin/rails javascript:update_constants in Discourse root.
  • Loading branch information
dbattersby committed May 23, 2024
1 parent 567bf66 commit 6b0a680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/javascripts/discourse/lib/regions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Update it by running `rake javascript:update_constants`

export const HOLIDAY_REGIONS = [
"ae",
"ar",
"at",
"au",
Expand Down Expand Up @@ -381,6 +382,7 @@ export const TIME_ZONE_TO_REGION = {
"Asia/Bangkok": "th",
"Asia/Barnaul": "ru",
"Asia/Chita": "ru",
"Asia/Dubai": "ae",
"Asia/Hong_Kong": "hk",
"Asia/Irkutsk": "ru",
"Asia/Jakarta": "id",
Expand Down
1 change: 1 addition & 0 deletions config/locales/client.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ en:
none: "None"
use_current_region: "Use Current Region"
names:
ae: "United Arab Emirates"
ar: "Argentina"
at: "Austria"
au_act: "Australia (au_act)"
Expand Down

0 comments on commit 6b0a680

Please sign in to comment.