[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 // moment.js locale configuration 2 // locale : norwegian nynorsk (nn) 3 // author : https://github.com/mechuwind 4 5 (function (factory) { 6 if (typeof define === 'function' && define.amd) { 7 define(['moment'], factory); // AMD 8 } else if (typeof exports === 'object') { 9 module.exports = factory(require('../moment')); // Node 10 } else { 11 factory(window.moment); // Browser global 12 } 13 }(function (moment) { 14 return moment.defineLocale('nn', { 15 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), 16 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), 17 weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), 18 weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'), 19 weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'), 20 longDateFormat : { 21 LT : 'HH:mm', 22 L : 'DD.MM.YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY LT', 25 LLLL : 'dddd D MMMM YYYY LT' 26 }, 27 calendar : { 28 sameDay: '[I dag klokka] LT', 29 nextDay: '[I morgon klokka] LT', 30 nextWeek: 'dddd [klokka] LT', 31 lastDay: '[I går klokka] LT', 32 lastWeek: '[Føregåande] dddd [klokka] LT', 33 sameElse: 'L' 34 }, 35 relativeTime : { 36 future : 'om %s', 37 past : 'for %s sidan', 38 s : 'nokre sekund', 39 m : 'eit minutt', 40 mm : '%d minutt', 41 h : 'ein time', 42 hh : '%d timar', 43 d : 'ein dag', 44 dd : '%d dagar', 45 M : 'ein månad', 46 MM : '%d månader', 47 y : 'eit år', 48 yy : '%d år' 49 }, 50 ordinal : '%d.', 51 week : { 52 dow : 1, // Monday is the first day of the week. 53 doy : 4 // The week that contains Jan 4th is the first week of the year. 54 } 55 }); 56 }));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |