summaryrefslogtreecommitdiff
path: root/inc/lang/fa/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-01-17 15:36:34 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-01-17 15:36:34 +0100
commit138bfd16df9cb583107097f32be288b8705cd035 (patch)
treeb1cdc519bc671d389e98feb65788abc4d6cae1be /inc/lang/fa/jquery.ui.datepicker.js
parent1ed1b9511ffd2fd1ba4efbcdf902d56e1dadedc2 (diff)
downloadrpg-138bfd16df9cb583107097f32be288b8705cd035.tar.gz
rpg-138bfd16df9cb583107097f32be288b8705cd035.tar.bz2
localize jQuery UI date picker FS#2912
Diffstat (limited to 'inc/lang/fa/jquery.ui.datepicker.js')
-rw-r--r--inc/lang/fa/jquery.ui.datepicker.js59
1 files changed, 59 insertions, 0 deletions
diff --git a/inc/lang/fa/jquery.ui.datepicker.js b/inc/lang/fa/jquery.ui.datepicker.js
new file mode 100644
index 000000000..bb957f6d8
--- /dev/null
+++ b/inc/lang/fa/jquery.ui.datepicker.js
@@ -0,0 +1,59 @@
+/* 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']);
+});