mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
3126e12869
Fixes gh-2048 Closes gh-2050 Ref gh-2067
41 lines
1.3 KiB
JavaScript
41 lines
1.3 KiB
JavaScript
/* Hebrew initialisation for the UI Datepicker extension. */
|
||
/* Written by Amir Hardon (ahardon at gmail dot com). */
|
||
( function( factory ) {
|
||
"use strict";
|
||
|
||
if ( typeof define === "function" && define.amd ) {
|
||
|
||
// AMD. Register as an anonymous module.
|
||
define( [ "../widgets/datepicker" ], factory );
|
||
} else {
|
||
|
||
// Browser globals
|
||
factory( jQuery.datepicker );
|
||
}
|
||
} )( function( datepicker ) {
|
||
"use strict";
|
||
|
||
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 );
|
||
|
||
return datepicker.regional.he;
|
||
|
||
} );
|