summaryrefslogtreecommitdiff
path: root/src/main/resources/static/plugins/fullcalendar/locales/en-nz.js
blob: 612d2edd623a003c49b72d082f5a017b3ed245c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FullCalendar.globalLocales.push(function () {
  'use strict';

  var enNz = {
    code: 'en-nz',
    week: {
      dow: 1, // Monday is the first day of the week.
      doy: 4, // The week that contains Jan 4th is the first week of the year.
    },
    buttonHints: {
      prev: 'Previous $0',
      next: 'Next $0',
      today: 'This $0',
    },
    viewHint: '$0 view',
    navLinkHint: 'Go to $0',
    moreLinkHint(eventCnt) {
      return `Show ${eventCnt} more event${eventCnt === 1 ? '' : 's'}`
    },
  };

  return enNz;

}());