blob: a953df4236274e03b2d1a06aa2c198a73e9bec1a [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?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// @codeCoverageIgnoreStart
12if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
13 \Symfony\Component\Translation\PluralizationRules::set(function ($number) {
14 return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
15 }, 'sh');
16}
17// @codeCoverageIgnoreEnd
18
19/*
20 * Authors:
21 * - Томица Кораћ
22 * - Enrique Vidal
23 * - Christopher Dell
24 * - dmilisic
25 * - danijel
26 * - Miroslav Matkovic (mikki021)
27 */
28return [
29 'diff_now' => 'sada',
30 'diff_yesterday' => 'juče',
31 'diff_tomorrow' => 'sutra',
32 'formats' => [
33 'LT' => 'HH:mm',
34 'LTS' => 'HH:mm:ss',
35 'L' => 'DD/MM/YYYY',
36 'LL' => 'MMMM D, YYYY',
37 'LLL' => 'DD MMM HH:mm',
38 'LLLL' => 'MMMM DD, YYYY HH:mm',
39 ],
40 'year' => ':count godina|:count godine|:count godina',
41 'y' => ':count g.',
42 'month' => ':count mesec|:count meseca|:count meseci',
43 'm' => ':count m.',
44 'week' => ':count nedelja|:count nedelje|:count nedelja',
45 'w' => ':count n.',
46 'day' => ':count dan|:count dana|:count dana',
47 'd' => ':count d.',
48 'hour' => ':count sat|:count sata|:count sati',
49 'h' => ':count č.',
50 'minute' => ':count minut|:count minuta|:count minuta',
51 'min' => ':count min.',
52 'second' => ':count sekund|:count sekunde|:count sekundi',
53 's' => ':count s.',
54 'ago' => 'pre :time',
55 'from_now' => 'za :time',
56 'after' => 'nakon :time',
57 'before' => ':time raniјe',
58 'weekdays' => ['Nedelja', 'Ponedeljak', 'Utorak', 'Sreda', 'Četvrtak', 'Petak', 'Subota'],
59 'weekdays_short' => ['Ned', 'Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub'],
60 'weekdays_min' => ['Ned', 'Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub'],
61 'months' => ['Januar', 'Februar', 'Mart', 'April', 'Maj', 'Jun', 'Jul', 'Avgust', 'Septembar', 'Oktobar', 'Novembar', 'Decembar'],
62 'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'],
63 'list' => [', ', ' i '],
64 'meridiem' => ['pre podne', 'po podne'],
65];