We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e98cd8f + 233d7b0 commit 2eed8aeCopy full SHA for 2eed8ae
1 file changed
src/flipclock/js/lang/zh-cn.js
@@ -0,0 +1,27 @@
1
+(function($) {
2
+
3
+ /**
4
+ * FlipClock Chinese Language Pack
5
+ *
6
+ * This class will used to translate tokens into the Chinese language.
7
8
+ */
9
10
+ FlipClock.Lang.Chinese = {
11
12
+ 'years' : '年',
13
+ 'months' : '月',
14
+ 'days' : '日',
15
+ 'hours' : '时',
16
+ 'minutes' : '分',
17
+ 'seconds' : '秒'
18
19
+ };
20
21
+ /* Create various aliases for convenience */
22
23
+ FlipClock.Lang['zh'] = FlipClock.Lang.Chinese;
24
+ FlipClock.Lang['zh-cn'] = FlipClock.Lang.Chinese;
25
+ FlipClock.Lang['chinese'] = FlipClock.Lang.Chinese;
26
27
+}(jQuery));
0 commit comments