Skip to content

Commit 74d39e4

Browse files
committed
translation added
1 parent 3be3f05 commit 74d39e4

File tree

2 files changed

+55
-24
lines changed

2 files changed

+55
-24
lines changed
Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
1+
import { trans } from "i18n";
2+
13
export const timeZoneOptions = [
2-
{ label: "(UTC-12:00) International Date Line West", value: "Etc/GMT+12" },
3-
{ label: "(UTC-11:00) Coordinated Universal Time-11", value: "Etc/GMT+11" },
4-
{ label: "(UTC-10:00) Hawaii", value: "Pacific/Honolulu" },
5-
{ label: "(UTC-09:00) Alaska", value: "America/Anchorage" },
6-
{ label: "(UTC-08:00) Baja California", value: "America/Tijuana" },
7-
{ label: "(UTC-07:00) Pacific Daylight Time (US & Canada)", value: "America/Los_Angeles" }, { label: "(UTC-06:00) Central Time (US & Canada)", value: "America/Chicago" },
8-
{ label: "(UTC-05:00) Eastern Time (US & Canada)", value: "America/New_York" },
9-
{ label: "(UTC-04:00) Atlantic Time (Canada)", value: "America/Halifax" },
10-
{ label: "(UTC-03:00) Buenos Aires", value: "America/Argentina/Buenos_Aires" },
11-
{ label: "(UTC-02:00) Coordinated Universal Time-02", value: "Etc/GMT+2" },
12-
{ label: "(UTC-01:00) Cape Verde Is.", value: "Atlantic/Cape_Verde" },
13-
{ label: "Etc/UTC", value: "Etc/UTC" },
14-
{ label: "(UTC+01:00) Amsterdam, Berlin, Rome, Vienna", value: "Europe/Berlin" },
15-
{ label: "(UTC+02:00) Athens, Bucharest", value: "Europe/Bucharest" },
16-
{ label: "(UTC+03:00) Moscow, St. Petersburg", value: "Europe/Moscow" },
17-
{ label: "(UTC+04:00) Abu Dhabi, Muscat", value: "Asia/Dubai" },
18-
{ label: "(UTC+05:00) Islamabad, Karachi", value: "Asia/Karachi" },
19-
{ label: "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", value: "Asia/Kolkata" },
20-
{ label: "(UTC+06:00) Dhaka", value: "Asia/Dhaka" },
21-
{ label: "(UTC+07:00) Bangkok, Hanoi, Jakarta", value: "Asia/Bangkok" },
22-
{ label: "(UTC+08:00) Beijing, Chongqing, Hong Kong", value: "Asia/Shanghai" },
23-
{ label: "(UTC+09:00) Tokyo, Seoul", value: "Asia/Tokyo" },
24-
{ label: "(UTC+10:00) Sydney, Melbourne", value: "Australia/Sydney" },
25-
{ label: "User Choice", value: "UserChoice" },
4+
{ label: trans("timeZone.UTC-12:00"), value: "Etc/GMT+12" },
5+
{ label: trans("timeZone.UTC-11:00"), value: "Etc/GMT+11" },
6+
{ label: trans("timeZone.UTC-10:00"), value: "Pacific/Honolulu" },
7+
{ label: trans("timeZone.UTC-09:00"), value: "America/Anchorage" },
8+
{ label: trans("timeZone.UTC-08:00"), value: "America/Tijuana" },
9+
{ label: trans("timeZone.UTC-07:00"), value: "America/Los_Angeles" },
10+
{ label: trans("timeZone.UTC-06:00"), value: "America/Chicago" },
11+
{ label: trans("timeZone.UTC-05:00"), value: "America/New_York" },
12+
{ label: trans("timeZone.UTC-04:00"), value: "America/Halifax" },
13+
{ label: trans("timeZone.UTC-03:00"), value: "America/Argentina/Buenos_Aires" },
14+
{ label: trans("timeZone.UTC-02:00"), value: "Etc/GMT+2" },
15+
{ label: trans("timeZone.UTC-01:00"), value: "Atlantic/Cape_Verde" },
16+
{ label: trans("timeZone.UTC+00:00"), value: "Etc/UTC" },
17+
{ label: trans("timeZone.UTC+01:00"), value: "Europe/Berlin" },
18+
{ label: trans("timeZone.UTC+02:00"), value: "Europe/Bucharest" },
19+
{ label: trans("timeZone.UTC+03:00"), value: "Europe/Moscow" },
20+
{ label: trans("timeZone.UTC+04:00"), value: "Asia/Dubai" },
21+
{ label: trans("timeZone.UTC+05:00"), value: "Asia/Karachi" },
22+
{ label: trans("timeZone.UTC+05:30"), value: "Asia/Kolkata" },
23+
{ label: trans("timeZone.UTC+06:00"), value: "Asia/Dhaka" },
24+
{ label: trans("timeZone.UTC+07:00"), value: "Asia/Bangkok" },
25+
{ label: trans("timeZone.UTC+08:00"), value: "Asia/Shanghai" },
26+
{ label: trans("timeZone.UTC+09:00"), value: "Asia/Tokyo" },
27+
{ label: trans("timeZone.UTC+10:00"), value: "Australia/Sydney" },
28+
{ label: trans("timeZone.UserChoice"), value: "UserChoice" },
2629
];

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3612,6 +3612,34 @@ export const en = {
36123612
"mobileNavIconSize": "Icon Size",
36133613
},
36143614

3615+
"timeZone": {
3616+
"UTC-12:00": "(UTC-12:00) Int'l Date Line W",
3617+
"UTC-11:00": "(UTC-11:00) UTC-11",
3618+
"UTC-10:00": "(UTC-10:00) Hawaii",
3619+
"UTC-09:00": "(UTC-09:00) Alaska",
3620+
"UTC-08:00": "(UTC-08:00) Baja CA",
3621+
"UTC-07:00": "(UTC-07:00) Pacific Time (US)",
3622+
"UTC-06:00": "(UTC-06:00) Central Time (US)",
3623+
"UTC-05:00": "(UTC-05:00) Eastern Time (US)",
3624+
"UTC-04:00": "(UTC-04:00) Atlantic Time",
3625+
"UTC-03:00": "(UTC-03:00) Buenos Aires",
3626+
"UTC-02:00": "(UTC-02:00) UTC-02",
3627+
"UTC-01:00": "(UTC-01:00) Cape Verde",
3628+
"UTC+00:00": "(UTC 00:00) UTC",
3629+
"UTC+01:00": "(UTC+01:00) Berlin, Rome",
3630+
"UTC+02:00": "(UTC+02:00) Athens, Bucharest",
3631+
"UTC+03:00": "(UTC+03:00) Moscow",
3632+
"UTC+04:00": "(UTC+04:00) Dubai, Muscat",
3633+
"UTC+05:00": "(UTC+05:00) Karachi",
3634+
"UTC+05:30": "(UTC+05:30) New Delhi",
3635+
"UTC+06:00": "(UTC+06:00) Dhaka",
3636+
"UTC+07:00": "(UTC+07:00) Bangkok",
3637+
"UTC+08:00": "(UTC+08:00) Beijing, HK",
3638+
"UTC+09:00": "(UTC+09:00) Tokyo, Seoul",
3639+
"UTC+10:00": "(UTC+10:00) Sydney",
3640+
"UserChoice": "User Choice"
3641+
},
3642+
36153643
tour: {
36163644
section1Title: "Steps",
36173645
section1Subtitle: "Steps",

0 commit comments

Comments
 (0)