From 5375e84b75eb23e730f9fd44d042a413970bdc7f Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 16 Aug 2011 19:44:01 +0000 Subject: Copying plugins into 0.6 release branch --- .../jqueryui/js/i18n/jquery.ui.datepicker-fa.js | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js (limited to 'plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js') diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js new file mode 100644 index 000000000..adb3709fe --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js @@ -0,0 +1,23 @@ +/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ +/* Javad Mowlanezhad -- jmowla@gmail.com */ +/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ +jQuery(function($) { + $.datepicker.regional['fa'] = { + closeText: 'بستن', + prevText: '<قبلي', + nextText: 'بعدي>', + currentText: 'امروز', + monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', + 'مهر','آبان','آذر','دي','بهمن','اسفند'], + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], + dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], + dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], + dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], + weekHeader: 'هف', + dateFormat: 'yy/mm/dd', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fa']); +}); \ No newline at end of file -- cgit v1.2.3