blob: 7636655e3a0c7d418d4e3fcce4445a4fa836c75d [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3/**
4 * This file is part of the Carbon package.
5 *
6 * (c) Brian Nesbitt <brian@nesbot.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12/*
13 * Authors:
14 * - Philippe Vaucher
15 * - Tsutomu Kuroda
16 * - dan-nl
17 * - Simon Lelorrain (slelorrain)
18 */
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010019
20use Carbon\CarbonInterface;
21
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020022return [
23 'year' => ':count Joer',
24 'y' => ':countJ',
25 'month' => ':count Mount|:count Méint',
26 'm' => ':countMo',
27 'week' => ':count Woch|:count Wochen',
28 'w' => ':countWo|:countWo',
29 'day' => ':count Dag|:count Deeg',
30 'd' => ':countD',
31 'hour' => ':count Stonn|:count Stonnen',
32 'h' => ':countSto',
33 'minute' => ':count Minutt|:count Minutten',
34 'min' => ':countM',
35 'second' => ':count Sekonn|:count Sekonnen',
36 's' => ':countSek',
37
38 'ago' => 'virun :time',
39 'from_now' => 'an :time',
40 'before' => ':time virdrun',
41 'after' => ':time duerno',
42
43 'diff_today' => 'Haut',
44 'diff_yesterday' => 'Gëschter',
45 'diff_yesterday_regexp' => 'Gëschter(?:\\s+um)?',
46 'diff_tomorrow' => 'Muer',
47 'diff_tomorrow_regexp' => 'Muer(?:\\s+um)?',
48 'diff_today_regexp' => 'Haut(?:\\s+um)?',
49 'formats' => [
50 'LT' => 'H:mm [Auer]',
51 'LTS' => 'H:mm:ss [Auer]',
52 'L' => 'DD.MM.YYYY',
53 'LL' => 'D. MMMM YYYY',
54 'LLL' => 'D. MMMM YYYY H:mm [Auer]',
55 'LLLL' => 'dddd, D. MMMM YYYY H:mm [Auer]',
56 ],
57
58 'calendar' => [
59 'sameDay' => '[Haut um] LT',
60 'nextDay' => '[Muer um] LT',
61 'nextWeek' => 'dddd [um] LT',
62 'lastDay' => '[Gëschter um] LT',
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010063 'lastWeek' => function (CarbonInterface $date) {
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020064 // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
65 switch ($date->dayOfWeek) {
66 case 2:
67 case 4:
68 return '[Leschten] dddd [um] LT';
69 default:
70 return '[Leschte] dddd [um] LT';
71 }
72 },
73 'sameElse' => 'L',
74 ],
75
76 'months' => ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
77 'months_short' => ['Jan.', 'Febr.', 'Mrz.', 'Abr.', 'Mee', 'Jun.', 'Jul.', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.'],
78 'weekdays' => ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'],
79 'weekdays_short' => ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'],
80 'weekdays_min' => ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'],
81 'ordinal' => ':number.',
82 'first_day_of_week' => 1,
83 'day_of_first_week_of_year' => 4,
84 'list' => [', ', ' an '],
85 'meridiem' => ['moies', 'mëttes'],
86 'weekdays_short_standalone' => ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'],
87 'months_short_standalone' => ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
88];