lb.php
2.9 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
<?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:
* - Philippe Vaucher
* - Tsutomu Kuroda
* - dan-nl
* - Simon Lelorrain (slelorrain)
*/
use Carbon\CarbonInterface;
return [
'year' => ':count Joer',
'y' => ':countJ',
'month' => ':count Mount|:count Méint',
'm' => ':countMo',
'week' => ':count Woch|:count Wochen',
'w' => ':countWo|:countWo',
'day' => ':count Dag|:count Deeg',
'd' => ':countD',
'hour' => ':count Stonn|:count Stonnen',
'h' => ':countSto',
'minute' => ':count Minutt|:count Minutten',
'min' => ':countM',
'second' => ':count Sekonn|:count Sekonnen',
's' => ':countSek',
'ago' => 'virun :time',
'from_now' => 'an :time',
'before' => ':time virdrun',
'after' => ':time duerno',
'diff_today' => 'Haut',
'diff_yesterday' => 'Gëschter',
'diff_yesterday_regexp' => 'Gëschter(?:\\s+um)?',
'diff_tomorrow' => 'Muer',
'diff_tomorrow_regexp' => 'Muer(?:\\s+um)?',
'diff_today_regexp' => 'Haut(?:\\s+um)?',
'formats' => [
'LT' => 'H:mm [Auer]',
'LTS' => 'H:mm:ss [Auer]',
'L' => 'DD.MM.YYYY',
'LL' => 'D. MMMM YYYY',
'LLL' => 'D. MMMM YYYY H:mm [Auer]',
'LLLL' => 'dddd, D. MMMM YYYY H:mm [Auer]',
],
'calendar' => [
'sameDay' => '[Haut um] LT',
'nextDay' => '[Muer um] LT',
'nextWeek' => 'dddd [um] LT',
'lastDay' => '[Gëschter um] LT',
'lastWeek' => function (CarbonInterface $date) {
// Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
switch ($date->dayOfWeek) {
case 2:
case 4:
return '[Leschten] dddd [um] LT';
default:
return '[Leschte] dddd [um] LT';
}
},
'sameElse' => 'L',
],
'months' => ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
'months_short' => ['Jan.', 'Febr.', 'Mrz.', 'Abr.', 'Mee', 'Jun.', 'Jul.', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.'],
'weekdays' => ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'],
'weekdays_short' => ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'],
'weekdays_min' => ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'],
'ordinal' => ':number.',
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
'list' => [', ', ' an '],
'meridiem' => ['moies', 'mëttes'],
'weekdays_short_standalone' => ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'],
'months_short_standalone' => ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
];