Skip to content

Commit d2f4825

Browse files
author
Meysam
committed
Add persian language file to i18n
1 parent 81976d7 commit d2f4825

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Persian translation for the jQuery Timepicker Addon */
2+
/* Written by Meysam Pour Ganji */
3+
(function($) {
4+
$.timepicker.regional['fa'] = {
5+
timeOnlyTitle: 'انتخاب زمان',
6+
timeText: 'زمان',
7+
hourText: 'ساعت',
8+
minuteText: 'دقیقه',
9+
secondText: 'ثانیه',
10+
millisecText: 'میلی ثانیه',
11+
microsecText: 'میکرو ثانیه',
12+
timezoneText: 'منطقه زمانی',
13+
currentText: 'الان',
14+
closeText: 'انتخاب',
15+
timeFormat: 'HH:mm',
16+
timeSuffix: '',
17+
amNames: ['قبل ظهر', 'AM', 'A'],
18+
pmNames: ['بعد ظهر', 'PM', 'P'],
19+
isRTL: true
20+
};
21+
$.timepicker.setDefaults($.timepicker.regional['fa']);
22+
})(jQuery);
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Persian translation for the jQuery Timepicker Addon */
2+
/* Written by Meysam Pour Ganji */
3+
(function($) {
4+
$.timepicker.regional['fa'] = {
5+
timeOnlyTitle: 'انتخاب زمان',
6+
timeText: 'زمان',
7+
hourText: 'ساعت',
8+
minuteText: 'دقیقه',
9+
secondText: 'ثانیه',
10+
millisecText: 'میلی ثانیه',
11+
microsecText: 'میکرو ثانیه',
12+
timezoneText: 'منطقه زمانی',
13+
currentText: 'الان',
14+
closeText: 'انتخاب',
15+
timeFormat: 'HH:mm',
16+
timeSuffix: '',
17+
amNames: ['قبل ظهر', 'AM', 'A'],
18+
pmNames: ['بعد ظهر', 'PM', 'P'],
19+
isRTL: true
20+
};
21+
$.timepicker.setDefaults($.timepicker.regional['fa']);
22+
})(jQuery);

0 commit comments

Comments
 (0)