aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorBjørn Johansen <bjorn.johansen@metronet.no>2012-12-03 08:05:06 +0100
committerScott González <scott.gonzalez@gmail.com>2012-12-05 11:03:11 -0500
commit70f5d18c715ba1c759393856f0f70acfddbee07a (patch)
tree73db80d9a1d8e6101301f484c59711c24a641619 /ui
parentcff4c3c4f3395d3f9837bd1affb8107d7ae65841 (diff)
downloadjquery-ui-70f5d18c715ba1c759393856f0f70acfddbee07a.tar.gz
jquery-ui-70f5d18c715ba1c759393856f0f70acfddbee07a.zip
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>
Diffstat (limited to 'ui')
-rw-r--r--ui/i18n/jquery.ui.datepicker-nb.js22
-rw-r--r--ui/i18n/jquery.ui.datepicker-nn.js22
2 files changed, 44 insertions, 0 deletions
diff --git a/ui/i18n/jquery.ui.datepicker-nb.js b/ui/i18n/jquery.ui.datepicker-nb.js
new file mode 100644
index 000000000..845a5052d
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-nb.js
@@ -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: '&#xAB;Forrige',
+ nextText: 'Neste&#xBB;',
+ 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']);
+});
diff --git a/ui/i18n/jquery.ui.datepicker-nn.js b/ui/i18n/jquery.ui.datepicker-nn.js
new file mode 100644
index 000000000..b55245ee6
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-nn.js
@@ -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: '&#xAB;Førre',
+ nextText: 'Neste&#xBB;',
+ 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']);
+});