xref: /dokuwiki/inc/lang/fa/jquery.ui.datepicker.js (revision 2df1b3b1b742fc6177dc17065e03c9480d48384f)
1/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
2/* Javad Mowlanezhad -- jmowla@gmail.com */
3/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
4(function( factory ) {
5	if ( typeof define === "function" && define.amd ) {
6
7		// AMD. Register as an anonymous module.
8		define([ "../datepicker" ], factory );
9	} else {
10
11		// Browser globals
12		factory( jQuery.datepicker );
13	}
14}(function( datepicker ) {
15
16datepicker.regional['fa'] = {
17	closeText: 'بستن',
18	prevText: '<قبلی',
19	nextText: 'بعدی>',
20	currentText: 'امروز',
21	monthNames: [
22		'ژانویه',
23		'فوریه',
24		'مارس',
25		'آوریل',
26		'مه',
27		'ژوئن',
28		'ژوئیه',
29		'اوت',
30		'سپتامبر',
31		'اکتبر',
32		'نوامبر',
33		'دسامبر'
34	],
35	monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
36	dayNames: [
37		'يکشنبه',
38		'دوشنبه',
39		'سه‌شنبه',
40		'چهارشنبه',
41		'پنجشنبه',
42		'جمعه',
43		'شنبه'
44	],
45	dayNamesShort: [
46		'ی',
47		'د',
48		'س',
49		'چ',
50		'پ',
51		'ج',
52		'ش'
53	],
54	dayNamesMin: [
55		'ی',
56		'د',
57		'س',
58		'چ',
59		'پ',
60		'ج',
61		'ش'
62	],
63	weekHeader: 'هف',
64	dateFormat: 'yy/mm/dd',
65	firstDay: 6,
66	isRTL: true,
67	showMonthAfterYear: false,
68	yearSuffix: ''};
69datepicker.setDefaults(datepicker.regional['fa']);
70
71return datepicker.regional['fa'];
72
73}));
74