update v1.0.4
This commit is contained in:
550
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
550
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
File diff suppressed because it is too large
Load Diff
100
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
100
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
@@ -22,13 +22,13 @@ use Symfony\Component\Translation\Loader\ArrayLoader;
|
||||
* The implemenation provides helpers to handle weeks but only days are saved.
|
||||
* Weeks are calculated based on the total days of the current instance.
|
||||
*
|
||||
* @property integer $years Total years of the current interval.
|
||||
* @property integer $months Total months of the current interval.
|
||||
* @property integer $weeks Total weeks of the current interval calculated from the days.
|
||||
* @property integer $dayz Total days of the current interval (weeks * 7 + days).
|
||||
* @property integer $hours Total hours of the current interval.
|
||||
* @property integer $minutes Total minutes of the current interval.
|
||||
* @property integer $seconds Total seconds of the current interval.
|
||||
* @property int $years Total years of the current interval.
|
||||
* @property int $months Total months of the current interval.
|
||||
* @property int $weeks Total weeks of the current interval calculated from the days.
|
||||
* @property int $dayz Total days of the current interval (weeks * 7 + days).
|
||||
* @property int $hours Total hours of the current interval.
|
||||
* @property int $minutes Total minutes of the current interval.
|
||||
* @property int $seconds Total seconds of the current interval.
|
||||
*
|
||||
* @property-read integer $dayzExcludeWeeks Total days remaining in the final week of the current instance (days % 7).
|
||||
* @property-read integer $daysExcludeWeeks alias of dayzExcludeWeeks
|
||||
@@ -48,7 +48,6 @@ use Symfony\Component\Translation\Loader\ArrayLoader;
|
||||
* @method static CarbonInterval minute($minutes = 1) Alias for minutes()
|
||||
* @method static CarbonInterval seconds($seconds = 1) Create instance specifying a number of seconds.
|
||||
* @method static CarbonInterval second($seconds = 1) Alias for seconds()
|
||||
*
|
||||
* @method CarbonInterval years() years($years = 1) Set the years portion of the current interval.
|
||||
* @method CarbonInterval year() year($years = 1) Alias for years().
|
||||
* @method CarbonInterval months() months($months = 1) Set the months portion of the current interval.
|
||||
@@ -97,11 +96,11 @@ class CarbonInterval extends DateInterval
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
private static function wasCreatedFromDiff(DateInterval $interval)
|
||||
{
|
||||
return ($interval->days !== false && $interval->days !== static::PHP_DAYS_FALSE);
|
||||
return $interval->days !== false && $interval->days !== static::PHP_DAYS_FALSE;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
@@ -111,13 +110,13 @@ class CarbonInterval extends DateInterval
|
||||
/**
|
||||
* Create a new CarbonInterval instance.
|
||||
*
|
||||
* @param integer $years
|
||||
* @param integer $months
|
||||
* @param integer $weeks
|
||||
* @param integer $days
|
||||
* @param integer $hours
|
||||
* @param integer $minutes
|
||||
* @param integer $seconds
|
||||
* @param int $years
|
||||
* @param int $months
|
||||
* @param int $weeks
|
||||
* @param int $days
|
||||
* @param int $hours
|
||||
* @param int $minutes
|
||||
* @param int $seconds
|
||||
*/
|
||||
public function __construct($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null)
|
||||
{
|
||||
@@ -130,7 +129,7 @@ class CarbonInterval extends DateInterval
|
||||
$specDays += $weeks > 0 ? $weeks * Carbon::DAYS_PER_WEEK : 0;
|
||||
$specDays += $days > 0 ? $days : 0;
|
||||
|
||||
$spec .= ($specDays > 0) ? $specDays.static::PERIOD_DAYS : '';
|
||||
$spec .= $specDays > 0 ? $specDays.static::PERIOD_DAYS : '';
|
||||
|
||||
if ($hours > 0 || $minutes > 0 || $seconds > 0) {
|
||||
$spec .= static::PERIOD_TIME_PREFIX;
|
||||
@@ -139,6 +138,11 @@ class CarbonInterval extends DateInterval
|
||||
$spec .= $seconds > 0 ? $seconds.static::PERIOD_SECONDS : '';
|
||||
}
|
||||
|
||||
if ($spec === static::PERIOD_PREFIX) {
|
||||
// Allow the zero interval.
|
||||
$spec .= '0'.static::PERIOD_YEARS;
|
||||
}
|
||||
|
||||
parent::__construct($spec);
|
||||
}
|
||||
|
||||
@@ -148,13 +152,13 @@ class CarbonInterval extends DateInterval
|
||||
* syntax as it allows you to do CarbonInterval::create(1)->fn() rather than
|
||||
* (new CarbonInterval(1))->fn().
|
||||
*
|
||||
* @param integer $years
|
||||
* @param integer $months
|
||||
* @param integer $weeks
|
||||
* @param integer $days
|
||||
* @param integer $hours
|
||||
* @param integer $minutes
|
||||
* @param integer $seconds
|
||||
* @param int $years
|
||||
* @param int $months
|
||||
* @param int $weeks
|
||||
* @param int $days
|
||||
* @param int $hours
|
||||
* @param int $minutes
|
||||
* @param int $seconds
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
@@ -170,13 +174,13 @@ class CarbonInterval extends DateInterval
|
||||
* have the same names.
|
||||
*
|
||||
* @param string $name
|
||||
* @param array $args
|
||||
* @param array $args
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function __callStatic($name, $args)
|
||||
{
|
||||
$arg = count($args) == 0 ? 1 : $args[0];
|
||||
$arg = count($args) === 0 ? 1 : $args[0];
|
||||
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
@@ -230,6 +234,7 @@ class CarbonInterval extends DateInterval
|
||||
$instance = new static($di->y, $di->m, 0, $di->d, $di->h, $di->i, $di->s);
|
||||
$instance->invert = $di->invert;
|
||||
$instance->days = $di->days;
|
||||
|
||||
return $instance;
|
||||
}
|
||||
|
||||
@@ -244,7 +249,7 @@ class CarbonInterval extends DateInterval
|
||||
*/
|
||||
protected static function translator()
|
||||
{
|
||||
if (static::$translator == null) {
|
||||
if (static::$translator === null) {
|
||||
static::$translator = new Translator('en');
|
||||
static::$translator->addLoader('array', new ArrayLoader());
|
||||
static::setLocale('en');
|
||||
@@ -307,7 +312,7 @@ class CarbonInterval extends DateInterval
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*
|
||||
* @return integer
|
||||
* @return int
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
@@ -346,7 +351,7 @@ class CarbonInterval extends DateInterval
|
||||
* Set a part of the CarbonInterval object
|
||||
*
|
||||
* @param string $name
|
||||
* @param integer $val
|
||||
* @param int $val
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*/
|
||||
@@ -387,13 +392,14 @@ class CarbonInterval extends DateInterval
|
||||
* Allow setting of weeks and days to be cumulative.
|
||||
*
|
||||
* @param int $weeks Number of weeks to set
|
||||
* @param int $days Number of days to set
|
||||
* @param int $days Number of days to set
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function weeksAndDays($weeks, $days)
|
||||
{
|
||||
$this->dayz = ($weeks * Carbon::DAYS_PER_WEEK) + $days;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -404,13 +410,13 @@ class CarbonInterval extends DateInterval
|
||||
* have the same names.
|
||||
*
|
||||
* @param string $name
|
||||
* @param array $args
|
||||
* @param array $args
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function __call($name, $args)
|
||||
{
|
||||
$arg = count($args) == 0 ? 1 : $args[0];
|
||||
$arg = count($args) === 0 ? 1 : $args[0];
|
||||
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
@@ -491,25 +497,25 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the passed interval to the current instance
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
* Add the passed interval to the current instance
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function add(DateInterval $interval)
|
||||
{
|
||||
$sign = ($interval->invert === 1) ? -1 : 1;
|
||||
$sign = $interval->invert === 1 ? -1 : 1;
|
||||
|
||||
if (static::wasCreatedFromDiff($interval)) {
|
||||
$this->dayz = $this->dayz + ($interval->days * $sign);
|
||||
$this->dayz = $this->dayz + $interval->days * $sign;
|
||||
} else {
|
||||
$this->years = $this->years + ($interval->y * $sign);
|
||||
$this->months = $this->months + ($interval->m * $sign);
|
||||
$this->dayz = $this->dayz + ($interval->d * $sign);
|
||||
$this->hours = $this->hours + ($interval->h * $sign);
|
||||
$this->minutes = $this->minutes + ($interval->i * $sign);
|
||||
$this->seconds = $this->seconds + ($interval->s * $sign);
|
||||
$this->years = $this->years + $interval->y * $sign;
|
||||
$this->months = $this->months + $interval->m * $sign;
|
||||
$this->dayz = $this->dayz + $interval->d * $sign;
|
||||
$this->hours = $this->hours + $interval->h * $sign;
|
||||
$this->minutes = $this->minutes + $interval->i * $sign;
|
||||
$this->seconds = $this->seconds + $interval->s * $sign;
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
Normal file
28
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 jaar|:count jare',
|
||||
'month' => '1 maand|:count maande',
|
||||
'week' => '1 week|:count weke',
|
||||
'day' => '1 dag|:count dae',
|
||||
'hour' => '1 uur|:count ure',
|
||||
'minute' => '1 minuut|:count minute',
|
||||
'second' => '1 sekond|:count sekondes',
|
||||
'ago' => ':time terug',
|
||||
'from_now' => ':time van nou af',
|
||||
'after' => ':time na',
|
||||
'before' => ':time voor',
|
||||
);
|
||||
11
vendor/nesbot/carbon/src/Carbon/Lang/ar.php
vendored
11
vendor/nesbot/carbon/src/Carbon/Lang/ar.php
vendored
@@ -11,20 +11,19 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ar/date.php
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => '{0}سنة|{1}سنة|{2}سنتين|[3,10]:count سنوات|[11,Inf] سنة',
|
||||
'month' => '{0}شهر|{1}شهر|{2}شهرين|[3,10]:count أشهر|[11,Inf] شهر',
|
||||
'week' => '{0}أسبوع|{1}أسبوع|{2}أسبوعين|[3,10]:count أسابيع|[11,Inf] أسبوع',
|
||||
'year' => '{0}سنة|{1}سنة|{2}سنتين|[3,10]:count سنوات|[11,Inf]:count سنة',
|
||||
'month' => '{0}شهر|{1} شهر|{2}شهرين|[3,10]:count أشهر|[11,Inf]:count شهر',
|
||||
'week' => '{0}إسبوع|{1}إسبوع|{2}إسبوعين|[3,10]:count أسابيع|[11,Inf]:count إسبوع',
|
||||
'day' => '{0}يوم|{1}يوم|{2}يومين|[3,10]:count أيام|[11,Inf] يوم',
|
||||
'hour' => '{0}ساعة|{1}ساعة|{2}ساعتين|[3,10]:count ساعات|[11,Inf] ساعة',
|
||||
'hour' => '{0}ساعة|{1}ساعة|{2}ساعتين|[3,10]:count ساعات|[11,Inf]:count ساعة',
|
||||
'minute' => '{0}دقيقة|{1}دقيقة|{2}دقيقتين|[3,10]:count دقائق|[11,Inf]:count دقيقة',
|
||||
'second' => '{0}ثانية|{1}ثانية|{2}ثانيتين|[3,10]:count ثوان|[11,Inf] ثانية',
|
||||
'second' => '{0}ثانية|{1}ثانية|{2}ثانيتين|[3,10]:count ثوان|[11,Inf]:count ثانية',
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'من الآن :time',
|
||||
'after' => 'بعد :time',
|
||||
|
||||
3
vendor/nesbot/carbon/src/Carbon/Lang/az.php
vendored
3
vendor/nesbot/carbon/src/Carbon/Lang/az.php
vendored
@@ -10,9 +10,8 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
/**
|
||||
* Extracted from https://github.com/The-Hasanov/laravel-date/blob/1006f37c431178b5c7219d02c93579c9690ae546/src/Lang/az.php
|
||||
*/
|
||||
return array(
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
@@ -11,7 +11,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/bg/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/bn.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/bn.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eu/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/ca.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/ca.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ca/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/cs.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/cs.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/cs/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/da.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/da.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 år|:count år',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/de.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/de.php
vendored
@@ -13,7 +13,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 Jahr|:count Jahre',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/el.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/el.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/el/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/en.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/en.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 year|:count years',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/eo.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/eo.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eo/date.php
|
||||
|
||||
5
vendor/nesbot/carbon/src/Carbon/Lang/es.php
vendored
5
vendor/nesbot/carbon/src/Carbon/Lang/es.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 año|:count años',
|
||||
@@ -24,6 +23,6 @@ return array(
|
||||
'second' => '1 segundo|:count segundos',
|
||||
'ago' => 'hace :time',
|
||||
'from_now' => 'dentro de :time',
|
||||
'after' => ':time antes',
|
||||
'before' => ':time después',
|
||||
'after' => ':time después',
|
||||
'before' => ':time antes',
|
||||
);
|
||||
|
||||
30
vendor/nesbot/carbon/src/Carbon/Lang/et.php
vendored
Normal file
30
vendor/nesbot/carbon/src/Carbon/Lang/et.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 aasta|:count aastat',
|
||||
'month' => '1 kuu|:count kuud',
|
||||
'week' => '1 nädal|:count nädalat',
|
||||
'day' => '1 päev|:count päeva',
|
||||
'hour' => '1 tund|:count tundi',
|
||||
'minute' => '1 minut|:count minutit',
|
||||
'second' => '1 sekund|:count sekundit',
|
||||
'ago' => ':time tagasi',
|
||||
'from_now' => ':time pärast',
|
||||
'after' => ':time pärast',
|
||||
'before' => ':time enne',
|
||||
'year_from_now' => ':count aasta',
|
||||
'month_from_now' => ':count kuu',
|
||||
'week_from_now' => ':count nädala',
|
||||
'day_from_now' => ':count päeva',
|
||||
'hour_from_now' => ':count tunni',
|
||||
'minute_from_now' => ':count minuti',
|
||||
'second_from_now' => ':count sekundi',
|
||||
);
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/eu.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/eu.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eu/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/fa.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/fa.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
|
||||
return array(
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/fi.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/fi.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/fi/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/fo.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/fo.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 ár|:count ár',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/fr.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/fr.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 an|:count ans',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/he.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/he.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => 'שנה|{2}שנתיים|:count שנים',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/hr.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/hr.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/hr/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/hu.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/hu.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/hu/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/id.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/id.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/id/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/it.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/it.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 anno|:count anni',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/ja.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/ja.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ja/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/ko.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/ko.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/cs/date.php
|
||||
|
||||
3
vendor/nesbot/carbon/src/Carbon/Lang/lt.php
vendored
3
vendor/nesbot/carbon/src/Carbon/Lang/lt.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
|
||||
return array(
|
||||
@@ -27,4 +26,4 @@ return array(
|
||||
'from_now' => 'už :time',
|
||||
'after' => 'po :time',
|
||||
'before' => ':time nuo dabar',
|
||||
);
|
||||
);
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/lv.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/lv.php
vendored
@@ -11,7 +11,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '0 gadiem|:count gada|:count gadiem',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/ms.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/ms.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count tahun',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/nl.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/nl.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 jaar|:count jaren',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/no.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/no.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/no/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/pl.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/pl.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/pl/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/pt.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/pt.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/pt/date.php
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 ano|:count anos',
|
||||
@@ -22,6 +21,6 @@ return array(
|
||||
'second' => '1 segundo|:count segundos',
|
||||
'ago' => 'há :time',
|
||||
'from_now' => 'dentro de :time',
|
||||
'after' => ':time depois',
|
||||
'before' => ':time antes',
|
||||
'after' => 'após :time',
|
||||
'before' => ':time atrás',
|
||||
);
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/ro.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/ro.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ro/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/ru.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/ru.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ru/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/sk.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/sk.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sk/date.php
|
||||
|
||||
37
vendor/nesbot/carbon/src/Carbon/Lang/sl.php
vendored
37
vendor/nesbot/carbon/src/Carbon/Lang/sl.php
vendored
@@ -10,28 +10,27 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sl/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count leto|:count leti|:count leta|:count let',
|
||||
'month' => ':count mesec|:count meseca|:count mesece|:count mesecev',
|
||||
'week' => ':count teden|:count tedna|:count tedne|:count tednov',
|
||||
'day' => ':count dan|:count dni|:count dni|:count dni',
|
||||
'hour' => ':count uro|:count uri|:count ure|:count ur',
|
||||
'minute' => ':count minuto|:count minuti|:count minute|:count minut',
|
||||
'second' => ':count sekundo|:count sekundi|:count sekunde|:count sekund',
|
||||
'year_ago' => ':count letom|:count leti|:count leti|:count leti',
|
||||
'month_ago' => ':count mesecem|:count meseci|:count meseci|:count meseci',
|
||||
'week_ago' => ':count tednom|:count tednoma|:count tedni|:count tedni',
|
||||
'day_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
|
||||
'hour_ago' => ':count uro|:count urama|:count urami|:count urami',
|
||||
'minute_ago'=> ':count minuto|:count minutama|:count minutami|:count minutami',
|
||||
'second_ago'=> ':count sekundo|:count sekundama|:count sekundami|:count sekundami',
|
||||
'ago' => 'pred :time',
|
||||
'from_now' => 'čez :time',
|
||||
'after' => 'čez :time',
|
||||
'before' => 'pred :time'
|
||||
'year' => ':count leto|:count leti|:count leta|:count let',
|
||||
'month' => ':count mesec|:count meseca|:count mesece|:count mesecev',
|
||||
'week' => ':count teden|:count tedna|:count tedne|:count tednov',
|
||||
'day' => ':count dan|:count dni|:count dni|:count dni',
|
||||
'hour' => ':count uro|:count uri|:count ure|:count ur',
|
||||
'minute' => ':count minuto|:count minuti|:count minute|:count minut',
|
||||
'second' => ':count sekundo|:count sekundi|:count sekunde|:count sekund',
|
||||
'year_ago' => ':count letom|:count leti|:count leti|:count leti',
|
||||
'month_ago' => ':count mesecem|:count meseci|:count meseci|:count meseci',
|
||||
'week_ago' => ':count tednom|:count tednoma|:count tedni|:count tedni',
|
||||
'day_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
|
||||
'hour_ago' => ':count uro|:count urama|:count urami|:count urami',
|
||||
'minute_ago'=> ':count minuto|:count minutama|:count minutami|:count minutami',
|
||||
'second_ago'=> ':count sekundo|:count sekundama|:count sekundami|:count sekundami',
|
||||
'ago' => 'pred :time',
|
||||
'from_now' => 'čez :time',
|
||||
'after' => 'čez :time',
|
||||
'before' => 'pred :time'
|
||||
);
|
||||
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/sq.php
vendored
Normal file
28
vendor/nesbot/carbon/src/Carbon/Lang/sq.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 vit|:count vjet',
|
||||
'month' => '1 muaj|:count muaj',
|
||||
'week' => '1 javë|:count javë',
|
||||
'day' => '1 ditë|:count ditë',
|
||||
'hour' => '1 orë|:count orë',
|
||||
'minute' => '1 minutë|:count minuta',
|
||||
'second' => '1 sekondë|:count sekonda',
|
||||
'ago' => ':time më parë',
|
||||
'from_now' => ':time nga tani',
|
||||
'after' => ':time pas',
|
||||
'before' => ':time para',
|
||||
);
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/sr.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/sr.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sr/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/sv.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/sv.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sv/date.php
|
||||
|
||||
2
vendor/nesbot/carbon/src/Carbon/Lang/th.php
vendored
2
vendor/nesbot/carbon/src/Carbon/Lang/th.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/th/date.php
|
||||
@@ -23,7 +22,6 @@ return array(
|
||||
'hour' => '1 ชั่วโมง|:count ชั่วโมง',
|
||||
'minute' => '1 นาที|:count นาที',
|
||||
'second' => '1 วินาที|:count วินาที',
|
||||
'ago' => ':time sitten',
|
||||
'ago' => ':time ที่แล้ว',
|
||||
'from_now' => ':time จากนี้',
|
||||
'after' => 'หลัง:time',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/tr.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/tr.php
vendored
@@ -12,7 +12,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count yıl',
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/uk.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/uk.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/uk/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/uz.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/uz.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
|
||||
return array(
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/vi.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/vi.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/vi/date.php
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/zh-TW/date.php
|
||||
|
||||
1
vendor/nesbot/carbon/src/Carbon/Lang/zh.php
vendored
1
vendor/nesbot/carbon/src/Carbon/Lang/zh.php
vendored
@@ -10,7 +10,6 @@
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/zh/date.php
|
||||
|
||||
Reference in New Issue
Block a user