PHP Classes

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

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php   Download  
File: vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Chatto PHP Websocket Chat System
Websocket based chat system using Ratchet library
Author: By
Last change:
Date: 3 years ago
Size: 2,899 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:
 * - Abdellah Chadidi
 * - Atef Ben Ali (atefBB)
 */
// Same for long and short
$months = [
   
// @TODO add shakl to months
   
'?????',
   
'??????',
   
'????',
   
'?????',
   
'????',
   
'?????',
   
'?????',
   
'?????',
   
'??????',
   
'??????',
   
'??????',
   
'??????',
];

return [
   
'year' => implode('|', ['?????', '?????', '?????????', '????????'.' :count', '?????'.' :count']),
   
'month' => implode('|', ['??????', '??????', '?????????', '???????'.' :count', '??????'.' :count']),
   
'week' => implode('|', ['????????', '????????', '????????????', '?????????'.' :count', '????????'.' :count']),
   
'day' => implode('|', ['?????', '?????', '?????????', '???????'.' :count', '?????'.' :count']),
   
'hour' => implode('|', ['??????', '??????', '??????????', '???????'.' :count', '??????'.' :count']),
   
'minute' => implode('|', ['????????', '????????', '????????????', '????????'.' :count', '????????'.' :count']),
   
'second' => implode('|', ['????????', '????????', '????????????', '??????'.' :count', '????????'.' :count']),
   
'ago' => '?????? :time',
   
'from_now' => '???? ????? :time',
   
'after' => '?????? :time',
   
'before' => '?????? :time',

   
// @TODO add shakl to translations below
   
'formats' => [
       
'LT' => 'HH:mm',
       
'LTS' => 'HH:mm:ss',
       
'L' => 'D/M/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',
    ],
   
'meridiem' => ['?', '?'],
   
'weekdays' => ['?????', '???????', '????????', '????????', '??????', '??????', '?????'],
   
'weekdays_short' => ['???', '?????', '??????', '??????', '????', '????', '???'],
   
'weekdays_min' => ['?', '?', '?', '?', '?', '?', '?'],
   
'months' => $months,
   
'months_short' => $months,
   
'first_day_of_week' => 6,
   
'day_of_first_week_of_year' => 1,
   
'list' => ['? ', ' ? '],
];