mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
24 lines
935 B
JavaScript
24 lines
935 B
JavaScript
|
/* Norwegian initialisation for the jQuery UI date picker plugin. */
|
||
|
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
|
||
|
jQuery(function($){
|
||
|
$.datepicker.regional['no'] = {
|
||
|
closeText: 'Lukk',
|
||
|
prevText: '«Forrige',
|
||
|
nextText: 'Neste»',
|
||
|
currentText: 'I dag',
|
||
|
monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
|
||
|
'Juli','August','September','Oktober','November','Desember'],
|
||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
|
||
|
'Jul','Aug','Sep','Okt','Nov','Des'],
|
||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||
|
weekHeader: 'Uke',
|
||
|
dateFormat: 'yy-mm-dd',
|
||
|
firstDay: 0,
|
||
|
isRTL: false,
|
||
|
showMonthAfterYear: false,
|
||
|
yearSuffix: ''};
|
||
|
$.datepicker.setDefaults($.datepicker.regional['no']);
|
||
|
});
|