vendor/nesbot/carbon/src/Carbon/Lang/be.php
(开头部分) 9KB这里只显示每个文件的开头 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 Carbon\CarbonInterface;
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);
}, 'be');
}
// @codeCoverageIgnoreEnd
/*
* Authors:
* - Josh Soref
* - SobakaSlava
* - François B
* - Serhan Apaydın
* - JD Isaacks
* - AbadonnaAbbys
* - Siomkin Alexander
*/
return [
'year' => ':count год|:count гады|:count гадоў',
'a_year' => '{1}год|:count год|:count гады|:count гадоў',
'y' => ':count год|:count гады|:count гадоў',
'month' => ':count месяц|:count месяцы|:count месяцаў',
'a_month' => '{1}месяц|:count месяц|:count месяцы|:count месяцаў',
'm' => ':count месяц|:count месяцы|:count месяцаў',
'week' => ':count тыдзень|:count тыдні|:count тыдняў',
'a_week' => '{1}тыдзень|:count тыдзень|:count тыдні|:count тыдняў',
'w' => ':count тыдзень|:count тыдні|:count тыдняў',
'day' => ':count дзень|:count дні|:count дзён',
'a_day' => '{1}дзень|:count дзень|:count дні|:count дзён',
'd' => ':count дн',
'hour' => ':count гадзіну|:count гадзіны|:count гадзін',
'a_hour' => '{1}гадзіна|:count гадзіна|:count гадзіны|:count гадзін',
'h' => ':count гадзіна|:count гадзіны|:count гадзін',
'minute' => ':count хвіліна|:count хвіліны|:count хвілін',
'a_minute' => '{1}хвіліна|:count хвіліна|:count хвіліны|:count хвілін',
'min' => ':count хв',
'second' => ':count секунда|:count секунды|:count секунд',
'a_second' => '{1}некалькі секунд|:count секунда|:count секунды|:count секунд',
's' => ':count сек',
'hour_ago' => ':count гадзіну|:count гадзіны|:count гадзін',
'a_hour_ago' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
'h_ago' => ':count гадзіну|:count гадзіны|:count гадзін',
'minute_ago' => ':count хвіліну|:count хвіліны|:count хвілін',
后面还有 113 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
