From feae3109a36c9883f54a5f81ead4e861bbd6d4b7 Mon Sep 17 00:00:00 2001 From: chladog Date: Mon, 17 Sep 2018 12:08:36 +0200 Subject: [PATCH] Create datepicker-ht.js Creole Haitian initialisation for the jQuery UI date picker plugin. --- ui/i18n/datepicker-ht.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ui/i18n/datepicker-ht.js diff --git a/ui/i18n/datepicker-ht.js b/ui/i18n/datepicker-ht.js new file mode 100644 index 000000000..ac197df8f --- /dev/null +++ b/ui/i18n/datepicker-ht.js @@ -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; + +} ) );