Datepicker: improved translation of Norwegian names for days and months. Fixed #6986 - Improved translation of day and month names

This commit is contained in:
Martin Solli 2011-02-14 05:49:33 -08:00
parent c4a7f45dbc
commit d505c7c66d

View File

@ -1,23 +1,23 @@
/* Norwegian initialisation for the jQuery UI date picker plugin. */ /* Norwegian initialisation for the jQuery UI date picker plugin. */
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['no'] = { $.datepicker.regional['no'] = {
closeText: 'Lukk', closeText: 'Lukk',
prevText: '«Forrige', prevText: '«Forrige',
nextText: 'Neste»', nextText: 'Neste»',
currentText: 'I dag', currentText: 'I dag',
monthNames: ['Januar','Februar','Mars','April','Mai','Juni', monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
'Juli','August','September','Oktober','November','Desember'], monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'],
'Jul','Aug','Sep','Okt','Nov','Des'], dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'],
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNamesMin: ['sø','ma','ti','on','to','fr','lø'],
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], weekHeader: 'Uke',
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], dateFormat: 'dd.mm.yy',
weekHeader: 'Uke', firstDay: 1,
dateFormat: 'dd.mm.yy', isRTL: false,
firstDay: 1, showMonthAfterYear: false,
isRTL: false, yearSuffix: ''
showMonthAfterYear: false, };
yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['no']);
$.datepicker.setDefaults($.datepicker.regional['no']);
}); });