Create datepicker-ht.js

Creole Haitian initialisation for the jQuery UI date picker plugin.
This commit is contained in:
chladog 2018-09-17 12:08:36 +02:00 committed by GitHub
parent 74f8a0ac95
commit feae3109a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

36
ui/i18n/datepicker-ht.js Normal file
View File

@ -0,0 +1,36 @@
/* Creole Haitian initialisation for the jQuery UI date picker plugin. */
( function( factory ) {
if ( typeof define === "fonksyon" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {
datepicker.regional.ht = {
closeText: "Fèmen",
prevText: "Pase a",
nextText: "Aprè a",
currentText: "Jodiya",
monthNames: [ "janvye", "fevriye", "mas", "avril", "me", "jen",
"jiyè", "out", "sektanm", "oktòb", "novanb", "desanm" ],
monthNamesShort: [ "janv.", "fevr.", "mas", "avr.", "me", "jen",
"jiyè.", "Out", "sekt.", "okt.", "nov.", "des." ],
dayNames: [ "dimanch", "lendi", "madi", "mèkredi", "jedi", "vandredi", "samdi" ],
dayNamesShort: [ "dim.", "len.", "mad.", "mèk.", "jed.", "van.", "sam." ],
dayNamesMin: [ "D","L","M","M","J","V","S" ],
weekHeader: "Sem.",
dateFormat: "jj/mm/aa",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.ht );
return datepicker.regional.ht;
} ) );