Debian Codegraph @

lib/3rdParty/composer/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php

raw symbols SCIP
1 <?php
2
3 /**
4 * This file is part of the Carbon package.
5 *
6 * (c) Brian Nesbitt <[email protected]>
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 * - Glavić
15 * - Milos Sakovic
16 */
17
18 use Carbon\CarbonInterface;
19 use Symfony\Component\Translation\PluralizationRules;
20
21 // @codeCoverageIgnoreStart
22 if (class_exists(PluralizationRules::class)) {
23 PluralizationRules::set(static function ($number) {
24 return PluralizationRules::get($number, 'sr');
25 }, 'sr_Latn_ME');
26 }
27 // @codeCoverageIgnoreEnd
28
29 return array_replace_recursive(require __DIR__.'/sr.php', [
30 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
31 'week' => ':count nedjelja|:count nedjelje|:count nedjelja',
32 'second' => ':count sekund|:count sekunde|:count sekundi',
33 'ago' => 'prije :time',
34 'from_now' => 'za :time',
35 'after' => ':time nakon',
36 'before' => ':time prije',
37 'week_from_now' => ':count nedjelju|:count nedjelje|:count nedjelja',
38 'week_ago' => ':count nedjelju|:count nedjelje|:count nedjelja',
39 'second_ago' => ':count sekund|:count sekunde|:count sekundi',
40 'diff_tomorrow' => 'sjutra',
41 'calendar' => [
42 'nextDay' => '[sjutra u] LT',
43 'nextWeek' => static fn (CarbonInterface $date) => match ($date->dayOfWeek) {
44 0 => '[u nedjelju u] LT',
45 3 => '[u srijedu u] LT',
46 6 => '[u subotu u] LT',
47 default => '[u] dddd [u] LT',
48 },
49 'lastWeek' => static fn (CarbonInterface $date) => match ($date->dayOfWeek) {
50 0 => '[prošle nedjelje u] LT',
51 1 => '[prošle nedjelje u] LT',
52 2 => '[prošlog utorka u] LT',
53 3 => '[prošle srijede u] LT',
54 4 => '[prošlog četvrtka u] LT',
55 5 => '[prošlog petka u] LT',
56 default => '[prošle subote u] LT',
57 },
58 ],
59 'weekdays' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
60 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', 'čet.', 'pet.', 'sub.'],
61 ]);