mirror of
https://github.com/supanadit/todo.git
synced 2024-11-26 20:36:21 +00:00
38 lines
1.2 KiB
JavaScript
38 lines
1.2 KiB
JavaScript
|
/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */
|
||
|
/* David De Sloovere @DavidDeSloovere */
|
||
|
( function( factory ) {
|
||
|
if ( typeof define === "function" && define.amd ) {
|
||
|
|
||
|
// AMD. Register as an anonymous module.
|
||
|
define( [ "../widgets/datepicker" ], factory );
|
||
|
} else {
|
||
|
|
||
|
// Browser globals
|
||
|
factory( jQuery.datepicker );
|
||
|
}
|
||
|
}( function( datepicker ) {
|
||
|
|
||
|
datepicker.regional[ "nl-BE" ] = {
|
||
|
closeText: "Sluiten",
|
||
|
prevText: "←",
|
||
|
nextText: "→",
|
||
|
currentText: "Vandaag",
|
||
|
monthNames: [ "januari", "februari", "maart", "april", "mei", "juni",
|
||
|
"juli", "augustus", "september", "oktober", "november", "december" ],
|
||
|
monthNamesShort: [ "jan", "feb", "mrt", "apr", "mei", "jun",
|
||
|
"jul", "aug", "sep", "okt", "nov", "dec" ],
|
||
|
dayNames: [ "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" ],
|
||
|
dayNamesShort: [ "zon", "maa", "din", "woe", "don", "vri", "zat" ],
|
||
|
dayNamesMin: [ "zo", "ma", "di", "wo", "do", "vr", "za" ],
|
||
|
weekHeader: "Wk",
|
||
|
dateFormat: "dd/mm/yy",
|
||
|
firstDay: 1,
|
||
|
isRTL: false,
|
||
|
showMonthAfterYear: false,
|
||
|
yearSuffix: "" };
|
||
|
datepicker.setDefaults( datepicker.regional[ "nl-BE" ] );
|
||
|
|
||
|
return datepicker.regional[ "nl-BE" ];
|
||
|
|
||
|
} ) );
|