Blame view

public/vendor/nesbot/carbon/src/Carbon/Lang/es.php 4.1 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
  <?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:
   * - Kunal Marwaha
   * - kostas
   * - François B
   * - Tim Fish
   * - Claire Coloma
   * - Steven Heinrich
   * - JD Isaacks
   * - Raphael Amorim
   * - Jorge Y. Castillo
   * - Víctor Díaz
   * - Diego
   * - Sebastian Thierer
   * - quinterocesar
   * - Daniel Commesse Liévanos (danielcommesse)
   * - Pete Scopes (pdscopes)
   * - gam04
   */
  
  use Carbon\CarbonInterface;
  
  return [
      'year' => ':count año|:count años',
      'a_year' => 'un año|:count años',
      'y' => ':count año|:count años',
      'month' => ':count mes|:count meses',
      'a_month' => 'un mes|:count meses',
      'm' => ':count mes|:count meses',
      'week' => ':count semana|:count semanas',
      'a_week' => 'una semana|:count semanas',
      'w' => ':countsem',
      'day' => ':count día|:count días',
      'a_day' => 'un día|:count días',
      'd' => ':countd',
      'hour' => ':count hora|:count horas',
      'a_hour' => 'una hora|:count horas',
      'h' => ':counth',
      'minute' => ':count minuto|:count minutos',
      'a_minute' => 'un minuto|:count minutos',
      'min' => ':countm',
      'second' => ':count segundo|:count segundos',
      'a_second' => 'unos segundos|:count segundos',
      's' => ':counts',
      'millisecond' => ':count milisegundo|:count milisegundos',
      'a_millisecond' => 'un milisegundo|:count milisegundos',
      'ms' => ':countms',
      'microsecond' => ':count microsegundo|:count microsegundos',
      'a_microsecond' => 'un microsegundo|:count microsegundos',
      'µs' => ':countµs',
      'ago' => 'hace :time',
      'from_now' => 'en :time',
      'after' => ':time después',
      'before' => ':time antes',
      'diff_now' => 'ahora mismo',
      'diff_today' => 'hoy',
      'diff_today_regexp' => 'hoy(?:\\s+a)?(?:\\s+las)?',
      'diff_yesterday' => 'ayer',
      'diff_yesterday_regexp' => 'ayer(?:\\s+a)?(?:\\s+las)?',
      'diff_tomorrow' => 'mañana',
      'diff_tomorrow_regexp' => 'mañana(?:\\s+a)?(?:\\s+las)?',
      'diff_before_yesterday' => 'anteayer',
      'diff_after_tomorrow' => 'pasado mañana',
      'formats' => [
          'LT' => 'H:mm',
          'LTS' => 'H:mm:ss',
          'L' => 'DD/MM/YYYY',
          'LL' => 'D [de] MMMM [de] YYYY',
          'LLL' => 'D [de] MMMM [de] YYYY H:mm',
          'LLLL' => 'dddd, D [de] MMMM [de] YYYY H:mm',
      ],
      'calendar' => [
          'sameDay' => function (CarbonInterface $current) {
              return '[hoy a la'.($current->hour !== 1 ? 's' : '').'] LT';
          },
          'nextDay' => function (CarbonInterface $current) {
              return '[mañana a la'.($current->hour !== 1 ? 's' : '').'] LT';
          },
          'nextWeek' => function (CarbonInterface $current) {
              return 'dddd [a la'.($current->hour !== 1 ? 's' : '').'] LT';
          },
          'lastDay' => function (CarbonInterface $current) {
              return '[ayer a la'.($current->hour !== 1 ? 's' : '').'] LT';
          },
          'lastWeek' => function (CarbonInterface $current) {
              return '[el] dddd [pasado a la'.($current->hour !== 1 ? 's' : '').'] LT';
          },
          'sameElse' => 'L',
      ],
      'months' => ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'],
      'months_short' => ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],
      'mmm_suffix' => '.',
      'ordinal' => ':numberº',
      'weekdays' => ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
      'weekdays_short' => ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
      'weekdays_min' => ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'],
      'first_day_of_week' => 1,
      'day_of_first_week_of_year' => 4,
      'list' => [', ', ' y '],
      'meridiem' => ['a. m.', 'p. m.'],
      'ordinal_words' => [
          'of' => 'de',
          'first' => 'primer',
          'second' => 'segundo',
          'third' => 'tercer',
          'fourth' => 'cuarto',
          'fifth' => 'quinto',
          'last' => 'último',
      ],
  ];