Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?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
 * - Ash
15
 * - François B
16
 * - Marco Perrando
17
 * - Massimiliano Caniparoli
18
 * - JD Isaacks
19
 * - Andrea Martini
20
 * - Francesco Marasco
21
 * - Tizianoz93
22
 * - Davide Casiraghi (davide-casiraghi)
23
 * - Pete Scopes (pdscopes)
24
 */
25
 
26
use Carbon\CarbonInterface;
27
 
28
return [
29
    'year' => ':count anno|:count anni',
30
    'a_year' => 'un anno|:count anni',
31
    'y' => ':count anno|:count anni',
32
    'month' => ':count mese|:count mesi',
33
    'a_month' => 'un mese|:count mesi',
34
    'm' => ':count mese|:count mesi',
35
    'week' => ':count settimana|:count settimane',
36
    'a_week' => 'una settimana|:count settimane',
37
    'w' => ':count set.',
38
    'day' => ':count giorno|:count giorni',
39
    'a_day' => 'un giorno|:count giorni',
40
    'd' => ':count g|:count gg',
41
    'hour' => ':count ora|:count ore',
42
    'a_hour' => 'un\'ora|:count ore',
43
    'h' => ':count h',
44
    'minute' => ':count minuto|:count minuti',
45
    'a_minute' => 'un minuto|:count minuti',
46
    'min' => ':count min.',
47
    'second' => ':count secondo|:count secondi',
48
    'a_second' => 'alcuni secondi|:count secondi',
49
    's' => ':count sec.',
50
    'millisecond' => ':count millisecondo|:count millisecondi',
51
    'a_millisecond' => 'un millisecondo|:count millisecondi',
52
    'ms' => ':countms',
53
    'microsecond' => ':count microsecondo|:count microsecondi',
54
    'a_microsecond' => 'un microsecondo|:count microsecondi',
55
    'µs' => ':countµs',
56
    'ago' => ':time fa',
57
    'from_now' => function ($time) {
58
        return (preg_match('/^\d.+$/', $time) ? 'tra' : 'in')." $time";
59
    },
60
    'after' => ':time dopo',
61
    'before' => ':time prima',
62
    'diff_now' => 'proprio ora',
63
    'diff_today' => 'Oggi',
64
    'diff_today_regexp' => 'Oggi(?:\\s+alle)?',
65
    'diff_yesterday' => 'ieri',
66
    'diff_yesterday_regexp' => 'Ieri(?:\\s+alle)?',
67
    'diff_tomorrow' => 'domani',
68
    'diff_tomorrow_regexp' => 'Domani(?:\\s+alle)?',
69
    'diff_before_yesterday' => 'l\'altro ieri',
70
    'diff_after_tomorrow' => 'dopodomani',
71
    'period_interval' => 'ogni :interval',
72
    'period_start_date' => 'dal :date',
73
    'period_end_date' => 'al :date',
74
    'formats' => [
75
        'LT' => 'HH:mm',
76
        'LTS' => 'HH:mm:ss',
77
        'L' => 'DD/MM/YYYY',
78
        'LL' => 'D MMMM YYYY',
79
        'LLL' => 'D MMMM YYYY HH:mm',
80
        'LLLL' => 'dddd D MMMM YYYY HH:mm',
81
    ],
82
    'calendar' => [
83
        'sameDay' => '[Oggi alle] LT',
84
        'nextDay' => '[Domani alle] LT',
85
        'nextWeek' => 'dddd [alle] LT',
86
        'lastDay' => '[Ieri alle] LT',
87
        'lastWeek' => function (CarbonInterface $date) {
88
            switch ($date->dayOfWeek) {
89
                case 0:
90
                    return '[la scorsa] dddd [alle] LT';
91
                default:
92
                    return '[lo scorso] dddd [alle] LT';
93
            }
94
        },
95
        'sameElse' => 'L',
96
    ],
97
    'ordinal' => ':numberº',
98
    'months' => ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre'],
99
    'months_short' => ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
100
    'weekdays' => ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'],
101
    'weekdays_short' => ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
102
    'weekdays_min' => ['do', 'lu', 'ma', 'me', 'gi', 've', 'sa'],
103
    'first_day_of_week' => 1,
104
    'day_of_first_week_of_year' => 4,
105
    'list' => [', ', ' e '],
106
    'ordinal_words' => [
107
        'of' => 'di',
108
        'first' => 'primo',
109
        'second' => 'secondo',
110
        'third' => 'terzo',
111
        'fourth' => 'quarto',
112
        'fifth' => 'quinto',
113
        'last' => 'ultimo',
114
    ],
115
];