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

@ -3,6 +3,8 @@
Stéphane Nahmani (sholby@sholby.net),
Stéphane Raimbault <stephane.raimbault@gmail.com> */
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@ -12,7 +14,8 @@
// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {
} )( function( datepicker ) {
"use strict";
datepicker.regional.fr = {
closeText: "Fermer",
@ -25,7 +28,7 @@ datepicker.regional.fr = {
"juil.", "août", "sept.", "oct.", "nov.", "déc." ],
dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ],
dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ],
dayNamesMin: [ "D","L","M","M","J","V","S" ],
dayNamesMin: [ "D", "L", "M", "M", "J", "V", "S" ],
weekHeader: "Sem.",
dateFormat: "dd/mm/yy",
firstDay: 1,
@ -36,4 +39,4 @@ datepicker.setDefaults( datepicker.regional.fr );
return datepicker.regional.fr;
} ) );
} );