| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
B |
| 15 |
|
| 16 |
|
| 17 |
return [ |
| 18 |
'year' => '{1}umnyaka|:count iminyaka', |
| 19 |
'month' => '{1}inyanga|:count tinyanga', |
| 20 |
'week' => '{1}:count liviki|:count emaviki', |
| 21 |
'day' => '{1}lilanga|:count emalanga', |
| 22 |
'hour' => '{1}lihora|:count emahora', |
| 23 |
'minute' => '{1}umzuzu|:count emizuzu', |
| 24 |
'second' => '{1}emizuzwana lomcane|:count mzuzwana', |
| 25 |
'ago' => 'wenteka nga :time', |
| 26 |
'from_now' => 'nga :time', |
| 27 |
'diff_yesterday' => 'Itolo', |
| 28 |
'diff_yesterday_regexp' => 'Itolo(?:\\s+nga)?', |
| 29 |
'diff_today' => 'Namuhla', |
| 30 |
'diff_today_regexp' => 'Namuhla(?:\\s+nga)?', |
| 31 |
'diff_tomorrow' => 'Kusasa', |
| 32 |
'diff_tomorrow_regexp' => 'Kusasa(?:\\s+nga)?', |
| 33 |
'formats' => [ |
| 34 |
'LT' => 'h:mm A', |
| 35 |
'LTS' => 'h:mm:ss A', |
| 36 |
'L' => 'DD/MM/YYYY', |
| 37 |
'LL' => 'D MMMM YYYY', |
| 38 |
'LLL' => 'D MMMM YYYY h:mm A', |
| 39 |
'LLLL' => 'dddd, D MMMM YYYY h:mm A', |
| 40 |
], |
| 41 |
'calendar' => [ |
| 42 |
'sameDay' => '[Namuhla nga] LT', |
| 43 |
'nextDay' => '[Kusasa nga] LT', |
| 44 |
'nextWeek' => 'dddd [nga] LT', |
| 45 |
'lastDay' => '[Itolo nga] LT', |
| 46 |
'lastWeek' => 'dddd [leliphelile] [nga] LT', |
| 47 |
'sameElse' => 'L', |
| 48 |
], |
| 49 |
'ordinal' => static function ($number) { |
| 50 |
$lastDigit = $number % 10; |
| 51 |
|
| 52 |
return $number.( |
| 53 |
((int) ($number % 100 / 10) === 1) ? 'e' : ( |
| 54 |
($lastDigit === 1 || $lastDigit === 2) ? 'a' : 'e' |
| 55 |
) |
| 56 |
); |
| 57 |
}, |
| 58 |
'meridiem' => static function ($hour) { |
| 59 |
if ($hour < 11) { |
| 60 |
return 'ekuseni'; |
| 61 |
} |
| 62 |
if ($hour < 15) { |
| 63 |
return 'emini'; |
| 64 |
} |
| 65 |
if ($hour < 19) { |
| 66 |
return 'entsambama'; |
| 67 |
} |
| 68 |
|
| 69 |
return 'ebusuku'; |
| 70 |
}, |
| 71 |
'months' => ['Bhimbidvwane', 'Indlovana', 'Indlov\'lenkhulu', 'Mabasa', 'Inkhwekhweti', 'Inhlaba', 'Kholwane', 'Ingci', 'Inyoni', 'Imphala', 'Lweti', 'Ingongoni'], |
| 72 |
'months_short' => ['Bhi', 'Ina', 'Inu', 'Mab', 'Ink', 'Inh', 'Kho', 'Igc', 'Iny', 'Imp', 'Lwe', 'Igo'], |
| 73 |
'weekdays' => ['Lisontfo', 'Umsombuluko', 'Lesibili', 'Lesitsatfu', 'Lesine', 'Lesihlanu', 'Umgcibelo'], |
| 74 |
'weekdays_short' => ['Lis', 'Umb', 'Lsb', 'Les', 'Lsi', 'Lsh', 'Umg'], |
| 75 |
'weekdays_min' => ['Li', 'Us', 'Lb', 'Lt', 'Ls', 'Lh', 'Ug'], |
| 76 |
'first_day_of_week' => 1, |
| 77 |
'day_of_first_week_of_year' => 4, |
| 78 |
]; |