mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Added Norwegian Bokmål and Norwegian Nynorsk locales. Fixes #8886 - Datepicker: Add Norwegian Bokmål (nb) and Norwegian Nynorsk (nn) locales.
Signed-off-by: Bjørn Johansen <bjorn.johansen@metronet.no>
This commit is contained in:
parent
cff4c3c4f3
commit
70f5d18c71
@ -54,8 +54,10 @@
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-mk.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-nb.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-nl-BE.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-nn.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-pt.js"></script>
|
||||
@ -144,7 +146,9 @@
|
||||
<option value="mk">Macedonian</option>
|
||||
<option value="ml">Malayalam</option>
|
||||
<option value="ms">Malaysian (Bahasa Malaysia)</option>
|
||||
<option value="nb">Norwegian (Bokmål)</option>
|
||||
<option value="no">Norwegian (Norsk)</option>
|
||||
<option value="nn">Norwegian (Nynorsk)</option>
|
||||
<option value="pl">Polish (Polski)</option>
|
||||
<option value="pt">Portuguese (Português)</option>
|
||||
<option value="pt-BR">Portuguese/Brazilian (Português)</option>
|
||||
|
22
ui/i18n/jquery.ui.datepicker-nb.js
vendored
Normal file
22
ui/i18n/jquery.ui.datepicker-nb.js
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
/* Norwegian Bokmål initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Bjørn Johansen (post@bjornjohansen.no). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['nb'] = {
|
||||
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: 'dd.mm.yy',
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''
|
||||
};
|
||||
$.datepicker.setDefaults($.datepicker.regional['nb']);
|
||||
});
|
22
ui/i18n/jquery.ui.datepicker-nn.js
vendored
Normal file
22
ui/i18n/jquery.ui.datepicker-nn.js
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
/* Norwegian Nynorsk initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Bjørn Johansen (post@bjornjohansen.no). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['nn'] = {
|
||||
closeText: 'Lukk',
|
||||
prevText: '«Førre',
|
||||
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: ['sun','mån','tys','ons','tor','fre','lau'],
|
||||
dayNames: ['sundag','måndag','tysdag','onsdag','torsdag','fredag','laurdag'],
|
||||
dayNamesMin: ['su','må','ty','on','to','fr','la'],
|
||||
weekHeader: 'Veke',
|
||||
dateFormat: 'dd.mm.yy',
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''
|
||||
};
|
||||
$.datepicker.setDefaults($.datepicker.regional['nn']);
|
||||
});
|
Loading…
Reference in New Issue
Block a user