| 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_Cyrl_XK');
|
|
|
19 |
}
|
|
|
20 |
// @codeCoverageIgnoreEnd
|
|
|
21 |
|
|
|
22 |
return array_replace_recursive(require __DIR__.'/sr_Cyrl_BA.php', [
|
|
|
23 |
'weekdays' => ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'],
|
|
|
24 |
]);
|