Update v1.0.6
This commit is contained in:
19
vendor/nesbot/carbon/LICENSE
vendored
19
vendor/nesbot/carbon/LICENSE
vendored
@@ -1,19 +0,0 @@
|
||||
Copyright (C) Brian Nesbitt
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
40
vendor/nesbot/carbon/composer.json
vendored
40
vendor/nesbot/carbon/composer.json
vendored
@@ -1,40 +0,0 @@
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"type": "library",
|
||||
"description": "A simple API extension for DateTime.",
|
||||
"keywords": [
|
||||
"date",
|
||||
"time",
|
||||
"DateTime"
|
||||
],
|
||||
"homepage": "http://carbon.nesbot.com",
|
||||
"support": {
|
||||
"issues": "https://github.com/briannesbitt/Carbon/issues",
|
||||
"source": "https://github.com/briannesbitt/Carbon"
|
||||
},
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Brian Nesbitt",
|
||||
"email": "brian@nesbot.com",
|
||||
"homepage": "http://nesbot.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.0",
|
||||
"symfony/translation": "~2.6|~3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~4.0|~5.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Carbon\\": "src/Carbon/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
}
|
||||
}
|
||||
84
vendor/nesbot/carbon/readme.md
vendored
84
vendor/nesbot/carbon/readme.md
vendored
@@ -1,84 +0,0 @@
|
||||
# Carbon
|
||||
|
||||
[](https://packagist.org/packages/nesbot/carbon)
|
||||
[](https://packagist.org/packages/nesbot/carbon)
|
||||
[](https://travis-ci.org/briannesbitt/Carbon)
|
||||
[](https://styleci.io/repos/5724990)
|
||||
|
||||
A simple PHP API extension for DateTime. [http://carbon.nesbot.com](http://carbon.nesbot.com)
|
||||
|
||||
```php
|
||||
printf("Right now is %s", Carbon::now()->toDateTimeString());
|
||||
printf("Right now in Vancouver is %s", Carbon::now('America/Vancouver')); //implicit __toString()
|
||||
$tomorrow = Carbon::now()->addDay();
|
||||
$lastWeek = Carbon::now()->subWeek();
|
||||
$nextSummerOlympics = Carbon::createFromDate(2012)->addYears(4);
|
||||
|
||||
$officialDate = Carbon::now()->toRfc2822String();
|
||||
|
||||
$howOldAmI = Carbon::createFromDate(1975, 5, 21)->age;
|
||||
|
||||
$noonTodayLondonTime = Carbon::createFromTime(12, 0, 0, 'Europe/London');
|
||||
|
||||
$worldWillEnd = Carbon::createFromDate(2012, 12, 21, 'GMT');
|
||||
|
||||
// Don't really want to die so mock now
|
||||
Carbon::setTestNow(Carbon::createFromDate(2000, 1, 1));
|
||||
|
||||
// comparisons are always done in UTC
|
||||
if (Carbon::now()->gte($worldWillEnd)) {
|
||||
die();
|
||||
}
|
||||
|
||||
// Phew! Return to normal behaviour
|
||||
Carbon::setTestNow();
|
||||
|
||||
if (Carbon::now()->isWeekend()) {
|
||||
echo 'Party!';
|
||||
}
|
||||
echo Carbon::now()->subMinutes(2)->diffForHumans(); // '2 minutes ago'
|
||||
|
||||
// ... but also does 'from now', 'after' and 'before'
|
||||
// rolling up to seconds, minutes, hours, days, months, years
|
||||
|
||||
$daysSinceEpoch = Carbon::createFromTimestamp(0)->diffInDays();
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
### With Composer
|
||||
|
||||
```
|
||||
$ composer require nesbot/carbon
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"require": {
|
||||
"nesbot/carbon": "~1.14"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```php
|
||||
<?php
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
printf("Now: %s", Carbon::now());
|
||||
```
|
||||
|
||||
<a name="install-nocomposer"/>
|
||||
### Without Composer
|
||||
|
||||
Why are you not using [composer](http://getcomposer.org/)? Download [Carbon.php](https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Carbon.php) from the repo and save the file into your project path somewhere.
|
||||
|
||||
```php
|
||||
<?php
|
||||
require 'path/to/Carbon.php';
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
printf("Now: %s", Carbon::now());
|
||||
```
|
||||
2608
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
2608
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
File diff suppressed because it is too large
Load Diff
523
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
523
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
@@ -1,523 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
namespace Carbon;
|
||||
|
||||
use DateInterval;
|
||||
use InvalidArgumentException;
|
||||
use Symfony\Component\Translation\Translator;
|
||||
use Symfony\Component\Translation\TranslatorInterface;
|
||||
use Symfony\Component\Translation\Loader\ArrayLoader;
|
||||
|
||||
/**
|
||||
* A simple API extension for DateInterval.
|
||||
* 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 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
|
||||
*
|
||||
* @method static CarbonInterval years($years = 1) Create instance specifying a number of years.
|
||||
* @method static CarbonInterval year($years = 1) Alias for years()
|
||||
* @method static CarbonInterval months($months = 1) Create instance specifying a number of months.
|
||||
* @method static CarbonInterval month($months = 1) Alias for months()
|
||||
* @method static CarbonInterval weeks($weeks = 1) Create instance specifying a number of weeks.
|
||||
* @method static CarbonInterval week($weeks = 1) Alias for weeks()
|
||||
* @method static CarbonInterval days($days = 1) Create instance specifying a number of days.
|
||||
* @method static CarbonInterval dayz($days = 1) Alias for days()
|
||||
* @method static CarbonInterval day($days = 1) Alias for days()
|
||||
* @method static CarbonInterval hours($hours = 1) Create instance specifying a number of hours.
|
||||
* @method static CarbonInterval hour($hours = 1) Alias for hours()
|
||||
* @method static CarbonInterval minutes($minutes = 1) Create instance specifying a number of minutes.
|
||||
* @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.
|
||||
* @method CarbonInterval month() month($months = 1) Alias for months().
|
||||
* @method CarbonInterval weeks() weeks($weeks = 1) Set the weeks portion of the current interval. Will overwrite dayz value.
|
||||
* @method CarbonInterval week() week($weeks = 1) Alias for weeks().
|
||||
* @method CarbonInterval days() days($days = 1) Set the days portion of the current interval.
|
||||
* @method CarbonInterval dayz() dayz($days = 1) Alias for days().
|
||||
* @method CarbonInterval day() day($days = 1) Alias for days().
|
||||
* @method CarbonInterval hours() hours($hours = 1) Set the hours portion of the current interval.
|
||||
* @method CarbonInterval hour() hour($hours = 1) Alias for hours().
|
||||
* @method CarbonInterval minutes() minutes($minutes = 1) Set the minutes portion of the current interval.
|
||||
* @method CarbonInterval minute() minute($minutes = 1) Alias for minutes().
|
||||
* @method CarbonInterval seconds() seconds($seconds = 1) Set the seconds portion of the current interval.
|
||||
* @method CarbonInterval second() second($seconds = 1) Alias for seconds().
|
||||
*/
|
||||
class CarbonInterval extends DateInterval
|
||||
{
|
||||
/**
|
||||
* Interval spec period designators
|
||||
*/
|
||||
const PERIOD_PREFIX = 'P';
|
||||
const PERIOD_YEARS = 'Y';
|
||||
const PERIOD_MONTHS = 'M';
|
||||
const PERIOD_DAYS = 'D';
|
||||
const PERIOD_TIME_PREFIX = 'T';
|
||||
const PERIOD_HOURS = 'H';
|
||||
const PERIOD_MINUTES = 'M';
|
||||
const PERIOD_SECONDS = 'S';
|
||||
|
||||
/**
|
||||
* A translator to ... er ... translate stuff
|
||||
*
|
||||
* @var TranslatorInterface
|
||||
*/
|
||||
protected static $translator;
|
||||
|
||||
/**
|
||||
* Before PHP 5.4.20/5.5.4 instead of FALSE days will be set to -99999 when the interval instance
|
||||
* was created by DateTime:diff().
|
||||
*/
|
||||
const PHP_DAYS_FALSE = -99999;
|
||||
|
||||
/**
|
||||
* Determine if the interval was created via DateTime:diff() or not.
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private static function wasCreatedFromDiff(DateInterval $interval)
|
||||
{
|
||||
return $interval->days !== false && $interval->days !== static::PHP_DAYS_FALSE;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
//////////////////////////// CONSTRUCTORS /////////////////////////
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Create a new CarbonInterval instance.
|
||||
*
|
||||
* @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)
|
||||
{
|
||||
$spec = static::PERIOD_PREFIX;
|
||||
|
||||
$spec .= $years > 0 ? $years.static::PERIOD_YEARS : '';
|
||||
$spec .= $months > 0 ? $months.static::PERIOD_MONTHS : '';
|
||||
|
||||
$specDays = 0;
|
||||
$specDays += $weeks > 0 ? $weeks * Carbon::DAYS_PER_WEEK : 0;
|
||||
$specDays += $days > 0 ? $days : 0;
|
||||
|
||||
$spec .= $specDays > 0 ? $specDays.static::PERIOD_DAYS : '';
|
||||
|
||||
if ($hours > 0 || $minutes > 0 || $seconds > 0) {
|
||||
$spec .= static::PERIOD_TIME_PREFIX;
|
||||
$spec .= $hours > 0 ? $hours.static::PERIOD_HOURS : '';
|
||||
$spec .= $minutes > 0 ? $minutes.static::PERIOD_MINUTES : '';
|
||||
$spec .= $seconds > 0 ? $seconds.static::PERIOD_SECONDS : '';
|
||||
}
|
||||
|
||||
if ($spec === static::PERIOD_PREFIX) {
|
||||
// Allow the zero interval.
|
||||
$spec .= '0'.static::PERIOD_YEARS;
|
||||
}
|
||||
|
||||
parent::__construct($spec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new CarbonInterval instance from specific values.
|
||||
* This is an alias for the constructor that allows better fluent
|
||||
* syntax as it allows you to do CarbonInterval::create(1)->fn() rather than
|
||||
* (new CarbonInterval(1))->fn().
|
||||
*
|
||||
* @param int $years
|
||||
* @param int $months
|
||||
* @param int $weeks
|
||||
* @param int $days
|
||||
* @param int $hours
|
||||
* @param int $minutes
|
||||
* @param int $seconds
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function create($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null)
|
||||
{
|
||||
return new static($years, $months, $weeks, $days, $hours, $minutes, $seconds);
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide static helpers to create instances. Allows CarbonInterval::years(3).
|
||||
*
|
||||
* Note: This is done using the magic method to allow static and instance methods to
|
||||
* have the same names.
|
||||
*
|
||||
* @param string $name
|
||||
* @param array $args
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function __callStatic($name, $args)
|
||||
{
|
||||
$arg = count($args) === 0 ? 1 : $args[0];
|
||||
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
case 'year':
|
||||
return new static($arg);
|
||||
|
||||
case 'months':
|
||||
case 'month':
|
||||
return new static(null, $arg);
|
||||
|
||||
case 'weeks':
|
||||
case 'week':
|
||||
return new static(null, null, $arg);
|
||||
|
||||
case 'days':
|
||||
case 'dayz':
|
||||
case 'day':
|
||||
return new static(null, null, null, $arg);
|
||||
|
||||
case 'hours':
|
||||
case 'hour':
|
||||
return new static(null, null, null, null, $arg);
|
||||
|
||||
case 'minutes':
|
||||
case 'minute':
|
||||
return new static(null, null, null, null, null, $arg);
|
||||
|
||||
case 'seconds':
|
||||
case 'second':
|
||||
return new static(null, null, null, null, null, null, $arg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a CarbonInterval instance from a DateInterval one. Can not instance
|
||||
* DateInterval objects created from DateTime::diff() as you can't externally
|
||||
* set the $days field.
|
||||
*
|
||||
* @param DateInterval $di
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function instance(DateInterval $di)
|
||||
{
|
||||
if (static::wasCreatedFromDiff($di)) {
|
||||
throw new InvalidArgumentException("Can not instance a DateInterval object created from DateTime::diff().");
|
||||
}
|
||||
|
||||
$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;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
/////////////////////// LOCALIZATION //////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Intialize the translator instance if necessary.
|
||||
*
|
||||
* @return TranslatorInterface
|
||||
*/
|
||||
protected static function translator()
|
||||
{
|
||||
if (static::$translator === null) {
|
||||
static::$translator = new Translator('en');
|
||||
static::$translator->addLoader('array', new ArrayLoader());
|
||||
static::setLocale('en');
|
||||
}
|
||||
|
||||
return static::$translator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the translator instance in use
|
||||
*
|
||||
* @return TranslatorInterface
|
||||
*/
|
||||
public static function getTranslator()
|
||||
{
|
||||
return static::translator();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the translator instance to use
|
||||
*
|
||||
* @param TranslatorInterface $translator
|
||||
*/
|
||||
public static function setTranslator(TranslatorInterface $translator)
|
||||
{
|
||||
static::$translator = $translator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current translator locale
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getLocale()
|
||||
{
|
||||
return static::translator()->getLocale();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the current translator locale
|
||||
*
|
||||
* @param string $locale
|
||||
*/
|
||||
public static function setLocale($locale)
|
||||
{
|
||||
static::translator()->setLocale($locale);
|
||||
|
||||
// Ensure the locale has been loaded.
|
||||
static::translator()->addResource('array', require __DIR__.'/Lang/'.$locale.'.php', $locale);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
///////////////////////// GETTERS AND SETTERS /////////////////////
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Get a part of the CarbonInterval object
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
return $this->y;
|
||||
|
||||
case 'months':
|
||||
return $this->m;
|
||||
|
||||
case 'dayz':
|
||||
return $this->d;
|
||||
|
||||
case 'hours':
|
||||
return $this->h;
|
||||
|
||||
case 'minutes':
|
||||
return $this->i;
|
||||
|
||||
case 'seconds':
|
||||
return $this->s;
|
||||
|
||||
case 'weeks':
|
||||
return (int)floor($this->d / Carbon::DAYS_PER_WEEK);
|
||||
|
||||
case 'daysExcludeWeeks':
|
||||
case 'dayzExcludeWeeks':
|
||||
return $this->d % Carbon::DAYS_PER_WEEK;
|
||||
|
||||
default:
|
||||
throw new InvalidArgumentException(sprintf("Unknown getter '%s'", $name));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a part of the CarbonInterval object
|
||||
*
|
||||
* @param string $name
|
||||
* @param int $val
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*/
|
||||
public function __set($name, $val)
|
||||
{
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
$this->y = $val;
|
||||
break;
|
||||
|
||||
case 'months':
|
||||
$this->m = $val;
|
||||
break;
|
||||
|
||||
case 'weeks':
|
||||
$this->d = $val * Carbon::DAYS_PER_WEEK;
|
||||
break;
|
||||
|
||||
case 'dayz':
|
||||
$this->d = $val;
|
||||
break;
|
||||
|
||||
case 'hours':
|
||||
$this->h = $val;
|
||||
break;
|
||||
|
||||
case 'minutes':
|
||||
$this->i = $val;
|
||||
break;
|
||||
|
||||
case 'seconds':
|
||||
$this->s = $val;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function weeksAndDays($weeks, $days)
|
||||
{
|
||||
$this->dayz = ($weeks * Carbon::DAYS_PER_WEEK) + $days;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow fluent calls on the setters... CarbonInterval::years(3)->months(5)->day().
|
||||
*
|
||||
* Note: This is done using the magic method to allow static and instance methods to
|
||||
* have the same names.
|
||||
*
|
||||
* @param string $name
|
||||
* @param array $args
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function __call($name, $args)
|
||||
{
|
||||
$arg = count($args) === 0 ? 1 : $args[0];
|
||||
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
case 'year':
|
||||
$this->years = $arg;
|
||||
break;
|
||||
|
||||
case 'months':
|
||||
case 'month':
|
||||
$this->months = $arg;
|
||||
break;
|
||||
|
||||
case 'weeks':
|
||||
case 'week':
|
||||
$this->dayz = $arg * Carbon::DAYS_PER_WEEK;
|
||||
break;
|
||||
|
||||
case 'days':
|
||||
case 'dayz':
|
||||
case 'day':
|
||||
$this->dayz = $arg;
|
||||
break;
|
||||
|
||||
case 'hours':
|
||||
case 'hour':
|
||||
$this->hours = $arg;
|
||||
break;
|
||||
|
||||
case 'minutes':
|
||||
case 'minute':
|
||||
$this->minutes = $arg;
|
||||
break;
|
||||
|
||||
case 'seconds':
|
||||
case 'second':
|
||||
$this->seconds = $arg;
|
||||
break;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current interval in a human readable format in the current locale.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function forHumans()
|
||||
{
|
||||
$periods = array(
|
||||
'year' => $this->years,
|
||||
'month' => $this->months,
|
||||
'week' => $this->weeks,
|
||||
'day' => $this->daysExcludeWeeks,
|
||||
'hour' => $this->hours,
|
||||
'minute' => $this->minutes,
|
||||
'second' => $this->seconds,
|
||||
);
|
||||
|
||||
$parts = array();
|
||||
foreach ($periods as $unit => $count) {
|
||||
if ($count > 0) {
|
||||
array_push($parts, static::translator()->transChoice($unit, $count, array(':count' => $count)));
|
||||
}
|
||||
}
|
||||
|
||||
return implode(' ', $parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Format the instance as a string using the forHumans() function.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->forHumans();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the passed interval to the current instance
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function add(DateInterval $interval)
|
||||
{
|
||||
$sign = $interval->invert === 1 ? -1 : 1;
|
||||
|
||||
if (static::wasCreatedFromDiff($interval)) {
|
||||
$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;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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',
|
||||
);
|
||||
31
vendor/nesbot/carbon/src/Carbon/Lang/ar.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/ar.php
vendored
@@ -1,31 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* 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]: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]:count ساعة',
|
||||
'minute' => '{0}دقيقة|{1}دقيقة|{2}دقيقتين|[3,10]:count دقائق|[11,Inf]:count دقيقة',
|
||||
'second' => '{0}ثانية|{1}ثانية|{2}ثانيتين|[3,10]:count ثوان|[11,Inf]:count ثانية',
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'من الآن :time',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/az.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/az.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/The-Hasanov/laravel-date/blob/1006f37c431178b5c7219d02c93579c9690ae546/src/Lang/az.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count il',
|
||||
'month' => ':count ay',
|
||||
'week' => ':count həftə',
|
||||
'day' => ':count gün',
|
||||
'hour' => ':count saat',
|
||||
'minute' => ':count dəqiqə',
|
||||
'second' => ':count saniyə',
|
||||
'ago' => ':time öncə',
|
||||
'from_now' => ':time sonra',
|
||||
'after' => ':time sonra',
|
||||
'before' => ':time öncə'
|
||||
);
|
||||
31
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
@@ -1,31 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/bg/date.php
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => '1 година|:count години',
|
||||
'month' => '1 месец|:count месеца',
|
||||
'week' => '1 седмица|:count седмици',
|
||||
'day' => '1 ден|:count дни',
|
||||
'hour' => '1 час|:count часа',
|
||||
'minute' => '1 минута|:count минути',
|
||||
'second' => '1 секунда|:count секунди',
|
||||
'ago' => 'преди :time',
|
||||
'from_now' => ':time от сега',
|
||||
'after' => 'след :time',
|
||||
'before' => 'преди :time',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/bn.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/bn.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eu/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '১ বছর|:count বছর',
|
||||
'month' => '১ মাস|:count মাস',
|
||||
'week' => '১ সপ্তাহ|:count সপ্তাহ',
|
||||
'day' => '১ দিন|:count দিন',
|
||||
'hour' => '১ ঘন্টা|:count ঘন্টা',
|
||||
'minute' => '১ মিনিট|:count মিনিট',
|
||||
'second' => '১ সেকেন্ড|:count সেকেন্ড',
|
||||
'ago' => ':time পূর্বে',
|
||||
'from_now' => 'এখন থেকে :time',
|
||||
'after' => ':time পরে',
|
||||
'before' => ':time আগে',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/ca.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/ca.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ca/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 any|:count anys',
|
||||
'month' => '1 mes|:count mesos',
|
||||
'week' => '1 setmana|:count setmanes',
|
||||
'day' => '1 dia|:count díes',
|
||||
'hour' => '1 hora|:count hores',
|
||||
'minute' => '1 minut|:count minuts',
|
||||
'second' => '1 segon|:count segons',
|
||||
'ago' => 'Fa :time',
|
||||
'from_now' => 'Dins de :time',
|
||||
'after' => ':time després',
|
||||
'before' => ':time abans',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/cs.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/cs.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/cs/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 rok|:count roky|:count let',
|
||||
'month' => '1 měsíc|:count měsíce|:count měsíců',
|
||||
'week' => '1 týden|:count týdny|:count týdnů',
|
||||
'day' => '1 den|:count dny|:count dní',
|
||||
'hour' => '1 hodinu|:count hodiny|:count hodin',
|
||||
'minute' => '1 minutu|:count minuty|:count minut',
|
||||
'second' => '1 sekundu|:count sekundy|:count sekund',
|
||||
'ago' => 'před :time',
|
||||
'from_now' => 'za :time',
|
||||
'after' => ':time později',
|
||||
'before' => ':time předtím',
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/da.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/da.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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 år|:count år',
|
||||
'month' => '1 måned|:count måneder',
|
||||
'week' => '1 uge|:count uger',
|
||||
'day' => '1 dag|:count dage',
|
||||
'hour' => '1 time|:count timer',
|
||||
'minute' => '1 minut|:count minutter',
|
||||
'second' => '1 sekund|:count sekunder',
|
||||
'ago' => ':time siden',
|
||||
'from_now' => 'om :time',
|
||||
'after' => ':time efter',
|
||||
'before' => ':time før',
|
||||
);
|
||||
38
vendor/nesbot/carbon/src/Carbon/Lang/de.php
vendored
38
vendor/nesbot/carbon/src/Carbon/Lang/de.php
vendored
@@ -1,38 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Michael Hohl <me@michaelhohl.net>
|
||||
*
|
||||
* This file is released under the terms of CC0.
|
||||
* CC0 is even more permissive than the MIT license, allowing you to use the code in
|
||||
* any manner you want, without any copyright headers, notices, or other attribution.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Translation messages. See http://symfony.com/doc/current/book/translation.html
|
||||
* for possible formats.
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 Jahr|:count Jahre',
|
||||
'month' => '1 Monat|:count Monate',
|
||||
'week' => '1 Woche|:count Wochen',
|
||||
'day' => '1 Tag|:count Tage',
|
||||
'hour' => '1 Stunde|:count Stunden',
|
||||
'minute' => '1 Minute|:count Minuten',
|
||||
'second' => '1 Sekunde|:count Sekunden',
|
||||
'ago' => 'vor :time',
|
||||
'from_now' => 'in :time',
|
||||
'after' => ':time später',
|
||||
'before' => ':time zuvor',
|
||||
|
||||
'year_from_now' => '1 Jahr|:count Jahren',
|
||||
'month_from_now' => '1 Monat|:count Monaten',
|
||||
'week_from_now' => '1 Woche|:count Wochen',
|
||||
'day_from_now' => '1 Tag|:count Tagen',
|
||||
'year_ago' => '1 Jahr|:count Jahren',
|
||||
'month_ago' => '1 Monat|:count Monaten',
|
||||
'week_ago' => '1 Woche|:count Wochen',
|
||||
'day_ago' => '1 Tag|:count Tagen',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/el.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/el.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/el/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 χρόνος|:count χρόνια',
|
||||
'month' => '1 μήνας|:count μήνες',
|
||||
'week' => '1 εβδομάδα|:count εβδομάδες',
|
||||
'day' => '1 μέρα|:count μέρες',
|
||||
'hour' => '1 ώρα|:count ώρες',
|
||||
'minute' => '1 λεπτό|:count λεπτά',
|
||||
'second' => '1 δευτερόλεπτο|:count δευτερόλεπτα',
|
||||
'ago' => 'πρίν απο :time',
|
||||
'from_now' => 'σε :time απο τώρα',
|
||||
'after' => ':time μετά',
|
||||
'before' => ':time πρίν'
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/en.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/en.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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 year|:count years',
|
||||
'month' => '1 month|:count months',
|
||||
'week' => '1 week|:count weeks',
|
||||
'day' => '1 day|:count days',
|
||||
'hour' => '1 hour|:count hours',
|
||||
'minute' => '1 minute|:count minutes',
|
||||
'second' => '1 second|:count seconds',
|
||||
'ago' => ':time ago',
|
||||
'from_now' => ':time from now',
|
||||
'after' => ':time after',
|
||||
'before' => ':time before',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/eo.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/eo.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eo/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 jaro|:count jaroj',
|
||||
'month' => '1 monato|:count monatoj',
|
||||
'week' => '1 semajno|:count semajnoj',
|
||||
'day' => '1 tago|:count tagoj',
|
||||
'hour' => '1 horo|:count horoj',
|
||||
'minute' => '1 minuto|:count minutoj',
|
||||
'second' => '1 sekundo|:count sekundoj',
|
||||
'ago' => 'antaŭ :time',
|
||||
'from_now' => 'je :time',
|
||||
'after' => ':time poste',
|
||||
'before' => ':time antaŭe'
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/es.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/es.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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 año|:count años',
|
||||
'month' => '1 mes|:count meses',
|
||||
'week' => '1 semana|:count semanas',
|
||||
'day' => '1 día|:count días',
|
||||
'hour' => '1 hora|:count horas',
|
||||
'minute' => '1 minuto|:count minutos',
|
||||
'second' => '1 segundo|:count segundos',
|
||||
'ago' => 'hace :time',
|
||||
'from_now' => 'dentro de :time',
|
||||
'after' => ':time después',
|
||||
'before' => ':time antes',
|
||||
);
|
||||
30
vendor/nesbot/carbon/src/Carbon/Lang/et.php
vendored
30
vendor/nesbot/carbon/src/Carbon/Lang/et.php
vendored
@@ -1,30 +0,0 @@
|
||||
<?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',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/eu.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/eu.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eu/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => 'Urte 1|:count urte',
|
||||
'month' => 'Hile 1|:count hile',
|
||||
'week' => 'Aste 1|:count aste',
|
||||
'day' => 'Egun 1|:count egun',
|
||||
'hour' => 'Ordu 1|:count ordu',
|
||||
'minute' => 'Minutu 1|:count minutu',
|
||||
'second' => 'Segundu 1|:count segundu',
|
||||
'ago' => 'Orain dela :time',
|
||||
'from_now' => ':time barru',
|
||||
'after' => ':time geroago',
|
||||
'before' => ':time lehenago'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/fa.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/fa.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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' => ':count سال',
|
||||
'month' => ':count ماه',
|
||||
'week' => ':count هفته',
|
||||
'day' => ':count روز',
|
||||
'hour' => ':count ساعت',
|
||||
'minute' => ':count دقیقه',
|
||||
'second' => ':count ثانیه',
|
||||
'ago' => ':time پیش',
|
||||
'from_now' => ':time بعد',
|
||||
'after' => ':time پیش از',
|
||||
'before' => ':time پس از',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/fi.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/fi.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/fi/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 vuosi|:count vuotta',
|
||||
'month' => '1 kuukausi|:count kuukautta',
|
||||
'week' => '1 viikko|:count viikkoa',
|
||||
'day' => '1 päivä|:count päivää',
|
||||
'hour' => '1 tunti|:count tuntia',
|
||||
'minute' => '1 minuutti|:count minuuttia',
|
||||
'second' => '1 sekunti|:count sekuntia',
|
||||
'ago' => ':time sitten',
|
||||
'from_now' => ':time tästä hetkestä',
|
||||
'after' => ':time sen jälkeen',
|
||||
'before' => ':time ennen'
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/fo.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/fo.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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 ár|:count ár',
|
||||
'month' => '1 mánaður|:count mánaðir',
|
||||
'week' => '1 vika|:count vikur',
|
||||
'day' => '1 dag|:count dagar',
|
||||
'hour' => '1 tími|:count tímar',
|
||||
'minute' => '1 minutt|:count minuttir',
|
||||
'second' => '1 sekund|:count sekundir',
|
||||
'ago' => ':time síðan',
|
||||
'from_now' => 'um :time',
|
||||
'after' => ':time aftaná',
|
||||
'before' => ':time áðrenn',
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/fr.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/fr.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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 an|:count ans',
|
||||
'month' => ':count mois',
|
||||
'week' => '1 semaine|:count semaines',
|
||||
'day' => '1 jour|:count jours',
|
||||
'hour' => '1 heure|:count heures',
|
||||
'minute' => '1 minute|:count minutes',
|
||||
'second' => '1 seconde|:count secondes',
|
||||
'ago' => 'il y a :time',
|
||||
'from_now' => 'dans :time',
|
||||
'after' => ':time après',
|
||||
'before' => ':time avant',
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/he.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/he.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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' => 'שנה|{2}שנתיים|:count שנים',
|
||||
'month' => 'חודש|{2}חודשיים|:count חודשים',
|
||||
'week' => 'שבוע|{2}שבועיים|:count שבועות',
|
||||
'day' => 'יום|{2}יומיים|:count ימים',
|
||||
'hour' => 'שעה|{2}שעתיים|:count שעות',
|
||||
'minute' => 'דקה|{2}דקותיים|:count דקות',
|
||||
'second' => 'שניה|:count שניות',
|
||||
'ago' => 'לפני :time',
|
||||
'from_now' => 'בעוד :time',
|
||||
'after' => 'אחרי :time',
|
||||
'before' => 'לפני :time',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/hr.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/hr.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/hr/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count godinu|:count godine|:count godina',
|
||||
'month' => ':count mjesec|:count mjeseca|:count mjeseci',
|
||||
'week' => ':count tjedan|:count tjedna|:count tjedana',
|
||||
'day' => ':count dan|:count dana|:count dana',
|
||||
'hour' => ':count sat|:count sata|:count sati',
|
||||
'minute' => ':count minutu|:count minute |:count minuta',
|
||||
'second' => ':count sekundu|:count sekunde|:count sekundi',
|
||||
'ago' => 'prije :time',
|
||||
'from_now' => 'za :time',
|
||||
'after' => 'za :time',
|
||||
'before' => 'prije :time'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/hu.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/hu.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/hu/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 évvel|:count évvel',
|
||||
'month' => '1 hónappal|:count hónappal',
|
||||
'week' => '1 héttel|:count héttel',
|
||||
'day' => '1 nappal|:count nappal',
|
||||
'hour' => '1 órával|:count órával',
|
||||
'minute' => '1 perccel|:count perccel',
|
||||
'second' => '1 másodperccel|:count másodperccel',
|
||||
'ago' => ':time korábban',
|
||||
'from_now' => ':time később',
|
||||
'after' => ':time később',
|
||||
'before' => ':time korábban'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/id.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/id.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/id/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count tahun',
|
||||
'month' => ':count bulan',
|
||||
'week' => ':count minggu',
|
||||
'day' => ':count hari',
|
||||
'hour' => ':count jam',
|
||||
'minute' => ':count menit',
|
||||
'second' => ':count detik',
|
||||
'ago' => ':time yang lalu',
|
||||
'from_now' => ':time dari sekarang',
|
||||
'after' => ':time setelah',
|
||||
'before' => ':time sebelum'
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/it.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/it.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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 anno|:count anni',
|
||||
'month' => '1 mese|:count mesi',
|
||||
'week' => '1 settimana|:count settimane',
|
||||
'day' => '1 giorno|:count giorni',
|
||||
'hour' => '1 ora|:count ore',
|
||||
'minute' => '1 minuto|:count minuti',
|
||||
'second' => '1 secondo|:count secondi',
|
||||
'ago' => ':time fa',
|
||||
'from_now' => ':time da adesso',
|
||||
'after' => ':time dopo',
|
||||
'before' => ':time prima',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/ja.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/ja.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ja/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count 年',
|
||||
'month' => ':count ヶ月',
|
||||
'week' => ':count 週間',
|
||||
'day' => ':count 日',
|
||||
'hour' => ':count 時間',
|
||||
'minute' => ':count 分',
|
||||
'second' => ':count 秒',
|
||||
'ago' => ':time 前',
|
||||
'from_now' => '今から :time',
|
||||
'after' => ':time 後',
|
||||
'before' => ':time 前'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/ko.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/ko.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/cs/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count 년',
|
||||
'month' => ':count 개월',
|
||||
'week' => ':count 주일',
|
||||
'day' => ':count 일',
|
||||
'hour' => ':count 시간',
|
||||
'minute' => ':count 분',
|
||||
'second' => ':count 초',
|
||||
'ago' => ':time 전',
|
||||
'from_now' => ':time 후',
|
||||
'after' => ':time 뒤',
|
||||
'before' => ':time 앞',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/lt.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/lt.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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 metus|:count metus|:count metų',
|
||||
'month' => '1 menesį|:count menesius|:count menesių',
|
||||
'week' => '1 savaitę|:count savaites|:count savaičių',
|
||||
'day' => '1 dieną|:count dienas|:count dienų',
|
||||
'hour' => '1 valandą|:count valandas|:count valandų',
|
||||
'minute' => '1 minutę|:count minutes|:count minučių',
|
||||
'second' => '1 sekundę|:count sekundes|:count sekundžių',
|
||||
'ago' => 'prieš :time',
|
||||
'from_now' => 'už :time',
|
||||
'after' => 'po :time',
|
||||
'before' => ':time nuo dabar',
|
||||
);
|
||||
43
vendor/nesbot/carbon/src/Carbon/Lang/lv.php
vendored
43
vendor/nesbot/carbon/src/Carbon/Lang/lv.php
vendored
@@ -1,43 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Viesturs Kavacs WWW: kavacky.lv
|
||||
*
|
||||
* 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' => '0 gadiem|:count gada|:count gadiem',
|
||||
'month' => '0 mēnešiem|:count mēneša|:count mēnešiem',
|
||||
'week' => '0 nedēļām|:count nedēļas|:count nedēļām',
|
||||
'day' => '0 dienām|:count dienas|:count dienām',
|
||||
'hour' => '0 stundām|:count stundas|:count stundām',
|
||||
'minute' => '0 minūtēm|:count minūtes|:count minūtēm',
|
||||
'second' => '0 sekundēm|:count sekundes|:count sekundēm',
|
||||
'ago' => 'pirms :time',
|
||||
'from_now' => 'pēc :time',
|
||||
'after' => ':time vēlāk',
|
||||
'before' => ':time pirms',
|
||||
|
||||
'year_after' => '0 gadus|:count gadu|:count gadus',
|
||||
'month_after' => '0 mēnešus|:count mēnesi|:count mēnešus',
|
||||
'week_after' => '0 nedēļas|:count nedēļu|:count nedēļas',
|
||||
'day_after' => '0 dienas|:count dienu|:count dienas',
|
||||
'hour_after' => '0 stundas|:count stundu|:count stundas',
|
||||
'minute_after' => '0 minūtes|:count minūti|:count minūtes',
|
||||
'second_after' => '0 sekundes|:count sekundi|:count sekundes',
|
||||
|
||||
'year_before' => '0 gadus|:count gadu|:count gadus',
|
||||
'month_before' => '0 mēnešus|:count mēnesi|:count mēnešus',
|
||||
'week_before' => '0 nedēļas|:count nedēļu|:count nedēļas',
|
||||
'day_before' => '0 dienas|:count dienu|:count dienas',
|
||||
'hour_before' => '0 stundas|:count stundu|:count stundas',
|
||||
'minute_before' => '0 minūtes|:count minūti|:count minūtes',
|
||||
'second_before' => '0 sekundes|:count sekundi|:count sekundes',
|
||||
);
|
||||
26
vendor/nesbot/carbon/src/Carbon/Lang/ms.php
vendored
26
vendor/nesbot/carbon/src/Carbon/Lang/ms.php
vendored
@@ -1,26 +0,0 @@
|
||||
<?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' => ':count tahun',
|
||||
'month' => ':count bulan',
|
||||
'week' => ':count minggu',
|
||||
'day' => ':count hari',
|
||||
'hour' => ':count jam',
|
||||
'minute' => ':count minit',
|
||||
'second' => ':count saat',
|
||||
'ago' => ':time yang lalu',
|
||||
'from_now' => ':time dari sekarang',
|
||||
'after' => ':time selepas',
|
||||
'before' => ':time sebelum',
|
||||
);
|
||||
26
vendor/nesbot/carbon/src/Carbon/Lang/nl.php
vendored
26
vendor/nesbot/carbon/src/Carbon/Lang/nl.php
vendored
@@ -1,26 +0,0 @@
|
||||
<?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 jaren',
|
||||
'month' => '1 maand|:count maanden',
|
||||
'week' => '1 week|:count weken',
|
||||
'day' => '1 dag|:count dagen',
|
||||
'hour' => ':count uur',
|
||||
'minute' => '1 minuut|:count minuten',
|
||||
'second' => '1 seconde|:count seconden',
|
||||
'ago' => ':time geleden',
|
||||
'from_now' => 'over :time',
|
||||
'after' => ':time later',
|
||||
'before' => ':time eerder',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/no.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/no.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/no/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 år|:count år',
|
||||
'month' => '1 måned|:count måneder',
|
||||
'week' => '1 uke|:count uker',
|
||||
'day' => '1 dag|:count dager',
|
||||
'hour' => '1 time|:count timer',
|
||||
'minute' => '1 minutt|:count minutter',
|
||||
'second' => '1 sekund|:count sekunder',
|
||||
'ago' => ':time siden',
|
||||
'from_now' => 'om :time',
|
||||
'after' => ':time etter',
|
||||
'before' => ':time før'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/pl.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/pl.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/pl/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 rok|:count lata|:count lat',
|
||||
'month' => '1 miesiąc|:count miesiące|:count miesięcy',
|
||||
'week' => '1 tydzień|:count tygodnie|:count tygodni',
|
||||
'day' => '1 dzień|:count dni|:count dni',
|
||||
'hour' => '1 godzina|:count godziny|:count godzin',
|
||||
'minute' => '1 minuta|:count minuty|:count minut',
|
||||
'second' => '1 sekunda|:count sekundy|:count sekund',
|
||||
'ago' => ':time temu',
|
||||
'from_now' => ':time od teraz',
|
||||
'after' => ':time przed',
|
||||
'before' => ':time po'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/pt.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/pt.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/pt/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 ano|:count anos',
|
||||
'month' => '1 mês|:count meses',
|
||||
'week' => '1 semana|:count semanas',
|
||||
'day' => '1 dia|:count dias',
|
||||
'hour' => '1 hora|:count horas',
|
||||
'minute' => '1 minuto|:count minutos',
|
||||
'second' => '1 segundo|:count segundos',
|
||||
'ago' => ':time atrás',
|
||||
'from_now' => 'em :time',
|
||||
'after' => ':time depois',
|
||||
'before' => ':time antes'
|
||||
);
|
||||
26
vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
vendored
26
vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
vendored
@@ -1,26 +0,0 @@
|
||||
<?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 ano|:count anos',
|
||||
'month' => '1 mês|:count meses',
|
||||
'week' => '1 semana|:count semanas',
|
||||
'day' => '1 dia|:count dias',
|
||||
'hour' => '1 hora|:count horas',
|
||||
'minute' => '1 minuto|:count minutos',
|
||||
'second' => '1 segundo|:count segundos',
|
||||
'ago' => 'há :time',
|
||||
'from_now' => 'dentro de :time',
|
||||
'after' => 'após :time',
|
||||
'before' => ':time atrás',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/ro.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/ro.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ro/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => 'un an|:count ani|:count ani',
|
||||
'month' => 'o lună|:count luni|:count luni',
|
||||
'week' => 'o săptămână|:count săptămâni|:count săptămâni',
|
||||
'day' => 'o zi|:count zile|:count zile',
|
||||
'hour' => 'o oră|:count ore|:count ore',
|
||||
'minute' => 'un minut|:count minute|:count minute',
|
||||
'second' => 'o secundă|:count secunde|:count secunde',
|
||||
'ago' => 'acum :time',
|
||||
'from_now' => ':time de acum',
|
||||
'after' => 'peste :time',
|
||||
'before' => 'acum :time'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/ru.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/ru.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ru/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count год|:count года|:count лет',
|
||||
'month' => ':count месяц|:count месяца|:count месяцев',
|
||||
'week' => ':count неделю|:count недели|:count недель',
|
||||
'day' => ':count день|:count дня|:count дней',
|
||||
'hour' => ':count час|:count часа|:count часов',
|
||||
'minute' => ':count минуту|:count минуты|:count минут',
|
||||
'second' => ':count секунду|:count секунды|:count секунд',
|
||||
'ago' => ':time назад',
|
||||
'from_now' => 'через :time',
|
||||
'after' => ':time после',
|
||||
'before' => ':time до'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/sk.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/sk.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sk/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => 'rok|:count roky|:count rokov',
|
||||
'month' => 'mesiac|:count mesiace|:count mesiacov',
|
||||
'week' => 'týždeň|:count týždne|:count týždňov',
|
||||
'day' => 'deň|:count dni|:count dní',
|
||||
'hour' => 'hodinu|:count hodiny|:count hodín',
|
||||
'minute' => 'minútu|:count minúty|:count minút',
|
||||
'second' => 'sekundu|:count sekundy|:count sekúnd',
|
||||
'ago' => 'pred :time',
|
||||
'from_now' => 'za :time',
|
||||
'after' => ':time neskôr',
|
||||
'before' => ':time predtým'
|
||||
);
|
||||
36
vendor/nesbot/carbon/src/Carbon/Lang/sl.php
vendored
36
vendor/nesbot/carbon/src/Carbon/Lang/sl.php
vendored
@@ -1,36 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* 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'
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/sq.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/sq.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/sr.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/sr.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sr/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count godina|:count godine|:count godina',
|
||||
'month' => ':count mesec|:count meseca|:count meseci',
|
||||
'week' => ':count nedelja|:count nedelje|:count nedelja',
|
||||
'day' => ':count dan|:count dana|:count dana',
|
||||
'hour' => ':count sat|:count sata|:count sati',
|
||||
'minute' => ':count minut|:count minuta |:count minuta',
|
||||
'second' => ':count sekund|:count sekunde|:count sekunde',
|
||||
'ago' => 'pre :time',
|
||||
'from_now' => ':time od sada',
|
||||
'after' => 'nakon :time',
|
||||
'before' => 'pre :time'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/sv.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/sv.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sv/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 år|:count år',
|
||||
'month' => '1 månad|:count månader',
|
||||
'week' => '1 vecka|:count veckor',
|
||||
'day' => '1 dag|:count dagar',
|
||||
'hour' => '1 timme|:count timmar',
|
||||
'minute' => '1 minut|:count minuter',
|
||||
'second' => '1 sekund|:count sekunder',
|
||||
'ago' => ':time sedan',
|
||||
'from_now' => 'om :time',
|
||||
'after' => ':time efter',
|
||||
'before' => ':time före'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/th.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/th.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/th/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 ปี|:count ปี',
|
||||
'month' => '1 เดือน|:count เดือน',
|
||||
'week' => '1 สัปดาห์|:count สัปดาห์',
|
||||
'day' => '1 วัน|:count วัน',
|
||||
'hour' => '1 ชั่วโมง|:count ชั่วโมง',
|
||||
'minute' => '1 นาที|:count นาที',
|
||||
'second' => '1 วินาที|:count วินาที',
|
||||
'ago' => ':time ที่แล้ว',
|
||||
'from_now' => ':time จากนี้',
|
||||
'after' => 'หลัง:time',
|
||||
'before' => 'ก่อน:time'
|
||||
);
|
||||
28
vendor/nesbot/carbon/src/Carbon/Lang/tr.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/tr.php
vendored
@@ -1,28 +0,0 @@
|
||||
<?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' => ':count yıl',
|
||||
'month' => ':count ay',
|
||||
'week' => ':count hafta',
|
||||
'day' => ':count gün',
|
||||
'hour' => ':count saat',
|
||||
'minute' => ':count dakika',
|
||||
'second' => ':count saniye',
|
||||
'ago' => ':time önce',
|
||||
'from_now' => ':time andan itibaren',
|
||||
'after' => ':time sonra',
|
||||
'before' => ':time önce',
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/uk.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/uk.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/uk/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count рік|:count роки|:count років',
|
||||
'month' => ':count місяць|:count місяці|:count місяців',
|
||||
'week' => ':count тиждень|:count тижні|:count тижнів',
|
||||
'day' => ':count день|:count дні|:count днів',
|
||||
'hour' => ':count година|:count години|:count годин',
|
||||
'minute' => ':count хвилину|:count хвилини|:count хвилин',
|
||||
'second' => ':count секунду|:count секунди|:count секунд',
|
||||
'ago' => ':time назад',
|
||||
'from_now' => 'через :time',
|
||||
'after' => ':time після',
|
||||
'before' => ':time до'
|
||||
);
|
||||
27
vendor/nesbot/carbon/src/Carbon/Lang/uz.php
vendored
27
vendor/nesbot/carbon/src/Carbon/Lang/uz.php
vendored
@@ -1,27 +0,0 @@
|
||||
<?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' => ':count yil|:count yil|:count yil',
|
||||
'month' => ':count oy|:count oy|:count oylar',
|
||||
'week' => ':count hafta|:count hafta|:count hafta',
|
||||
'day' => ':count kun|:count kun|:count kun',
|
||||
'hour' => ':count soat|:count soat|:count soat',
|
||||
'minute' => ':count minut|:count minut|:count minut',
|
||||
'second' => ':count sekund|:count sekund|:count sekund',
|
||||
'ago' => ':time avval',
|
||||
'from_now' => 'keyin :time',
|
||||
'after' => ':time keyin',
|
||||
'before' => ':time gacha'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/vi.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/vi.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/vi/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count năm',
|
||||
'month' => ':count tháng',
|
||||
'week' => ':count tuần',
|
||||
'day' => ':count ngày',
|
||||
'hour' => ':count giờ',
|
||||
'minute' => ':count phút',
|
||||
'second' => ':count giây',
|
||||
'ago' => ':time trước',
|
||||
'from_now' => ':time từ bây giờ',
|
||||
'after' => ':time sau',
|
||||
'before' => ':time trước'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/zh-TW.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/zh-TW.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/zh-TW/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count 年',
|
||||
'month' => ':count 月',
|
||||
'week' => ':count 周',
|
||||
'day' => ':count 天',
|
||||
'hour' => ':count 小時',
|
||||
'minute' => ':count 分鐘',
|
||||
'second' => ':count 秒',
|
||||
'ago' => ':time前',
|
||||
'from_now' => '距現在 :time',
|
||||
'after' => ':time後',
|
||||
'before' => ':time前'
|
||||
);
|
||||
29
vendor/nesbot/carbon/src/Carbon/Lang/zh.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/zh.php
vendored
@@ -1,29 +0,0 @@
|
||||
<?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.
|
||||
*/
|
||||
/**
|
||||
* Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/zh/date.php
|
||||
*/
|
||||
return array(
|
||||
'year' => ':count年',
|
||||
'month' => ':count月',
|
||||
'week' => ':count周',
|
||||
'day' => ':count天',
|
||||
'hour' => ':count小时',
|
||||
'minute' => ':count分钟',
|
||||
'second' => ':count秒',
|
||||
'ago' => ':time前',
|
||||
'from_now' => ':time距现在',
|
||||
'after' => ':time后',
|
||||
'before' => ':time前'
|
||||
);
|
||||
Reference in New Issue
Block a user