Skip to content

Commit deda38b

Browse files
authored
Merge branch 'master' into master
2 parents c044b55 + fe18d3b commit deda38b

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

lib/src/i18n_model.dart

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ enum LocaleType {
3131
no,
3232
sq,
3333
sv,
34-
kh
34+
kh,
35+
tw
3536
}
3637

3738
final _i18nModel = {
@@ -224,6 +225,17 @@ final _i18nModel = {
224225
'am': '上午',
225226
'pm': '下午'
226227
},
228+
'tw': {
229+
//Traditional Chinese
230+
'cancel': '取消',
231+
'done': '確定',
232+
'today': '今天',
233+
'monthShort': ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
234+
'monthLong': ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
235+
'day': ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期日'],
236+
'am': '上午',
237+
'pm': '下午'
238+
},
227239
'nl': {
228240
//Dutch
229241
'cancel': 'Annuleer',
@@ -1078,7 +1090,7 @@ final _i18nModel = {
10781090
'Setembre',
10791091
'Octubre',
10801092
'Novembre',
1081-
'Decembre'
1093+
'Desembre'
10821094
],
10831095
'day': ['Dl', 'Dt', 'Dc', 'Dj', 'Dv', 'Ds', 'Dg'],
10841096
'am': 'AM',
@@ -1334,6 +1346,8 @@ Map<String, dynamic> i18nObjInLocale(LocaleType type) {
13341346
return _i18nModel['sv'];
13351347
case LocaleType.kh:
13361348
return _i18nModel['kh'];
1349+
case LocaleType.tw:
1350+
return _i18nModel['tw'];
13371351
default:
13381352
return _i18nModel['en'];
13391353
}

0 commit comments

Comments
 (0)