1 /* Hebrew initialisation for the UI Datepicker extension. */
2 /* Written by Amir Hardon (ahardon at gmail dot com). */
3 ( function( factory ) {
4 if ( typeof define === "function" && define.amd ) {
6 // AMD. Register as an anonymous module.
7 define( [ "../widgets/datepicker" ], factory );
11 factory( jQuery.datepicker );
13 }( function( datepicker ) {
15 datepicker.regional.he = {
17 prevText: "<הקודם",
18 nextText: "הבא>",
20 monthNames: [ "ינואר","פברואר","מרץ","אפריל","מאי","יוני",
21 "יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר" ],
22 monthNamesShort: [ "ינו","פבר","מרץ","אפר","מאי","יוני",
23 "יולי","אוג","ספט","אוק","נוב","דצמ" ],
24 dayNames: [ "ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת" ],
25 dayNamesShort: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ],
26 dayNamesMin: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ],
28 dateFormat: "dd/mm/yy",
31 showMonthAfterYear: false,
33 datepicker.setDefaults( datepicker.regional.he );
35 return datepicker.regional.he;