PHP Classes

File: vendor/nesbot/carbon/src/Carbon/Lang/be.php

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/nesbot/carbon/src/Carbon/Lang/be.php   Download  
File: vendor/nesbot/carbon/src/Carbon/Lang/be.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Chatto PHP Websocket Chat System
Websocket based chat system using Ratchet library
Author: By
Last change:
Date: 3 years ago
Size: 4,866 bytes
 

Contents

Class file image Download
<?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 ((
1 == $number % 10) && (11 != $number % 100)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
},
'be');

/*
 * Authors:
 * - Josh Soref
 * - SobakaSlava
 * - François B
 * - Serhan Apayd?n
 * - JD Isaacks
 */
return [
   
'year' => ':count ???|:count ????|:count ?????',
   
'y' => ':count ???|:count ????|:count ?????',
   
'month' => ':count ?????|:count ??????|:count ???????',
   
'm' => ':count ?????|:count ??????|:count ???????',
   
'week' => ':count ???????|:count ?????|:count ??????',
   
'w' => ':count ???????|:count ?????|:count ??????',
   
'day' => ':count ?????|:count ??|:count ????',
   
'd' => ':count ?????|:count ??|:count ????',
   
'hour' => ':count ???????|:count ???????|:count ??????',
   
'h' => ':count ???????|:count ???????|:count ??????',
   
'minute' => ':count ???????|:count ???????|:count ??????',
   
'min' => ':count ???????|:count ???????|:count ??????',
   
'second' => ':count ???????|:count ???????|:count ??????',
   
's' => ':count ???????|:count ???????|: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' => function (\Carbon\CarbonInterface $current) {
            switch (
$current->dayOfWeek) {
                case
1:
                case
2:
                case
4:
                    return
'[? ??????] dddd [?] LT';
                default:
                    return
'[? ???????] dddd [?] LT';
            }
        },
       
'sameElse' => 'L',
    ],
   
'ordinal' => function ($number, $period) {
        switch (
$period) {
            case
'M':
            case
'd':
            case
'DDD':
            case
'w':
            case
'W':
                return (
$number % 10 === 2 || $number % 10 === 3) && ($number % 100 !== 12 && $number % 100 !== 13) ? $number.'-?' : $number.'-?';
            case
'D':
                return
$number.'-??';
            default:
                return
$number;
        }
    },
   
'meridiem' => function ($hour) {
        if (
$hour < 4) {
            return
'????';
        }
        if (
$hour < 12) {
            return
'??????';
        }
        if (
$hour < 17) {
            return
'???';
        }

        return
'??????';
    },
   
'months' => ['????????', '??????', '????????', '?????????', '??????', '???????', '??????', '??????', '???????', '???????????', '?????????', '??????'],
   
'months_standalone' => ['????????', '????', '???????', '????????', '???????', '???????', '??????', '???????', '????????', '??????????', '????????', '???????'],
   
'months_short' => ['????', '???', '???', '????', '????', '????', '???', '????', '???', '????', '????', '????'],
   
'months_regexp' => '/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/',
   
'weekdays' => ['???????', '??????????', '???????', '??????', '??????', '???????', '??????'],
   
'weekdays_standalone' => ['???????', '??????????', '???????', '??????', '??????', '???????', '??????'],
   
'weekdays_short' => ['??', '??', '??', '??', '??', '??', '??'],
   
'weekdays_min' => ['??', '??', '??', '??', '??', '??', '??'],
   
'weekdays_regexp' => '/\[ ?[???] ?(?:???????|?????????)? ?\] ?dddd/',
   
'first_day_of_week' => 1,
   
'day_of_first_week_of_year' => 1,
   
'list' => [', ', ' ? '],
   
'months_short_standalone' => ['???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???'],
];