mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
a6499c0dee
Ref #14246 Ref gh-1588
38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
/* Afrikaans initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Renier Pretorius. */
|
|
( 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[ "af" ] = {
|
|
closeText: "Selekteer",
|
|
prevText: "Vorige",
|
|
nextText: "Volgende",
|
|
currentText: "Vandag",
|
|
monthNames: [ "Januarie","Februarie","Maart","April","Mei","Junie",
|
|
"Julie","Augustus","September","Oktober","November","Desember" ],
|
|
monthNamesShort: [ "Jan", "Feb", "Mrt", "Apr", "Mei", "Jun",
|
|
"Jul", "Aug", "Sep", "Okt", "Nov", "Des" ],
|
|
dayNames: [ "Sondag", "Maandag", "Dinsdag", 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag' ],
|
|
dayNamesShort: [ 'Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat' ],
|
|
dayNamesMin: [ 'So','Ma','Di','Wo','Do','Vr','Sa' ],
|
|
weekHeader: 'Wk',
|
|
dateFormat: 'dd/mm/yy',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: '' };
|
|
datepicker.setDefaults( datepicker.regional[ 'af' ] );
|
|
|
|
return datepicker.regional[ 'af' ];
|
|
|
|
} ) );
|