2011-05-04 20:29:13 +00:00
|
|
|
|
/* Hebrew initialisation for the UI Datepicker extension. */
|
2008-06-04 02:34:33 +00:00
|
|
|
|
/* Written by Amir Hardon (ahardon at gmail dot com). */
|
2013-07-17 15:10:30 +00:00
|
|
|
|
(function( factory ) {
|
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
|
}
|
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
datepicker.regional['he'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
|
closeText: 'סגור',
|
2011-02-19 14:54:15 +00:00
|
|
|
|
prevText: '<הקודם',
|
|
|
|
|
nextText: 'הבא>',
|
2009-01-04 18:11:41 +00:00
|
|
|
|
currentText: 'היום',
|
2008-06-04 02:34:33 +00:00
|
|
|
|
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
|
|
|
|
|
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
|
2012-02-01 19:47:56 +00:00
|
|
|
|
monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
|
|
|
|
|
'יולי','אוג','ספט','אוק','נוב','דצמ'],
|
2008-06-04 02:34:33 +00:00
|
|
|
|
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
|
|
|
|
|
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
|
|
|
|
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
2009-07-29 08:33:33 +00:00
|
|
|
|
weekHeader: 'Wk',
|
2009-04-01 10:34:16 +00:00
|
|
|
|
dateFormat: 'dd/mm/yy',
|
|
|
|
|
firstDay: 0,
|
|
|
|
|
isRTL: true,
|
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
|
datepicker.setDefaults(datepicker.regional['he']);
|
|
|
|
|
|
|
|
|
|
return datepicker.regional['he'];
|
|
|
|
|
|
|
|
|
|
}));
|