File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ import '../localedata.dart' ;
2
+ import '../identifier_position.dart' ;
3
+
4
+ class LocaleZhCN extends ILocaleData {
5
+ final String _localeString;
6
+ String get localeString => _localeString;
7
+
8
+ LocaleEn ([this ._localeString = "zh-CN" ]);
9
+
10
+ String get seconds => '几秒钟' ;
11
+
12
+ String get aMinute => '一分钟' ;
13
+ String get minutes => '%i分钟' ;
14
+
15
+ String get anHour => '一小时' ;
16
+ String get hours => '%i小时' ;
17
+
18
+ String get aDay => '一天' ;
19
+ String get days => '%i天' ;
20
+
21
+ String get aMonth => '一个月' ;
22
+ String get months => '%i月' ;
23
+
24
+ String get aYear => '一年' ;
25
+ String get years => '%i年' ;
26
+
27
+ String get futureIdentifier => '之后' ;
28
+ String get pastIdentifier => '之前' ;
29
+
30
+ IdentifierPosition get futurePosition => IdentifierPosition .prepend;
31
+ IdentifierPosition get pastPosition => IdentifierPosition .append;
32
+ }
You can’t perform that action at this time.
0 commit comments