Skip to content

Commit 1d76148

Browse files
trentrichardson#814 - @meysampg - Add persian language file to i18n
1 parent 19e1e6a commit 1d76148

8 files changed

+77
-11
lines changed

dist/i18n/jquery-ui-timepicker-addon-i18n.js

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Timepicker Addon - v1.5.4 - 2015-05-11
1+
/*! jQuery Timepicker Addon - v1.5.5 - 2015-05-11
22
* http://trentrichardson.com/examples/timepicker
33
* Copyright (c) 2015 Trent Richardson; Licensed MIT */
44

@@ -248,6 +248,28 @@
248248
isRTL: false
249249
};
250250

251+
// source: src/i18n/jquery-ui-timepicker-fa.js
252+
/* Persian translation for the jQuery Timepicker Addon */
253+
/* Written by Meysam Pour Ganji */
254+
255+
$.timepicker.regional['fa'] = {
256+
timeOnlyTitle: 'انتخاب زمان',
257+
timeText: 'زمان',
258+
hourText: 'ساعت',
259+
minuteText: 'دقیقه',
260+
secondText: 'ثانیه',
261+
millisecText: 'میلی ثانیه',
262+
microsecText: 'میکرو ثانیه',
263+
timezoneText: 'منطقه زمانی',
264+
currentText: 'الان',
265+
closeText: 'انتخاب',
266+
timeFormat: 'HH:mm',
267+
timeSuffix: '',
268+
amNames: ['قبل ظهر', 'AM', 'A'],
269+
pmNames: ['بعد ظهر', 'PM', 'P'],
270+
isRTL: true
271+
};
272+
251273
// source: src/i18n/jquery-ui-timepicker-fi.js
252274
/* Finnish translation for the jQuery Timepicker Addon */
253275
/* Written by Juga Paazmaya (http://github.com/paazmaya) */

dist/i18n/jquery-ui-timepicker-addon-i18n.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/i18n/jquery-ui-timepicker-fa.js

+22
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);

dist/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3>Requirements</h3>
113113

114114
<br />
115115
<h3>Version</h3>
116-
<p>Version 1.5.4</p>
116+
<p>Version 1.5.5</p>
117117

118118
<p>Last updated on 2015-05-11</p>
119119
<p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under the MIT license.</p>

dist/jquery-ui-timepicker-addon.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Timepicker Addon - v1.5.4 - 2015-05-11
1+
/*! jQuery Timepicker Addon - v1.5.5 - 2015-05-11
22
* http://trentrichardson.com/examples/timepicker
33
* Copyright (c) 2015 Trent Richardson; Licensed MIT */
44
(function (factory) {
@@ -22,7 +22,7 @@
2222
*/
2323
$.extend($.ui, {
2424
timepicker: {
25-
version: "1.5.4"
25+
version: "1.5.5"
2626
}
2727
});
2828

@@ -2240,6 +2240,6 @@
22402240
/*
22412241
* Keep up with the version
22422242
*/
2243-
$.timepicker.version = "1.5.4";
2243+
$.timepicker.version = "1.5.5";
22442244

22452245
}));

dist/jquery-ui-timepicker-addon.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery-ui-timepicker-addon.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/jquery-ui-timepicker-fa.js

+22
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)