jquery-ui/ui/i18n/datepicker-nn.js

53 lines
1.2 KiB
JavaScript
Raw Normal View History

/* Norwegian Nynorsk initialisation for the jQuery UI date picker plugin. */
/* Written by Bjørn Johansen (post@bjornjohansen.no). */
2015-08-24 13:00:11 +00:00
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
2015-08-24 13:00:11 +00:00
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
} )( function( datepicker ) {
"use strict";
2015-08-24 13:00:11 +00:00
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" ],
2015-08-24 13:00:11 +00:00
weekHeader: "Veke",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
2015-08-24 13:00:11 +00:00
yearSuffix: ""
};
2015-08-24 13:00:11 +00:00
datepicker.setDefaults( datepicker.regional.nn );
2015-08-24 13:00:11 +00:00
return datepicker.regional.nn;
} );