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