nl.php
3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Roy
* - Stephan
* - François B
* - Tim Fish
* - Kevin Huang
* - Jacob Middag
* - JD Isaacks
* - Roy
* - Stephan
* - François B
* - Tim Fish
* - Jacob Middag
* - JD Isaacks
* - Propaganistas
* - MegaXLR
* - adriaanzon
* - MonkeyPhysics
* - JeroenG
* - RikSomers
* - proclame
* - Rik de Groot (hwdegroot)
*/
return [
'year' => ':count jaar|:count jaar',
'a_year' => 'een jaar|:count jaar',
'y' => ':countj',
'month' => ':count maand|:count maanden',
'a_month' => 'een maand|:count maanden',
'm' => ':countmnd',
'week' => ':count week|:count weken',
'a_week' => 'een week|:count weken',
'w' => ':countw',
'day' => ':count dag|:count dagen',
'a_day' => 'een dag|:count dagen',
'd' => ':countd',
'hour' => ':count uur|:count uur',
'a_hour' => 'een uur|:count uur',
'h' => ':countu',
'minute' => ':count minuut|:count minuten',
'a_minute' => 'een minuut|:count minuten',
'min' => ':countmin',
'second' => ':count seconde|:count seconden',
'a_second' => 'een paar seconden|:count seconden',
's' => ':counts',
'ago' => ':time geleden',
'from_now' => 'over :time',
'after' => ':time later',
'before' => ':time eerder',
'diff_now' => 'nu',
'diff_today' => 'vandaag',
'diff_today_regexp' => 'vandaag(?:\\s+om)?',
'diff_yesterday' => 'gisteren',
'diff_yesterday_regexp' => 'gisteren(?:\\s+om)?',
'diff_tomorrow' => 'morgen',
'diff_tomorrow_regexp' => 'morgen(?:\\s+om)?',
'diff_after_tomorrow' => 'overmorgen',
'diff_before_yesterday' => 'eergisteren',
'period_recurrences' => ':count keer',
'period_interval' => function (string $interval = '') {
/** @var string $output */
$output = preg_replace('/^(een|één|1)\s+/u', '', $interval);
if (preg_match('/^(een|één|1)( jaar|j| uur|u)/u', $interval)) {
return "elk $output";
}
return "elke $output";
},
'period_start_date' => 'van :date',
'period_end_date' => 'tot :date',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD-MM-YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[vandaag om] LT',
'nextDay' => '[morgen om] LT',
'nextWeek' => 'dddd [om] LT',
'lastDay' => '[gisteren om] LT',
'lastWeek' => '[afgelopen] dddd [om] LT',
'sameElse' => 'L',
],
'ordinal' => function ($number) {
return $number.(($number === 1 || $number === 8 || $number >= 20) ? 'ste' : 'de');
},
'months' => ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
'months_short' => ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
'mmm_suffix' => '.',
'weekdays' => ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
'weekdays_short' => ['zo.', 'ma.', 'di.', 'wo.', 'do.', 'vr.', 'za.'],
'weekdays_min' => ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
'list' => [', ', ' en '],
'meridiem' => ['\'s ochtends', '\'s middags'],
];