PHP Classes

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

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/nesbot/carbon/src/Carbon/Lang/tr.php   Download  
File: vendor/nesbot/carbon/src/Carbon/Lang/tr.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: 3,652 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:
 * - Josh Soref
 * - Alan Agius
 * - Erhan Gundogan
 * - François B
 * - JD Isaacks
 * - Murat Yüksel
 * - Baran ?engül
 * - Selami (selamialtin)
 */
return [
   
'year' => ':count y?l',
   
'a_year' => '{1}bir y?l|]1,Inf[:count y?l',
   
'y' => ':county?l',
   
'month' => ':count ay',
   
'a_month' => '{1}bir ay|]1,Inf[:count ay',
   
'm' => ':countay',
   
'week' => ':count hafta',
   
'a_week' => '{1}bir hafta|]1,Inf[:count hafta',
   
'w' => ':counth',
   
'day' => ':count gün',
   
'a_day' => '{1}bir gün|]1,Inf[:count gün',
   
'd' => ':countg',
   
'hour' => ':count saat',
   
'a_hour' => '{1}bir saat|]1,Inf[:count saat',
   
'h' => ':countsa',
   
'minute' => ':count dakika',
   
'a_minute' => '{1}bir dakika|]1,Inf[:count dakika',
   
'min' => ':countdk',
   
'second' => ':count saniye',
   
'a_second' => '{1}birkaç saniye|]1,Inf[:count saniye',
   
's' => ':countsn',
   
'ago' => ':time önce',
   
'from_now' => ':time sonra',
   
'after' => ':time sonra',
   
'before' => ':time önce',
   
'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' => '[bugün saat] LT',
       
'nextDay' => '[yar?n saat] LT',
       
'nextWeek' => '[gelecek] dddd [saat] LT',
       
'lastDay' => '[dün] LT',
       
'lastWeek' => '[geçen] dddd [saat] LT',
       
'sameElse' => 'L',
    ],
   
'ordinal' => function ($number, $period) {
        switch (
$period) {
            case
'd':
            case
'D':
            case
'Do':
            case
'DD':
                return
$number;
            default:
                if (
$number === 0) { // special case for zero
                   
return "$number'?nc?";
                }

                static
$suffixes = [
                   
1 => '\'inci',
                   
5 => '\'inci',
                   
8 => '\'inci',
                   
70 => '\'inci',
                   
80 => '\'inci',
                   
2 => '\'nci',
                   
7 => '\'nci',
                   
20 => '\'nci',
                   
50 => '\'nci',
                   
3 => '\'üncü',
                   
4 => '\'üncü',
                   
100 => '\'üncü',
                   
6 => '\'nc?',
                   
9 => '\'uncu',
                   
10 => '\'uncu',
                   
30 => '\'uncu',
                   
60 => '\'?nc?',
                   
90 => '\'?nc?',
                ];

               
$lastDigit = $number % 10;

                return
$number.($suffixes[$lastDigit] ?? $suffixes[$number % 100 - $lastDigit] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
        }
    },
   
'meridiem' => ['ÖÖ', 'ÖS', 'öö', 'ös'],
   
'months' => ['Ocak', '?ubat', 'Mart', 'Nisan', 'May?s', 'Haziran', 'Temmuz', 'A?ustos', 'Eylül', 'Ekim', 'Kas?m', 'Aral?k'],
   
'months_short' => ['Oca', '?ub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'A?u', 'Eyl', 'Eki', 'Kas', 'Ara'],
   
'weekdays' => ['Pazar', 'Pazartesi', 'Sal?', 'Çar?amba', 'Per?embe', 'Cuma', 'Cumartesi'],
   
'weekdays_short' => ['Paz', 'Pts', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'],
   
'weekdays_min' => ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],
   
'first_day_of_week' => 1,
   
'day_of_first_week_of_year' => 1,
   
'list' => [', ', ' ve '],
];