| 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 |
* - Philippe Vaucher
|
|
|
15 |
* - Tsutomu Kuroda
|
|
|
16 |
* - tjku
|
|
|
17 |
* - valdas406
|
|
|
18 |
* - Justas Palumickas
|
|
|
19 |
* - Max Melentiev
|
|
|
20 |
* - Andrius Janauskas
|
|
|
21 |
* - Juanito Fatas
|
|
|
22 |
* - Akira Matsuda
|
|
|
23 |
* - Christopher Dell
|
|
|
24 |
* - Enrique Vidal
|
|
|
25 |
* - Simone Carletti
|
|
|
26 |
* - Aaron Patterson
|
|
|
27 |
* - Nicolás Hock Isaza
|
|
|
28 |
* - Laurynas Butkus
|
|
|
29 |
* - Sven Fuchs
|
|
|
30 |
* - Dominykas Tijūnaitis
|
|
|
31 |
* - Justinas Bolys
|
|
|
32 |
* - Ričardas
|
|
|
33 |
* - Kirill Chalkin
|
|
|
34 |
* - Rolandas
|
|
|
35 |
* - Justinas (Gamesh)
|
|
|
36 |
*/
|
|
|
37 |
return [
|
|
|
38 |
'year' => ':count metai|:count metai|:count metų',
|
|
|
39 |
'y' => ':count m.',
|
|
|
40 |
'month' => ':count mėnuo|:count mėnesiai|:count mėnesį',
|
|
|
41 |
'm' => ':count mÄ—n.',
|
|
|
42 |
'week' => ':count savaitÄ—|:count savaitÄ—s|:count savaitÄ™',
|
|
|
43 |
'w' => ':count sav.',
|
|
|
44 |
'day' => ':count diena|:count dienos|:count dienų',
|
|
|
45 |
'd' => ':count d.',
|
|
|
46 |
'hour' => ':count valanda|:count valandos|:count valandų',
|
|
|
47 |
'h' => ':count val.',
|
|
|
48 |
'minute' => ':count minutÄ—|:count minutÄ—s|:count minutÄ™',
|
|
|
49 |
'min' => ':count min.',
|
|
|
50 |
'second' => ':count sekundė|:count sekundės|:count sekundžių',
|
|
|
51 |
's' => ':count sek.',
|
|
|
52 |
|
|
|
53 |
'year_ago' => ':count metus|:count metus|:count metų',
|
|
|
54 |
'month_ago' => ':count mėnesį|:count mėnesius|:count mėnesių',
|
|
|
55 |
'week_ago' => ':count savaitę|:count savaites|:count savaičių',
|
|
|
56 |
'day_ago' => ':count dieną|:count dienas|:count dienų',
|
|
|
57 |
'hour_ago' => ':count valandą|:count valandas|:count valandų',
|
|
|
58 |
'minute_ago' => ':count minutę|:count minutes|:count minučių',
|
|
|
59 |
'second_ago' => ':count sekundę|:count sekundes|:count sekundžių',
|
|
|
60 |
|
|
|
61 |
'year_from_now' => ':count metų',
|
|
|
62 |
'month_from_now' => ':count mėnesio|:count mėnesių|:count mėnesių',
|
|
|
63 |
'week_from_now' => ':count savaitÄ—s|:count savaiÄių|:count savaiÄių',
|
|
|
64 |
'day_from_now' => ':count dienos|:count dienų|:count dienų',
|
|
|
65 |
'hour_from_now' => ':count valandos|:count valandų|:count valandų',
|
|
|
66 |
'minute_from_now' => ':count minutÄ—s|:count minuÄių|:count minuÄių',
|
|
|
67 |
'second_from_now' => ':count sekundės|:count sekundžių|:count sekundžių',
|
|
|
68 |
|
|
|
69 |
'year_after' => ':count metų',
|
|
|
70 |
'month_after' => ':count mėnesio|:count mėnesių|:count mėnesių',
|
|
|
71 |
'week_after' => ':count savaitÄ—s|:count savaiÄių|:count savaiÄių',
|
|
|
72 |
'day_after' => ':count dienos|:count dienų|:count dienų',
|
|
|
73 |
'hour_after' => ':count valandos|:count valandų|:count valandų',
|
|
|
74 |
'minute_after' => ':count minutÄ—s|:count minuÄių|:count minuÄių',
|
|
|
75 |
'second_after' => ':count sekundės|:count sekundžių|:count sekundžių',
|
|
|
76 |
|
|
|
77 |
'ago' => 'prieš :time',
|
|
|
78 |
'from_now' => ':time nuo dabar',
|
|
|
79 |
'after' => 'po :time',
|
|
|
80 |
'before' => 'už :time',
|
|
|
81 |
|
|
|
82 |
'first_day_of_week' => 1,
|
|
|
83 |
'day_of_first_week_of_year' => 4,
|
|
|
84 |
|
|
|
85 |
'diff_now' => 'ką tik',
|
|
|
86 |
'diff_today' => 'Šiandien',
|
|
|
87 |
'diff_yesterday' => 'vakar',
|
|
|
88 |
'diff_yesterday_regexp' => 'Vakar',
|
|
|
89 |
'diff_tomorrow' => 'rytoj',
|
|
|
90 |
'diff_tomorrow_regexp' => 'Rytoj',
|
|
|
91 |
'diff_before_yesterday' => 'užvakar',
|
|
|
92 |
'diff_after_tomorrow' => 'poryt',
|
|
|
93 |
|
|
|
94 |
'period_recurrences' => 'kartą|:count kartų',
|
|
|
95 |
'period_interval' => 'kiekvieną :interval',
|
|
|
96 |
'period_start_date' => 'nuo :date',
|
|
|
97 |
'period_end_date' => 'iki :date',
|
|
|
98 |
|
|
|
99 |
'months' => ['sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjÅ«Äio', 'rugsÄ—jo', 'spalio', 'lapkriÄio', 'gruodžio'],
|
|
|
100 |
'months_standalone' => ['sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', 'rugsėjis', 'spalis', 'lapkritis', 'gruodis'],
|
|
|
101 |
'months_regexp' => '/(L{2,4}|D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?)/',
|
|
|
102 |
'months_short' => ['sau', 'vas', 'kov', 'bal', 'geg', 'bir', 'lie', 'rgp', 'rgs', 'spa', 'lap', 'gru'],
|
|
|
103 |
'weekdays' => ['sekmadienį', 'pirmadienį', 'antradienį', 'treÄiadienį', 'ketvirtadienį', 'penktadienį', 'Å¡eÅ¡tadienį'],
|
|
|
104 |
'weekdays_standalone' => ['sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis', 'šeštadienis'],
|
|
|
105 |
'weekdays_short' => ['sek', 'pir', 'ant', 'tre', 'ket', 'pen', 'šeš'],
|
|
|
106 |
'weekdays_min' => ['se', 'pi', 'an', 'tr', 'ke', 'pe', 'še'],
|
|
|
107 |
'list' => [', ', ' ir '],
|
|
|
108 |
'formats' => [
|
|
|
109 |
'LT' => 'HH:mm',
|
|
|
110 |
'LTS' => 'HH:mm:ss',
|
|
|
111 |
'L' => 'YYYY-MM-DD',
|
|
|
112 |
'LL' => 'MMMM DD, YYYY',
|
|
|
113 |
'LLL' => 'DD MMM HH:mm',
|
|
|
114 |
'LLLL' => 'MMMM DD, YYYY HH:mm',
|
|
|
115 |
],
|
|
|
116 |
'calendar' => [
|
|
|
117 |
'sameDay' => '[Šiandien] LT',
|
|
|
118 |
'nextDay' => '[Rytoj] LT',
|
|
|
119 |
'nextWeek' => 'dddd LT',
|
|
|
120 |
'lastDay' => '[Vakar] LT',
|
|
|
121 |
'lastWeek' => '[Paskutinį] dddd LT',
|
|
|
122 |
'sameElse' => 'L',
|
|
|
123 |
],
|
|
|
124 |
'ordinal' => function ($number) {
|
|
|
125 |
switch ($number) {
|
|
|
126 |
case 0:
|
|
|
127 |
return '0-is';
|
|
|
128 |
case 3:
|
|
|
129 |
return '3-ias';
|
|
|
130 |
default:
|
|
|
131 |
return "$number-as";
|
|
|
132 |
}
|
|
|
133 |
},
|
|
|
134 |
'meridiem' => ['priešpiet', 'popiet'],
|
|
|
135 |
];
|