Skip to content

Commit 2c60125

Browse files
committed
Merge pull request #232 from YukinobuKurata/patch-1
Added Japanese language pack
2 parents 4d747db + e99b302 commit 2c60125

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

  • src/flipclock/js/lang

src/flipclock/js/lang/ja-jp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
(function($) {
2+
3+
/**
4+
* FlipClock Japanese Language Pack
5+
*
6+
* This class will used to translate tokens into the Japanese language.
7+
*
8+
*/
9+
10+
FlipClock.Lang.Japanese = {
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['jp'] = FlipClock.Lang.Japanese;
24+
FlipClock.Lang['ja-jp'] = FlipClock.Lang.Japanese;
25+
FlipClock.Lang['japanese'] = FlipClock.Lang.Japanese;
26+
27+
}(jQuery));

0 commit comments

Comments
 (0)