blob: d2fc5aaa0b2039f7cac22fbc81c2c984ce0aa5e4 [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
12/*
13 * Authors:
14 * - bokideckonja
15 * - Josh Soref
16 * - François B
17 * - shaishavgandhi05
18 * - Serhan Apaydın
19 * - JD Isaacks
20 */
21return [
22 'year' => ':count godina|:count godine|:count godina',
23 'y' => ':count godina|:count godine|:count godina',
24 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
25 'm' => ':count mjesec|:count mjeseca|:count mjeseci',
26 'week' => ':count sedmice|:count sedmicu|:count sedmica',
27 'w' => ':count sedmice|:count sedmicu|:count sedmica',
28 'day' => ':count dan|:count dana|:count dana',
29 'd' => ':count dan|:count dana|:count dana',
30 'hour' => ':count sat|:count sata|:count sati',
31 'h' => ':count sat|:count sata|:count sati',
32 'minute' => ':count minut|:count minuta|:count minuta',
33 'min' => ':count minut|:count minuta|:count minuta',
34 'second' => ':count sekund|:count sekunda|:count sekundi',
35 's' => ':count sekund|:count sekunda|:count sekundi',
36 'ago' => 'prije :time',
37 'from_now' => 'za :time',
38 'after' => 'nakon :time',
39 'before' => ':time ranije',
40 'diff_now' => 'sada',
41 'diff_today' => 'danas',
42 'diff_today_regexp' => 'danas(?:\\s+u)?',
43 'diff_yesterday' => 'jučer',
44 'diff_yesterday_regexp' => 'jučer(?:\\s+u)?',
45 'diff_tomorrow' => 'sutra',
46 'diff_tomorrow_regexp' => 'sutra(?:\\s+u)?',
47 'formats' => [
48 'LT' => 'H:mm',
49 'LTS' => 'H:mm:ss',
50 'L' => 'DD.MM.YYYY',
51 'LL' => 'D. MMMM YYYY',
52 'LLL' => 'D. MMMM YYYY H:mm',
53 'LLLL' => 'dddd, D. MMMM YYYY H:mm',
54 ],
55 'calendar' => [
56 'sameDay' => '[danas u] LT',
57 'nextDay' => '[sutra u] LT',
58 'nextWeek' => function (\Carbon\CarbonInterface $current) {
59 switch ($current->dayOfWeek) {
60 case 0:
61 return '[u] [nedjelju] [u] LT';
62 case 3:
63 return '[u] [srijedu] [u] LT';
64 case 6:
65 return '[u] [subotu] [u] LT';
66 default:
67 return '[u] dddd [u] LT';
68 }
69 },
70 'lastDay' => '[jučer u] LT',
71 'lastWeek' => function (\Carbon\CarbonInterface $current) {
72 switch ($current->dayOfWeek) {
73 case 0:
74 case 3:
75 return '[prošlu] dddd [u] LT';
76 case 6:
77 return '[prošle] [subote] [u] LT';
78 default:
79 return '[prošli] dddd [u] LT';
80 }
81 },
82 'sameElse' => 'L',
83 ],
84 'ordinal' => ':number.',
85 'months' => ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', 'novembar', 'decembar'],
86 'months_short' => ['jan.', 'feb.', 'mar.', 'apr.', 'maj.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
87 'weekdays' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
88 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', 'čet.', 'pet.', 'sub.'],
89 'weekdays_min' => ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'],
90 'first_day_of_week' => 1,
91 'day_of_first_week_of_year' => 1,
92 'list' => [', ', ' i '],
93 'meridiem' => ['prijepodne', 'popodne'],
94];