aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/i18n/ui.datepicker-he.js
diff options
context:
space:
mode:
Diffstat (limited to 'template-common/lib/ui/i18n/ui.datepicker-he.js')
-rw-r--r--template-common/lib/ui/i18n/ui.datepicker-he.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/template-common/lib/ui/i18n/ui.datepicker-he.js b/template-common/lib/ui/i18n/ui.datepicker-he.js
new file mode 100644
index 000000000..87f55f729
--- /dev/null
+++ b/template-common/lib/ui/i18n/ui.datepicker-he.js
@@ -0,0 +1,22 @@
+/* Hebrew initialisation for the UI Datepicker extension. */
+/* Written by Amir Hardon (ahardon at gmail dot com). */
+jQuery(document).ready(function(){
+ jQuery.datepicker.regional['he'] = {clearText: 'נקה', clearStatus: '',
+ closeText: 'סגור', closeStatus: '',
+ prevText: '<הקודם', prevStatus: '',
+ nextText: 'הבא>', nextStatus: '',
+ currentText: 'היום', currentStatus: '',
+ monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
+ 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ monthStatus: '', yearStatus: '',
+ weekHeader: 'Sm', weekStatus: '',
+ dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
+ dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ dayStatus: 'DD', dateStatus: 'DD, M d',
+ dateFormat: 'dd/mm/yy', firstDay: 0,
+ initStatus: '', isRTL: true};
+ jQuery.datepicker.setDefaults($.datepicker.regional['he']);
+});