8000 Create datepicker-ht.js by chladog · Pull Request #1870 · jquery/jquery-ui · GitHub
[go: up one dir, main page]

Skip to content

Create datepicker-ht.js #1870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Create datepicker-ht.js
Creole Haitian initialisation for the jQuery UI date picker plugin.
  • Loading branch information
chladog authored Sep 17, 2018
commit feae3109a36c9883f54a5f81ead4e861bbd6d4b7
36 changes: 36 additions & 0 deletions ui/i18n/datepicker-ht.js
Original file line number Diff line number Diff line change
@@ -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;

} ) );
0