Skip to content

Commit 11f4e0a

Browse files
committed
Added Simplified Chinese
1 parent 99225aa commit 11f4e0a

File tree

2 files changed

+75
-1
lines changed

2 files changed

+75
-1
lines changed

docs/demo.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ <h3 class="row">Hide and Show Properties</h3>
133133
Choose a language:
134134
<select id="lang" onchange="start(event)">
135135
<option value='ar'>Arabic (ar)</option>
136+
<option value='scn'>Simplified Chinese (scn)</option>
136137
<option value='cn'>Chinese (cn)</option>
137138
<option value='cs'>Czech (cs)</option>
138139
<option value='nl'>Dutch (Standard)</option>

src/lang.ts

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,79 @@ const ar = {
7373
'tooltipLoading': 'جاري التحميل...'
7474
}
7575

76+
const scn = {
77+
'january': '一月',
78+
'february': '二月',
79+
'march': '三月',
80+
'april': '四月',
81+
'maylong': '五月',
82+
'june': '六月',
83+
'july': '七月',
84+
'august': '八月',
85+
'september': '九月',
86+
'october': '十月',
87+
'november': '十一月',
88+
'december': '十二月',
89+
'jan': '一月',
90+
'feb': '二月',
91+
'mar': '三月',
92+
'apr': '四月',
93+
'may': '五月',
94+
'jun': '六月',
95+
'jul': '七月',
96+
'aug': '八月',
97+
'sep': '九月',
98+
'oct': '十月',
99+
'nov': '十一月',
100+
'dec': '十二月',
101+
'sunday': '星期日',
102+
'monday': '星期一',
103+
'tuesday': '星期二',
104+
'wednesday': '星期三',
105+
'thursday': '星期四',
106+
'friday': '星期五',
107+
'saturday': '星期六',
108+
'sun': '星期日',
109+
'mon': '星期一',
110+
'tue': '星期二',
111+
'wed': '星期三',
112+
'thu': '星期四',
113+
'fri': '星期五',
114+
'sat': '星期六',
115+
'res': '资源',
116+
'dur': '时长',
117+
'comp': '完成度',
118+
'completion': '完成',
119+
'startdate': '起始日期',
120+
'planstartdate': '计划起始日期',
121+
'enddate': '截止日期',
122+
'planenddate': '计划截止日期',
123+
'cost': '成本',
124+
'moreinfo': "更多信息",
125+
'nodata': 'No tasks found',
126+
'notes': '备注',
127+
'format': '格式',
128+
'hour': '时',
129+
'day': '日',
130+
'week': '星期',
131+
'month': '月',
132+
'quarter': '季',
133+
'hours': '小时',
134+
'days': '天',
135+
'weeks': '周',
136+
'months': '月',
137+
'quarters': '季',
138+
'hr': '小时',
139+
'dy': '天',
140+
'wk': '周',
141+
'mth': '月',
142+
'qtr': '季',
143+
'hrs': '小时',
144+
'dys': '天',
145+
'wks': '周',
146+
'mths': '月',
147+
'qtrs': '季'
148+
}
76149
const cn = {
77150
'january': '一月',
78151
'february': '二月',
@@ -1482,4 +1555,4 @@ const tr = {
14821555
}
14831556

14841557

1485-
export { ar, cn, cs, en, es, de, fi, fr, he, hu, it, id, ja, ko, nl, pl, pt, ru, sv, tr }
1558+
export { ar, scn, cn, cs, en, es, de, fi, fr, he, hu, it, id, ja, ko, nl, pl, pt, ru, sv, tr }

0 commit comments

Comments
 (0)