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
 * - Josh Soref
15
 * - François B
16
 * - shaishavgandhi05
17
 * - Serhan Apaydın
18
 * - JD Isaacks
19
 * - Glavić
20
 * - Milos Sakovic
21
 */
22
 
23
use Carbon\CarbonInterface;
24
 
25
return [
26
    'year' => ':count godina|:count godine|:count godina',
27
    'y' => ':count g.',
28
    'month' => ':count mesec|:count meseca|:count meseci',
29
    'm' => ':count mj.',
30
    'week' => ':count nedelja|:count nedelje|:count nedelja',
31
    'w' => ':count ned.',
32
    'day' => ':count dan|:count dana|:count dana',
33
    'd' => ':count d.',
34
    'hour' => ':count sat|:count sata|:count sati',
35
    'h' => ':count č.',
36
    'minute' => ':count minut|:count minuta|:count minuta',
37
    'min' => ':count min.',
38
    'second' => ':count sekundu|:count sekunde|:count sekundi',
39
    's' => ':count sek.',
40
    'ago' => 'pre :time',
41
    'from_now' => 'za :time',
42
    'after' => 'nakon :time',
43
    'before' => 'pre :time',
44
 
45
    'year_from_now' => ':count godinu|:count godine|:count godina',
46
    'year_ago' => ':count godinu|:count godine|:count godina',
47
    'week_from_now' => ':count nedelju|:count nedelje|:count nedelja',
48
    'week_ago' => ':count nedelju|:count nedelje|:count nedelja',
49
 
50
    'diff_now' => 'upravo sada',
51
    'diff_today' => 'danas',
52
    'diff_today_regexp' => 'danas(?:\\s+u)?',
53
    'diff_yesterday' => 'juče',
54
    'diff_yesterday_regexp' => 'juče(?:\\s+u)?',
55
    'diff_tomorrow' => 'sutra',
56
    'diff_tomorrow_regexp' => 'sutra(?:\\s+u)?',
57
    'diff_before_yesterday' => 'prekjuče',
58
    'diff_after_tomorrow' => 'preksutra',
59
    'formats' => [
60
        'LT' => 'H:mm',
61
        'LTS' => 'H:mm:ss',
62
        'L' => 'DD.MM.YYYY',
63
        'LL' => 'D. MMMM YYYY',
64
        'LLL' => 'D. MMMM YYYY H:mm',
65
        'LLLL' => 'dddd, D. MMMM YYYY H:mm',
66
    ],
67
    'calendar' => [
68
        'sameDay' => '[danas u] LT',
69
        'nextDay' => '[sutra u] LT',
70
        'nextWeek' => function (CarbonInterface $date) {
71
            switch ($date->dayOfWeek) {
72
                case 0:
73
                    return '[u nedelju u] LT';
74
                case 3:
75
                    return '[u sredu u] LT';
76
                case 6:
77
                    return '[u subotu u] LT';
78
                default:
79
                    return '[u] dddd [u] LT';
80
            }
81
        },
82
        'lastDay' => '[juče u] LT',
83
        'lastWeek' => function (CarbonInterface $date) {
84
            switch ($date->dayOfWeek) {
85
                case 0:
86
                    return '[prošle nedelje u] LT';
87
                case 1:
88
                    return '[prošlog ponedeljka u] LT';
89
                case 2:
90
                    return '[prošlog utorka u] LT';
91
                case 3:
92
                    return '[prošle srede u] LT';
93
                case 4:
94
                    return '[prošlog četvrtka u] LT';
95
                case 5:
96
                    return '[prošlog petka u] LT';
97
                default:
98
                    return '[prošle subote u] LT';
99
            }
100
        },
101
        'sameElse' => 'L',
102
    ],
103
    'ordinal' => ':number.',
104
    'months' => ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'],
105
    'months_short' => ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],
106
    'weekdays' => ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'],
107
    'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sre.', 'čet.', 'pet.', 'sub.'],
108
    'weekdays_min' => ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'],
109
    'first_day_of_week' => 1,
110
    'day_of_first_week_of_year' => 1,
111
    'list' => [', ', ' i '],
112
];