summaryrefslogtreecommitdiff
path: root/frontend/static/js/datepicker/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js
diff options
context:
space:
mode:
authorroot <root@lalalizard.com>2012-12-16 14:08:05 -0500
committerroot <root@lalalizard.com>2012-12-16 14:08:05 -0500
commit81cc4f7f291b87f50ff5d6249d1cf56333dfa34e (patch)
treee3dd601c7a1bb084e93e233924df3b9d76b1fc36 /frontend/static/js/datepicker/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js
parent9b88fff43a091872b7f7d80cd97128b3e57076f3 (diff)
Datepicker
Diffstat (limited to 'frontend/static/js/datepicker/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js')
-rw-r--r--frontend/static/js/datepicker/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/frontend/static/js/datepicker/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js b/frontend/static/js/datepicker/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js
new file mode 100644
index 0000000..81de4da
--- /dev/null
+++ b/frontend/static/js/datepicker/development-bundle/ui/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: '&#x3c;قبلي',
+ nextText: 'بعدي&#x3e;',
+ 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