sh.php
2.34 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
<?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.
*/
// @codeCoverageIgnoreStart
use Symfony\Component\Translation\PluralizationRules;
if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
PluralizationRules::set(static function ($number) {
return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
}, 'sh');
}
// @codeCoverageIgnoreEnd
/*
* Authors:
* - Томица Кораћ
* - Enrique Vidal
* - Christopher Dell
* - dmilisic
* - danijel
* - Miroslav Matkovic (mikki021)
*/
return [
'diff_now' => 'sada',
'diff_yesterday' => 'juče',
'diff_tomorrow' => 'sutra',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'MMMM D, YYYY',
'LLL' => 'DD MMM HH:mm',
'LLLL' => 'MMMM DD, YYYY HH:mm',
],
'year' => ':count godina|:count godine|:count godina',
'y' => ':count g.',
'month' => ':count mesec|:count meseca|:count meseci',
'm' => ':count m.',
'week' => ':count nedelja|:count nedelje|:count nedelja',
'w' => ':count n.',
'day' => ':count dan|:count dana|:count dana',
'd' => ':count d.',
'hour' => ':count sat|:count sata|:count sati',
'h' => ':count č.',
'minute' => ':count minut|:count minuta|:count minuta',
'min' => ':count min.',
'second' => ':count sekund|:count sekunde|:count sekundi',
's' => ':count s.',
'ago' => 'pre :time',
'from_now' => 'za :time',
'after' => 'nakon :time',
'before' => ':time raniјe',
'weekdays' => ['Nedelja', 'Ponedeljak', 'Utorak', 'Sreda', 'Četvrtak', 'Petak', 'Subota'],
'weekdays_short' => ['Ned', 'Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub'],
'weekdays_min' => ['Ned', 'Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub'],
'months' => ['Januar', 'Februar', 'Mart', 'April', 'Maj', 'Jun', 'Jul', 'Avgust', 'Septembar', 'Oktobar', 'Novembar', 'Decembar'],
'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'],
'list' => [', ', ' i '],
'meridiem' => ['pre podne', 'po podne'],
];