Blame view

public/vendor/nesbot/carbon/src/Carbon/Lang/cy.php 2.71 KB
86143e36f   Андрей Ларионов   Коммит вторник
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
78
79
  <?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.
   */
  
  /*
   * Authors:
   * - François B
   * - JD Isaacks
   * - Daniel Monaghan
   */
  return [
      'year' => '{1}blwyddyn|]1,Inf[:count flynedd',
      'y' => ':countbl',
      'month' => '{1}mis|]1,Inf[:count mis',
      'm' => ':countmi',
      'week' => ':count wythnos',
      'w' => ':countw',
      'day' => '{1}diwrnod|]1,Inf[:count diwrnod',
      'd' => ':countd',
      'hour' => '{1}awr|]1,Inf[:count awr',
      'h' => ':counth',
      'minute' => '{1}munud|]1,Inf[:count munud',
      'min' => ':countm',
      'second' => '{1}ychydig eiliadau|]1,Inf[:count eiliad',
      's' => ':counts',
      'ago' => ':time yn ôl',
      'from_now' => 'mewn :time',
      'after' => ':time ar ôl',
      'before' => ':time o\'r blaen',
      'diff_now' => 'nawr',
      'diff_today' => 'Heddiw',
      'diff_today_regexp' => 'Heddiw(?:\\s+am)?',
      'diff_yesterday' => 'ddoe',
      'diff_yesterday_regexp' => 'Ddoe(?:\\s+am)?',
      'diff_tomorrow' => 'yfory',
      'diff_tomorrow_regexp' => 'Yfory(?:\\s+am)?',
      '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' => '[Heddiw am] LT',
          'nextDay' => '[Yfory am] LT',
          'nextWeek' => 'dddd [am] LT',
          'lastDay' => '[Ddoe am] LT',
          'lastWeek' => 'dddd [diwethaf am] LT',
          'sameElse' => 'L',
      ],
      'ordinal' => function ($number) {
          return $number.(
              $number > 20
                  ? (\in_array((int) $number, [40, 50, 60, 80, 100], true) ? 'fed' : 'ain')
                  : ([
                      '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
                      'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed', // 11eg to 20fed
                  ])[$number] ?? ''
          );
      },
      'months' => ['Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', 'Hydref', 'Tachwedd', 'Rhagfyr'],
      'months_short' => ['Ion', 'Chwe', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Aws', 'Med', 'Hyd', 'Tach', 'Rhag'],
      'weekdays' => ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'],
      'weekdays_short' => ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'],
      'weekdays_min' => ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'],
      'first_day_of_week' => 1,
      'day_of_first_week_of_year' => 4,
      'list' => [', ', ' a '],
      'meridiem' => ['yb', 'yh'],
  ];