PHP Classes

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

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/nesbot/carbon/src/Carbon/Lang/ka.php   Download  
File: vendor/nesbot/carbon/src/Carbon/Lang/ka.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: 7,517 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.
 */

/**
 * Authors:
 * - Tornike Razmadze
 * - François B
 * - Lasha Dolidze
 * - Tim Fish
 * - JD Isaacks
 * - Tornike Razmadze
 * - François B
 * - Lasha Dolidze
 * - JD Isaacks
 * - LONGMAN
 * - Avtandil Kikabidze (akalongman)
 */
return [
   
'year' => ':count ????',
   
'y' => ':count ????',
   
'a_year' => '{1}????|]1,Inf[:count ????',
   
'month' => ':count ???',
   
'm' => ':count ???',
   
'a_month' => '{1}???|]1,Inf[:count ???',
   
'week' => ':count ?????',
   
'w' => ':count ?????',
   
'a_week' => '{1}?????|]1,Inf[:count ?????',
   
'day' => ':count ???',
   
'd' => ':count ???',
   
'a_day' => '{1}???|]1,Inf[:count ???',
   
'hour' => ':count ?????',
   
'h' => ':count ?????',
   
'a_hour' => '{1}?????|]1,Inf[:count ?????',
   
'minute' => ':count ????',
   
'min' => ':count ????',
   
'a_minute' => '{1}????|]1,Inf[:count ????',
   
'second' => ':count ????',
   
's' => ':count ????',
   
'a_second' => '{1}????????? ????|]1,Inf[:count ????',
   
'ago' => function ($time) {
       
$replacements = [
           
// year
           
'????' => '????',
           
// month
           
'???' => '????',
           
// week
           
'?????' => '??????',
           
// day
           
'???' => '????',
           
// hour
           
'?????' => '??????',
           
// minute
           
'????' => '?????',
           
// second
           
'????' => '?????',
        ];
       
$time = strtr($time, array_flip($replacements));
       
$time = strtr($time, $replacements);

        return
"$time ???";
    },
   
'from_now' => function ($time) {
       
$replacements = [
           
// year
           
'????' => '?????????',
           
// week
           
'?????' => '???????',
           
// day
           
'???' => '?????',
           
// month
           
'???' => '?????',
           
// hour
           
'?????' => '??????',
           
// minute
           
'????' => '?????',
           
// second
           
'????' => '?????',
        ];
       
$time = strtr($time, array_flip($replacements));
       
$time = strtr($time, $replacements);

        return
$time;
    },
   
'after' => function ($time) {
       
$replacements = [
           
// year
           
'????' => '????',
           
// month
           
'???' => '????',
           
// week
           
'?????' => '??????',
           
// day
           
'???' => '????',
           
// hour
           
'?????' => '??????',
           
// minute
           
'????' => '?????',
           
// second
           
'????' => '?????',
        ];
       
$time = strtr($time, array_flip($replacements));
       
$time = strtr($time, $replacements);

        return
"$time ??????";
    },
   
'before' => function ($time) {
       
$replacements = [
           
// year
           
'????' => '????',
           
// month
           
'???' => '????',
           
// week
           
'?????' => '??????',
           
// day
           
'???' => '????',
           
// hour
           
'?????' => '??????',
           
// minute
           
'????' => '?????',
           
// second
           
'????' => '?????',
        ];
       
$time = strtr($time, array_flip($replacements));
       
$time = strtr($time, $replacements);

        return
"$time ????";
    },
   
'diff_yesterday' => '?????',
   
'diff_tomorrow' => '????',
   
'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' => function (\Carbon\CarbonInterface $current, \Carbon\CarbonInterface $other) {
            return (
$current->isSameWeek($other) ? '' : '[??????] ').'dddd, LT[-??]';
        },
       
'lastDay' => '[?????], LT[-??]',
       
'lastWeek' => '[????] dddd, LT-??',
       
'sameElse' => 'L',
    ],
   
'ordinal' => function ($number) {
        if (
$number === 0) {
            return
$number;
        }
        if (
$number === 1) {
            return
$number.'-??';
        }
        if ((
$number < 20) || ($number <= 100 && ($number % 20 === 0)) || ($number % 100 === 0)) {
            return
'??-'.$number;
        }

        return
$number.'-?';
    },
   
'months' => ['???????', '?????????', '?????', '???????', '?????', '??????', '??????', '???????', '??????????', '?????????', '????????', '?????????'],
   
'months_standalone' => ['???????', '?????????', '?????', '??????', '?????', '??????', '??????', '???????', '??????????', '?????????', '????????', '?????????'],
   
'months_short' => ['???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???'],
   
'months_regexp' => '/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/',
   
'weekdays' => ['??????', '????????', '?????????', '?????????', '?????????', '?????????', '??????'],
   
'weekdays_standalone' => ['?????', '????????', '?????????', '?????????', '?????????', '?????????', '??????'],
   
'weekdays_short' => ['???', '???', '???', '???', '???', '???', '???'],
   
'weekdays_min' => ['??', '??', '??', '??', '??', '??', '??'],
   
'weekdays_regexp' => '/^([^d].*|.*[^d])$/',
   
'first_day_of_week' => 1,
   
'day_of_first_week_of_year' => 1,
   
'list' => [', ', ' ?? '],
   
'meridiem' => function ($hour) {
        if (
$hour >= 4) {
            if (
$hour < 11) {
                return
'?????';
            }

            if (
$hour < 16) {
                return
'???????';
            }

            if (
$hour < 22) {
                return
'???????';
            }
        }

        return
'?????';
    },
];