Update Datepicker localisations and add missing ones. The nb_NO is just a renamed nb. The files are straight from upstream at https://github.com/jquery/jquery-ui/tree/main/ui/i18n

This commit is contained in:
Jyri-Petteri Paloposki 2022-08-02 11:35:30 +03:00
parent 24e3ff53b8
commit 21373cea43
13 changed files with 233 additions and 72 deletions

View file

@ -1,6 +1,8 @@
/* 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.
@ -10,20 +12,21 @@
// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {
} )( function( datepicker ) {
"use strict";
datepicker.regional.he = {
closeText: "סגור",
prevText: "<הקודם",
nextText: "הבא>",
prevText: "הקודם",
nextText: "הבא",
currentText: "היום",
monthNames: [ "ינואר","פברואר","מרץ","אפריל","מאי","יוני",
"יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר" ],
monthNamesShort: [ "ינו","פבר","מרץ","אפר","מאי","יוני",
"יולי","אוג","ספט","אוק","נוב","דצמ" ],
dayNames: [ "ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת" ],
dayNamesShort: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ],
dayNamesMin: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ],
monthNames: [ "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני",
"יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר" ],
monthNamesShort: [ "ינו", "פבר", "מרץ", "אפר", "מאי", "יוני",
"יולי", "אוג", "ספט", "אוק", "נוב", "דצמ" ],
dayNames: [ "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת" ],
dayNamesShort: [ "א'", "ב'", "ג'", "ד'", "ה'", "ו'", "שבת" ],
dayNamesMin: [ "א'", "ב'", "ג'", "ד'", "ה'", "ו'", "שבת" ],
weekHeader: "Wk",
dateFormat: "dd/mm/yy",
firstDay: 0,
@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.he );
return datepicker.regional.he;
} ) );
} );