<?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.
*/
\Symfony\Component\Translation\PluralizationRules::set(function ($number) {
return $number === 1 ? 0 : 1;
}, 'kk');
/*
* Authors:
* - Josh Soref
* - François B
* - Talat Uspanov
* - ?????? ??????????
* - Toleugazy Kali
*/
return [
'year' => ':count ???',
'a_year' => '??? ???|:count ???',
'y' => ':count ?.',
'month' => ':count ??',
'a_month' => '??? ??|:count ??',
'm' => ':count ??',
'week' => ':count ????',
'a_week' => '??? ????',
'w' => ':count ??.',
'day' => ':count ???',
'a_day' => '??? ???|:count ???',
'd' => ':count ?.',
'hour' => ':count ?????',
'a_hour' => '??? ?????|:count ?????',
'h' => ':count ??.',
'minute' => ':count ?????',
'a_minute' => '??? ?????|:count ?????',
'min' => ':count ?.',
'second' => ':count ??????',
'a_second' => '??????? ??????|:count ??????',
's' => ':count ??.',
'ago' => ':time ?????',
'from_now' => ':time ??????',
'after' => ':time ?????',
'before' => ':time ?????',
'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' => '[????? ?????] LT',
'nextDay' => '[????? ?????] LT',
'nextWeek' => 'dddd [?????] LT',
'lastDay' => '[???? ?????] LT',
'lastWeek' => '[????? ???????] dddd [?????] LT',
'sameElse' => 'L',
],
'ordinal' => function ($number) {
static $suffixes = [
0 => '-??',
1 => '-??',
2 => '-??',
3 => '-??',
4 => '-??',
5 => '-??',
6 => '-??',
7 => '-??',
8 => '-??',
9 => '-??',
10 => '-??',
20 => '-??',
30 => '-??',
40 => '-??',
50 => '-??',
60 => '-??',
70 => '-??',
80 => '-??',
90 => '-??',
100 => '-??',
];
return $number.($suffixes[$number] ?? $suffixes[$number % 10] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
},
'months' => ['??????', '?????', '??????', '?????', '?????', '??????', '?????', '?????', '????????', '?????', '??????', '?????????'],
'months_short' => ['???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???'],
'weekdays' => ['????????', '????????', '????????', '????????', '????????', '????', '?????'],
'weekdays_short' => ['???', '???', '???', '???', '???', '???', '???'],
'weekdays_min' => ['??', '??', '??', '??', '??', '??', '??'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'list' => [', ', ' ???? '],
];
|