Skip to content

Commit b8f6562

Browse files
committed
Merge pull request #251 from kittinan/master
Added Thai language pack
2 parents 9a43f79 + a09a3e7 commit b8f6562

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/flipclock/js/lang/th-th.js

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

0 commit comments

Comments
 (0)