vendor/nesbot/carbon/src/Carbon/Lang/sh.php
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?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.
*/
// @codeCoverageIgnoreStart
use Symfony\Component\Translation\PluralizationRules;
if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
PluralizationRules::set(function ($number) {
return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
}, 'sh');
}
// @codeCoverageIgnoreEnd
/*
* Authors:
* - Томица Кораћ
* - Enrique Vidal
* - Christopher Dell
* - dmilisic
* - danijel
* - Miroslav Matkovic (mikki021)
*/
return [
'diff_now' => 'sada',
'diff_yesterday' => 'juče',
'diff_tomorrow' => 'sutra',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'MMMM D, YYYY',
'LLL' => 'DD MMM HH:mm',
'LLLL' => 'MMMM DD, YYYY HH:mm',
],
'year' => ':count godina|:count godine|:count godina',
'y' => ':count g.',
'month' => ':count mesec|:count meseca|:count meseci',
'm' => ':count m.',
'week' => ':count nedelja|:count nedelje|:count nedelja',
'w' => ':count n.',
'day' => ':count dan|:count dana|:count dana',
'd' => ':count d.',
'hour' => ':count sat|:count sata|:count sati',
'h' => ':count č.',
'minute' => ':count minut|:count minuta|:count minuta',
'min' => ':count min.',
'second' => ':count sekund|:count sekunde|:count sekundi',
's' => ':count s.',
'ago' => 'pre :time',
'from_now' => 'za :time',
'after' => 'nakon :time',
'before' => ':time raniјe',
后面还有 8 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
