Skip to content

Commit 9a43f79

Browse files
committed
Merge pull request #249 from MJafarMashhadi/master
Persian translation
2 parents f9b2d84 + 69095e0 commit 9a43f79

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/flipclock/js/lang/fa-ir.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 English Language Pack
5+
*
6+
* This class will used to translate tokens into the English language.
7+
*
8+
*/
9+
10+
FlipClock.Lang.Persian = {
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['fa'] = FlipClock.Lang.Persian;
24+
FlipClock.Lang['fa-ir'] = FlipClock.Lang.Persian;
25+
FlipClock.Lang['persian'] = FlipClock.Lang.Persian;
26+
27+
}(jQuery));

0 commit comments

Comments
 (0)