ga.php
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Thanks to André Silva : https://github.com/askpt
*/
return [
'year' => ':count bliain',
'a_year' => '{1}bliain|:count bliain',
'y' => ':countb',
'month' => ':count mí',
'a_month' => '{1}mí|:count mí',
'm' => ':countm',
'week' => ':count sheachtain',
'a_week' => '{1}sheachtain|:count sheachtain',
'w' => ':countsh',
'day' => ':count lá',
'a_day' => '{1}lá|:count lá',
'd' => ':countl',
'hour' => ':count uair an chloig',
'a_hour' => '{1}uair an chloig|:count uair an chloig',
'h' => ':countu',
'minute' => ':count nóiméad',
'a_minute' => '{1}nóiméad|:count nóiméad',
'min' => ':countn',
'second' => ':count soicind',
'a_second' => '{1}cúpla soicind|:count soicind',
's' => ':countso',
'ago' => ':time ó shin',
'from_now' => 'i :time',
'after' => ':time tar éis',
'before' => ':time roimh',
'diff_now' => 'anois',
'diff_today' => 'Inniu',
'diff_today_regexp' => 'Inniu(?:\\s+ag)?',
'diff_yesterday' => 'inné',
'diff_yesterday_regexp' => 'Inné(?:\\s+aig)?',
'diff_tomorrow' => 'amárach',
'diff_tomorrow_regexp' => 'Amárach(?:\\s+ag)?',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[Inniu ag] LT',
'nextDay' => '[Amárach ag] LT',
'nextWeek' => 'dddd [ag] LT',
'lastDay' => '[Inné aig] LT',
'lastWeek' => 'dddd [seo caite] [ag] LT',
'sameElse' => 'L',
],
'months' => ['Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig'],
'months_short' => ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll'],
'weekdays' => ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn'],
'weekdays_short' => ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'],
'weekdays_min' => ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'],
'ordinal' => function ($number) {
return $number.($number === 1 ? 'd' : ($number % 10 === 2 ? 'na' : 'mh'));
},
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
'list' => [', ', ' agus '],
'meridiem' => ['r.n.', 'i.n.'],
];