| 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 |
use Symfony\Component\Translation\PluralizationRules;
|
|
|
13 |
|
|
|
14 |
// @codeCoverageIgnoreStart
|
|
|
15 |
if (class_exists(PluralizationRules::class)) {
|
|
|
16 |
PluralizationRules::set(static function ($number) {
|
|
|
17 |
return PluralizationRules::get($number, 'sr');
|
|
|
18 |
}, 'sr_Latn_BA');
|
|
|
19 |
}
|
|
|
20 |
// @codeCoverageIgnoreEnd
|
|
|
21 |
|
|
|
22 |
return array_replace_recursive(require __DIR__.'/sr_Latn.php', [
|
|
|
23 |
'formats' => [
|
|
|
24 |
'LT' => 'HH:mm',
|
|
|
25 |
'LTS' => 'HH:mm:ss',
|
|
|
26 |
'L' => 'D.M.yy.',
|
|
|
27 |
'LL' => 'DD.MM.YYYY.',
|
|
|
28 |
'LLL' => 'DD. MMMM YYYY. HH:mm',
|
|
|
29 |
'LLLL' => 'dddd, DD. MMMM YYYY. HH:mm',
|
|
|
30 |
],
|
|
|
31 |
'weekdays' => ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
32 |
'weekdays_short' => ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'],
|
|
|
33 |
]);
|