Blame view

public/vendor/nesbot/carbon/src/Carbon/Lang/sv.php 2.78 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
  <?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
   * - Kristoffer Snabb
   * - JD Isaacks
   * - Jens Herlevsen
   * - Nightpine
   * - Anders Nygren (litemerafrukt)
   */
  return [
      'year' => ':count år',
      'a_year' => 'ett år|:count år',
      'y' => ':count år',
      'month' => ':count månad|:count månader',
      'a_month' => 'en månad|:count månader',
      'm' => ':count mån',
      'week' => ':count vecka|:count veckor',
      'a_week' => 'en vecka|:count veckor',
      'w' => ':count v',
      'day' => ':count dag|:count dagar',
      'a_day' => 'en dag|:count dagar',
      'd' => ':count dgr',
      'hour' => ':count timme|:count timmar',
      'a_hour' => 'en timme|:count timmar',
      'h' => ':count tim',
      'minute' => ':count minut|:count minuter',
      'a_minute' => 'en minut|:count minuter',
      'min' => ':count min',
      'second' => ':count sekund|:count sekunder',
      'a_second' => 'några sekunder|:count sekunder',
      's' => ':count s',
      'ago' => 'för :time sedan',
      'from_now' => 'om :time',
      'after' => ':time efter',
      'before' => ':time före',
      'diff_now' => 'nu',
      'diff_today' => 'I dag',
      'diff_yesterday' => 'i går',
      'diff_yesterday_regexp' => 'I går',
      'diff_tomorrow' => 'i morgon',
      'diff_tomorrow_regexp' => 'I morgon',
      'formats' => [
          'LT' => 'HH:mm',
          'LTS' => 'HH:mm:ss',
          'L' => 'YYYY-MM-DD',
          'LL' => 'D MMMM YYYY',
          'LLL' => 'D MMMM YYYY [kl.] HH:mm',
          'LLLL' => 'dddd D MMMM YYYY [kl.] HH:mm',
      ],
      'calendar' => [
          'sameDay' => '[I dag] LT',
          'nextDay' => '[I morgon] LT',
          'nextWeek' => '[På] dddd LT',
          'lastDay' => '[I går] LT',
          'lastWeek' => '[I] dddd[s] LT',
          'sameElse' => 'L',
      ],
      'ordinal' => function ($number) {
          $lastDigit = $number % 10;
  
          return $number.(
              ((int) ($number % 100 / 10) === 1) ? 'e' : (
                  ($lastDigit === 1 || $lastDigit === 2) ? 'a' : 'e'
              )
          );
      },
      'months' => ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december'],
      'months_short' => ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
      'weekdays' => ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'],
      'weekdays_short' => ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'],
      'weekdays_min' => ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'],
      'first_day_of_week' => 1,
      'day_of_first_week_of_year' => 4,
      'list' => [', ', ' och '],
      'meridiem' => ['fm', 'em'],
  ];