Skip to content

Commit feae310

Browse files
authored
Create datepicker-ht.js
Creole Haitian initialisation for the jQuery UI date picker plugin.
1 parent 74f8a0a commit feae310

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

ui/i18n/datepicker-ht.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Creole Haitian initialisation for the jQuery UI date picker plugin. */
2+
( function( factory ) {
3+
if ( typeof define === "fonksyon" && define.amd ) {
4+
5+
// AMD. Register as an anonymous module.
6+
define( [ "../widgets/datepicker" ], factory );
7+
} else {
8+
9+
// Browser globals
10+
factory( jQuery.datepicker );
11+
}
12+
}( function( datepicker ) {
13+
14+
datepicker.regional.ht = {
15+
closeText: "Fèmen",
16+
prevText: "Pase a",
17+
nextText: "Aprè a",
18+
currentText: "Jodiya",
19+
monthNames: [ "janvye", "fevriye", "mas", "avril", "me", "jen",
20+
"jiyè", "out", "sektanm", "oktòb", "novanb", "desanm" ],
21+
monthNamesShort: [ "janv.", "fevr.", "mas", "avr.", "me", "jen",
22+
"jiyè.", "Out", "sekt.", "okt.", "nov.", "des." ],
23+
dayNames: [ "dimanch", "lendi", "madi", "mèkredi", "jedi", "vandredi", "samdi" ],
24+
dayNamesShort: [ "dim.", "len.", "mad.", "mèk.", "jed.", "van.", "sam." ],
25+
dayNamesMin: [ "D","L","M","M","J","V","S" ],
26+
weekHeader: "Sem.",
27+
dateFormat: "jj/mm/aa",
28+
firstDay: 1,
29+
isRTL: false,
30+
showMonthAfterYear: false,
31+
yearSuffix: "" };
32+
datepicker.setDefaults( datepicker.regional.ht );
33+
34+
return datepicker.regional.ht;
35+
36+
} ) );

0 commit comments

Comments
 (0)