diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-01-31 10:31:27 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-01-31 10:31:27 -0500 |
commit | 85dfcdf766cba709213c81ca2b8432b797aa45c1 (patch) | |
tree | 5af11abc346e9e8edab8712ccc02c7dbed66449d /demos/datepicker/jquery.ui.datepicker-he.js | |
parent | d36d116d360bbe54b7700b95185a6eb2069ed637 (diff) | |
download | jquery-ui-85dfcdf766cba709213c81ca2b8432b797aa45c1.tar.gz jquery-ui-85dfcdf766cba709213c81ca2b8432b797aa45c1.zip |
Datepicker demo: Simplify localization demo so that jqueryui.com works properly.
Diffstat (limited to 'demos/datepicker/jquery.ui.datepicker-he.js')
-rw-r--r-- | demos/datepicker/jquery.ui.datepicker-he.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/demos/datepicker/jquery.ui.datepicker-he.js b/demos/datepicker/jquery.ui.datepicker-he.js new file mode 100644 index 000000000..b9e8deec5 --- /dev/null +++ b/demos/datepicker/jquery.ui.datepicker-he.js @@ -0,0 +1,23 @@ +/* Hebrew initialisation for the UI Datepicker extension. */ +/* Written by Amir Hardon (ahardon at gmail dot com). */ +jQuery(function($){ + $.datepicker.regional['he'] = { + closeText: 'סגור', + prevText: '<הקודם', + nextText: 'הבא>', + currentText: 'היום', + monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', + 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], + monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', + 'יולי','אוג','ספט','אוק','נוב','דצמ'], + dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], + dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['he']); +}); |