Laravel 5.6 updates
Travis config update Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
This commit is contained in:
60
vendor/nesbot/carbon/.php_cs.dist
vendored
Normal file
60
vendor/nesbot/carbon/.php_cs.dist
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
use PhpCsFixer\Config;
|
||||
use PhpCsFixer\Finder;
|
||||
|
||||
$rules = array(
|
||||
'@PSR2' => true,
|
||||
'array_syntax' => array(
|
||||
'syntax' => 'long',
|
||||
),
|
||||
'binary_operator_spaces' => array(
|
||||
'align_double_arrow' => false,
|
||||
'align_equals' => false,
|
||||
),
|
||||
'blank_line_before_return' => true,
|
||||
'cast_spaces' => true,
|
||||
'concat_space' => array(
|
||||
'spacing' => 'none',
|
||||
),
|
||||
'ereg_to_preg' => true,
|
||||
'method_separation' => true,
|
||||
'no_blank_lines_after_phpdoc' => true,
|
||||
'no_extra_consecutive_blank_lines' => true,
|
||||
'no_short_bool_cast' => true,
|
||||
'no_unneeded_control_parentheses' => true,
|
||||
'no_unused_imports' => true,
|
||||
'no_whitespace_in_blank_line' => true,
|
||||
'ordered_imports' => true,
|
||||
'phpdoc_align' => true,
|
||||
'phpdoc_indent' => true,
|
||||
'phpdoc_inline_tag' => true,
|
||||
'phpdoc_no_access' => true,
|
||||
'phpdoc_no_alias_tag' => array(
|
||||
'type' => 'var',
|
||||
),
|
||||
'phpdoc_no_package' => true,
|
||||
'phpdoc_order' => true,
|
||||
'phpdoc_scalar' => true,
|
||||
'phpdoc_separation' => true,
|
||||
'phpdoc_to_comment' => true,
|
||||
'phpdoc_trim' => true,
|
||||
'phpdoc_types' => true,
|
||||
'phpdoc_var_without_name' => true,
|
||||
'self_accessor' => true,
|
||||
'single_quote' => true,
|
||||
'space_after_semicolon' => true,
|
||||
'standardize_not_equals' => true,
|
||||
'ternary_operator_spaces' => true,
|
||||
'trailing_comma_in_multiline_array' => true,
|
||||
'trim_array_spaces' => true,
|
||||
'unary_operator_spaces' => true,
|
||||
'line_ending' => true,
|
||||
'blank_line_after_namespace' => true,
|
||||
'no_unused_imports' => true,
|
||||
);
|
||||
|
||||
return Config::create()->setRules($rules)
|
||||
->setFinder(Finder::create()->in(__DIR__))
|
||||
->setUsingCache(true)
|
||||
->setRiskyAllowed(true);
|
87
vendor/nesbot/carbon/build.php
vendored
Normal file
87
vendor/nesbot/carbon/build.php
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
chdir(__DIR__);
|
||||
$currentBranch = 'master';
|
||||
if (preg_match('/On branch ([^\n]+)\n/', shell_exec('git status'), $match)) {
|
||||
$currentBranch = $match[1];
|
||||
}
|
||||
shell_exec('git fetch --all --tags --prune');
|
||||
$remotes = explode("\n", trim(shell_exec('git remote')));
|
||||
$tagsCommand = count($remotes)
|
||||
? 'git ls-remote --tags '.(in_array('upstream', $remotes) ? 'upstream' : (in_array('origin', $remotes) ? 'origin' : $remotes[0]))
|
||||
: 'git tag';
|
||||
$tags = array_map(function ($ref) {
|
||||
$ref = explode('refs/tags/', $ref);
|
||||
|
||||
return isset($ref[1]) ? $ref[1] : $ref[0];
|
||||
}, array_filter(explode("\n", trim(shell_exec($tagsCommand))), function ($ref) {
|
||||
return substr($ref, -3) !== '^{}';
|
||||
}));
|
||||
usort($tags, 'version_compare');
|
||||
|
||||
$tag = isset($argv[1]) && !in_array($argv[1], array('last', 'latest')) ? $argv[1] : end($tags);
|
||||
|
||||
if (strtolower($tag) !== 'all') {
|
||||
if (!in_array($tag, $tags)) {
|
||||
echo "Tag must be one of remote tags available:\n";
|
||||
foreach ($tags as $_tag) {
|
||||
echo " - $_tag\n";
|
||||
}
|
||||
echo "\"$tag\" does not match.\n";
|
||||
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$tags = array($tag);
|
||||
}
|
||||
|
||||
foreach ($tags as $tag) {
|
||||
$archive = "Carbon-$tag.zip";
|
||||
if (isset($argv[2]) && $argv[2] === 'missing' && file_exists($archive)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$branch = "build-$tag";
|
||||
shell_exec('git stash');
|
||||
shell_exec("git branch -d $branch");
|
||||
shell_exec("git checkout tags/$tag -b $branch");
|
||||
shell_exec('composer config platform.php 5.3.9');
|
||||
shell_exec('composer update --no-interaction --no-dev --optimize-autoloader');
|
||||
$zip = new ZipArchive();
|
||||
|
||||
$zip->open($archive, ZipArchive::CREATE | ZipArchive::OVERWRITE);
|
||||
|
||||
foreach (array('src', 'vendor', 'Carbon') as $directory) {
|
||||
if (is_dir($directory)) {
|
||||
$directory = realpath($directory);
|
||||
$base = dirname($directory);
|
||||
|
||||
$files = new RecursiveIteratorIterator(
|
||||
new RecursiveDirectoryIterator($directory),
|
||||
RecursiveIteratorIterator::LEAVES_ONLY
|
||||
);
|
||||
|
||||
foreach ($files as $name => $file) {
|
||||
if (!$file->isDir()) {
|
||||
$filePath = $file->getRealPath();
|
||||
|
||||
$zip->addFile($filePath, substr($filePath, strlen($base) + 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$autoload = 'autoload.php';
|
||||
file_put_contents($autoload, "<?php\n\n/**\n * @version $tag\n */\n\nrequire __DIR__.'/vendor/autoload.php';\n");
|
||||
$zip->addFile($autoload, $autoload);
|
||||
$zip->close();
|
||||
unlink($autoload);
|
||||
|
||||
shell_exec('git checkout .');
|
||||
shell_exec("git checkout $currentBranch");
|
||||
shell_exec("git branch -d $branch");
|
||||
shell_exec('git stash pop');
|
||||
shell_exec('composer update --no-interaction');
|
||||
}
|
||||
|
||||
exit(0);
|
14
vendor/nesbot/carbon/composer.json
vendored
14
vendor/nesbot/carbon/composer.json
vendored
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"": "src/"
|
||||
"Carbon\\": "src/Carbon/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
@@ -38,6 +38,11 @@
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.23-dev"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true
|
||||
},
|
||||
@@ -49,12 +54,5 @@
|
||||
"phpunit": "phpunit --verbose --coverage-clover=coverage.xml",
|
||||
"phpcs": "php-cs-fixer fix -v --diff --dry-run",
|
||||
"phpstan": "phpstan analyse --configuration phpstan.neon --level 3 src tests"
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Carbon\\Laravel\\ServiceProvider"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
8
vendor/nesbot/carbon/readme.md
vendored
8
vendor/nesbot/carbon/readme.md
vendored
@@ -17,7 +17,7 @@ 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(2016)->addYears(4);
|
||||
$nextSummerOlympics = Carbon::createFromDate(2012)->addYears(4);
|
||||
|
||||
$officialDate = Carbon::now()->toRfc2822String();
|
||||
|
||||
@@ -25,13 +25,13 @@ $howOldAmI = Carbon::createFromDate(1975, 5, 21)->age;
|
||||
|
||||
$noonTodayLondonTime = Carbon::createFromTime(12, 0, 0, 'Europe/London');
|
||||
|
||||
$internetWillBlowUpOn = Carbon::create(2038, 01, 19, 3, 14, 7, 'GMT');
|
||||
$worldWillEnd = Carbon::createFromDate(2012, 12, 21, 'GMT');
|
||||
|
||||
// Don't really want this to happen so mock now
|
||||
// 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($internetWillBlowUpOn)) {
|
||||
if (Carbon::now()->gte($worldWillEnd)) {
|
||||
die();
|
||||
}
|
||||
|
||||
|
874
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
874
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
File diff suppressed because it is too large
Load Diff
561
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
561
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
@@ -11,12 +11,8 @@
|
||||
|
||||
namespace Carbon;
|
||||
|
||||
use Closure;
|
||||
use DateInterval;
|
||||
use InvalidArgumentException;
|
||||
use ReflectionClass;
|
||||
use ReflectionFunction;
|
||||
use ReflectionMethod;
|
||||
use Symfony\Component\Translation\TranslatorInterface;
|
||||
|
||||
/**
|
||||
@@ -33,14 +29,6 @@ use Symfony\Component\Translation\TranslatorInterface;
|
||||
* @property int $seconds Total seconds of the current interval.
|
||||
* @property-read int $dayzExcludeWeeks Total days remaining in the final week of the current instance (days % 7).
|
||||
* @property-read int $daysExcludeWeeks alias of dayzExcludeWeeks
|
||||
* @property-read float $totalYears Number of years equivalent to the interval.
|
||||
* @property-read float $totalMonths Number of months equivalent to the interval.
|
||||
* @property-read float $totalWeeks Number of weeks equivalent to the interval.
|
||||
* @property-read float $totalDays Number of days equivalent to the interval.
|
||||
* @property-read float $totalDayz Alias for totalDays.
|
||||
* @property-read float $totalHours Number of hours equivalent to the interval.
|
||||
* @property-read float $totalMinutes Number of minutes equivalent to the interval.
|
||||
* @property-read float $totalSeconds Number of seconds equivalent to the interval.
|
||||
*
|
||||
* @method static CarbonInterval years($years = 1) Create instance specifying a number of years.
|
||||
* @method static CarbonInterval year($years = 1) Alias for years()
|
||||
@@ -94,77 +82,12 @@ class CarbonInterval extends DateInterval
|
||||
*/
|
||||
protected static $translator;
|
||||
|
||||
/**
|
||||
* @var array|null
|
||||
*/
|
||||
protected static $cascadeFactors;
|
||||
|
||||
/**
|
||||
* @var array|null
|
||||
*/
|
||||
private static $flipCascadeFactors;
|
||||
|
||||
/**
|
||||
* The registered macros.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected static $macros = array();
|
||||
|
||||
/**
|
||||
* 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().
|
||||
* was created by DateTime:diff().
|
||||
*/
|
||||
const PHP_DAYS_FALSE = -99999;
|
||||
|
||||
/**
|
||||
* Mapping of units and factors for cascading.
|
||||
*
|
||||
* Should only be modified by changing the factors or referenced constants.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function getCascadeFactors()
|
||||
{
|
||||
return static::$cascadeFactors ?: array(
|
||||
'minutes' => array(Carbon::SECONDS_PER_MINUTE, 'seconds'),
|
||||
'hours' => array(Carbon::MINUTES_PER_HOUR, 'minutes'),
|
||||
'dayz' => array(Carbon::HOURS_PER_DAY, 'hours'),
|
||||
'months' => array(Carbon::DAYS_PER_WEEK * Carbon::WEEKS_PER_MONTH, 'dayz'),
|
||||
'years' => array(Carbon::MONTHS_PER_YEAR, 'months'),
|
||||
);
|
||||
}
|
||||
|
||||
private static function standardizeUnit($unit)
|
||||
{
|
||||
$unit = rtrim($unit, 'sz').'s';
|
||||
|
||||
return $unit === 'days' ? 'dayz' : $unit;
|
||||
}
|
||||
|
||||
private static function getFlipCascadeFactors()
|
||||
{
|
||||
if (!self::$flipCascadeFactors) {
|
||||
self::$flipCascadeFactors = array();
|
||||
foreach (static::getCascadeFactors() as $to => $tuple) {
|
||||
list($factor, $from) = $tuple;
|
||||
|
||||
self::$flipCascadeFactors[self::standardizeUnit($from)] = array(self::standardizeUnit($to), $factor);
|
||||
}
|
||||
}
|
||||
|
||||
return self::$flipCascadeFactors;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $cascadeFactors
|
||||
*/
|
||||
public static function setCascadeFactors(array $cascadeFactors)
|
||||
{
|
||||
self::$flipCascadeFactors = null;
|
||||
static::$cascadeFactors = $cascadeFactors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the interval was created via DateTime:diff() or not.
|
||||
*
|
||||
@@ -203,7 +126,7 @@ class CarbonInterval extends DateInterval
|
||||
$spec .= $months > 0 ? $months.static::PERIOD_MONTHS : '';
|
||||
|
||||
$specDays = 0;
|
||||
$specDays += $weeks > 0 ? $weeks * static::getDaysPerWeek() : 0;
|
||||
$specDays += $weeks > 0 ? $weeks * Carbon::DAYS_PER_WEEK : 0;
|
||||
$specDays += $days > 0 ? $days : 0;
|
||||
|
||||
$spec .= $specDays > 0 ? $specDays.static::PERIOD_DAYS : '';
|
||||
@@ -224,69 +147,6 @@ class CarbonInterval extends DateInterval
|
||||
parent::__construct($spec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the factor for a given source-to-target couple.
|
||||
*
|
||||
* @param string $source
|
||||
* @param string $target
|
||||
*
|
||||
* @return int|null
|
||||
*/
|
||||
public static function getFactor($source, $target)
|
||||
{
|
||||
$source = self::standardizeUnit($source);
|
||||
$target = self::standardizeUnit($target);
|
||||
$factors = static::getFlipCascadeFactors();
|
||||
if (isset($factors[$source])) {
|
||||
list($to, $factor) = $factors[$source];
|
||||
if ($to === $target) {
|
||||
return $factor;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns current config for days per week.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function getDaysPerWeek()
|
||||
{
|
||||
return static::getFactor('dayz', 'weeks') ?: Carbon::DAYS_PER_WEEK;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns current config for hours per day.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function getHoursPerDay()
|
||||
{
|
||||
return static::getFactor('hours', 'dayz') ?: Carbon::HOURS_PER_DAY;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns current config for minutes per hour.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function getMinutesPerHours()
|
||||
{
|
||||
return static::getFactor('minutes', 'hours') ?: Carbon::MINUTES_PER_HOUR;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns current config for seconds per minute.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function getSecondsPerMinutes()
|
||||
{
|
||||
return static::getFactor('seconds', 'minutes') ?: Carbon::SECONDS_PER_MINUTE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new CarbonInterval instance from specific values.
|
||||
* This is an alias for the constructor that allows better fluent
|
||||
@@ -308,19 +168,6 @@ class CarbonInterval extends DateInterval
|
||||
return new static($years, $months, $weeks, $days, $hours, $minutes, $seconds);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a copy of the instance.
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function copy()
|
||||
{
|
||||
$date = new static($this->spec());
|
||||
$date->invert = $this->invert;
|
||||
|
||||
return $date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide static helpers to create instances. Allows CarbonInterval::years(3).
|
||||
*
|
||||
@@ -366,16 +213,10 @@ class CarbonInterval extends DateInterval
|
||||
case 'second':
|
||||
return new static(null, null, null, null, null, null, $arg);
|
||||
}
|
||||
|
||||
if (static::hasMacro($name)) {
|
||||
return call_user_func_array(
|
||||
array(new static(0), $name), $args
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a CarbonInterval from string.
|
||||
* Creates a CarbonInterval from string
|
||||
*
|
||||
* Format:
|
||||
*
|
||||
@@ -437,8 +278,8 @@ class CarbonInterval extends DateInterval
|
||||
case 'weeks':
|
||||
case 'w':
|
||||
$weeks += $intValue;
|
||||
if ($fraction) {
|
||||
$parts[] = array(null, $fraction * static::getDaysPerWeek(), 'd');
|
||||
if ($fraction != 0) {
|
||||
$parts[] = array(null, $fraction * Carbon::DAYS_PER_WEEK, 'd');
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -446,8 +287,8 @@ class CarbonInterval extends DateInterval
|
||||
case 'days':
|
||||
case 'd':
|
||||
$days += $intValue;
|
||||
if ($fraction) {
|
||||
$parts[] = array(null, $fraction * static::getHoursPerDay(), 'h');
|
||||
if ($fraction != 0) {
|
||||
$parts[] = array(null, $fraction * Carbon::HOURS_PER_DAY, 'h');
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -455,8 +296,8 @@ class CarbonInterval extends DateInterval
|
||||
case 'hours':
|
||||
case 'h':
|
||||
$hours += $intValue;
|
||||
if ($fraction) {
|
||||
$parts[] = array(null, $fraction * static::getMinutesPerHours(), 'm');
|
||||
if ($fraction != 0) {
|
||||
$parts[] = array(null, $fraction * Carbon::MINUTES_PER_HOUR, 'm');
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -464,8 +305,8 @@ class CarbonInterval extends DateInterval
|
||||
case 'minutes':
|
||||
case 'm':
|
||||
$minutes += $intValue;
|
||||
if ($fraction) {
|
||||
$seconds += round($fraction * static::getSecondsPerMinutes());
|
||||
if ($fraction != 0) {
|
||||
$seconds += round($fraction * Carbon::SECONDS_PER_MINUTE);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -492,45 +333,23 @@ class CarbonInterval extends DateInterval
|
||||
*
|
||||
* @param DateInterval $di
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function instance(DateInterval $di)
|
||||
{
|
||||
$instance = new static(static::getDateIntervalSpec($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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Make a CarbonInterval instance from given variable if possible.
|
||||
*
|
||||
* Always return a new instance. Parse only strings and only these likely to be intervals (skip dates
|
||||
* and recurrences). Throw an exception for invalid format, but otherwise return null.
|
||||
*
|
||||
* @param mixed $var
|
||||
*
|
||||
* @return static|null
|
||||
*/
|
||||
public static function make($var)
|
||||
{
|
||||
if ($var instanceof DateInterval) {
|
||||
return static::instance($var);
|
||||
}
|
||||
|
||||
if (is_string($var)) {
|
||||
$var = trim($var);
|
||||
|
||||
if (substr($var, 0, 1) === 'P') {
|
||||
return new static($var);
|
||||
}
|
||||
|
||||
if (preg_match('/^(?:\h*\d+(?:\.\d+)?\h*[a-z]+)+$/i', $var)) {
|
||||
return static::fromString($var);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
/////////////////////// LOCALIZATION //////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////
|
||||
@@ -550,7 +369,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the translator instance in use.
|
||||
* Get the translator instance in use
|
||||
*
|
||||
* @return \Symfony\Component\Translation\TranslatorInterface
|
||||
*/
|
||||
@@ -560,7 +379,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the translator instance to use.
|
||||
* Set the translator instance to use
|
||||
*
|
||||
* @param TranslatorInterface $translator
|
||||
*/
|
||||
@@ -570,7 +389,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current translator locale.
|
||||
* Get the current translator locale
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -580,7 +399,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the current translator locale.
|
||||
* Set the current translator locale
|
||||
*
|
||||
* @param string $locale
|
||||
*/
|
||||
@@ -594,20 +413,16 @@ class CarbonInterval extends DateInterval
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Get a part of the CarbonInterval object.
|
||||
* Get a part of the CarbonInterval object
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*
|
||||
* @return int|float
|
||||
* @return int
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
if (substr($name, 0, 5) === 'total') {
|
||||
return $this->total(substr($name, 5));
|
||||
}
|
||||
|
||||
switch ($name) {
|
||||
case 'years':
|
||||
return $this->y;
|
||||
@@ -628,11 +443,11 @@ class CarbonInterval extends DateInterval
|
||||
return $this->s;
|
||||
|
||||
case 'weeks':
|
||||
return (int) floor($this->d / static::getDaysPerWeek());
|
||||
return (int) floor($this->d / Carbon::DAYS_PER_WEEK);
|
||||
|
||||
case 'daysExcludeWeeks':
|
||||
case 'dayzExcludeWeeks':
|
||||
return $this->d % static::getDaysPerWeek();
|
||||
return $this->d % Carbon::DAYS_PER_WEEK;
|
||||
|
||||
default:
|
||||
throw new InvalidArgumentException(sprintf("Unknown getter '%s'", $name));
|
||||
@@ -640,7 +455,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a part of the CarbonInterval object.
|
||||
* Set a part of the CarbonInterval object
|
||||
*
|
||||
* @param string $name
|
||||
* @param int $val
|
||||
@@ -659,7 +474,7 @@ class CarbonInterval extends DateInterval
|
||||
break;
|
||||
|
||||
case 'weeks':
|
||||
$this->d = $val * static::getDaysPerWeek();
|
||||
$this->d = $val * Carbon::DAYS_PER_WEEK;
|
||||
break;
|
||||
|
||||
case 'dayz':
|
||||
@@ -690,94 +505,11 @@ class CarbonInterval extends DateInterval
|
||||
*/
|
||||
public function weeksAndDays($weeks, $days)
|
||||
{
|
||||
$this->dayz = ($weeks * static::getDaysPerWeek()) + $days;
|
||||
$this->dayz = ($weeks * Carbon::DAYS_PER_WEEK) + $days;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a custom macro.
|
||||
*
|
||||
* @param string $name
|
||||
* @param object|callable $macro
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function macro($name, $macro)
|
||||
{
|
||||
static::$macros[$name] = $macro;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register macros from a mixin object.
|
||||
*
|
||||
* @param object $mixin
|
||||
*
|
||||
* @throws \ReflectionException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function mixin($mixin)
|
||||
{
|
||||
$reflection = new ReflectionClass($mixin);
|
||||
|
||||
$methods = $reflection->getMethods(
|
||||
ReflectionMethod::IS_PUBLIC | ReflectionMethod::IS_PROTECTED
|
||||
);
|
||||
|
||||
foreach ($methods as $method) {
|
||||
$method->setAccessible(true);
|
||||
|
||||
static::macro($method->name, $method->invoke($mixin));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if macro is registered.
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function hasMacro($name)
|
||||
{
|
||||
return isset(static::$macros[$name]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call given macro.
|
||||
*
|
||||
* @param string $name
|
||||
* @param array $parameters
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
protected function callMacro($name, $parameters)
|
||||
{
|
||||
$macro = static::$macros[$name];
|
||||
|
||||
$reflection = new ReflectionFunction($macro);
|
||||
|
||||
$reflectionParameters = $reflection->getParameters();
|
||||
|
||||
$expectedCount = count($reflectionParameters);
|
||||
$actualCount = count($parameters);
|
||||
|
||||
if ($expectedCount > $actualCount && $reflectionParameters[$expectedCount - 1]->name === 'self') {
|
||||
for ($i = $actualCount; $i < $expectedCount - 1; $i++) {
|
||||
$parameters[] = $reflectionParameters[$i]->getDefaultValue();
|
||||
}
|
||||
|
||||
$parameters[] = $this;
|
||||
}
|
||||
|
||||
if ($macro instanceof Closure && method_exists($macro, 'bindTo')) {
|
||||
$macro = $macro->bindTo($this, get_class($this));
|
||||
}
|
||||
|
||||
return call_user_func_array($macro, $parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
* Allow fluent calls on the setters... CarbonInterval::years(3)->months(5)->day().
|
||||
*
|
||||
@@ -791,10 +523,6 @@ class CarbonInterval extends DateInterval
|
||||
*/
|
||||
public function __call($name, $args)
|
||||
{
|
||||
if (static::hasMacro($name)) {
|
||||
return $this->callMacro($name, $args);
|
||||
}
|
||||
|
||||
$arg = count($args) === 0 ? 1 : $args[0];
|
||||
|
||||
switch ($name) {
|
||||
@@ -810,7 +538,7 @@ class CarbonInterval extends DateInterval
|
||||
|
||||
case 'weeks':
|
||||
case 'week':
|
||||
$this->dayz = $arg * static::getDaysPerWeek();
|
||||
$this->dayz = $arg * Carbon::DAYS_PER_WEEK;
|
||||
break;
|
||||
|
||||
case 'days':
|
||||
@@ -841,27 +569,24 @@ class CarbonInterval extends DateInterval
|
||||
/**
|
||||
* Get the current interval in a human readable format in the current locale.
|
||||
*
|
||||
* @param bool $short (false by default), returns short units if true
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function forHumans($short = false)
|
||||
public function forHumans()
|
||||
{
|
||||
$periods = array(
|
||||
'year' => array('y', $this->years),
|
||||
'month' => array('m', $this->months),
|
||||
'week' => array('w', $this->weeks),
|
||||
'day' => array('d', $this->daysExcludeWeeks),
|
||||
'hour' => array('h', $this->hours),
|
||||
'minute' => array('min', $this->minutes),
|
||||
'second' => array('s', $this->seconds),
|
||||
'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 => $options) {
|
||||
list($shortUnit, $count) = $options;
|
||||
foreach ($periods as $unit => $count) {
|
||||
if ($count > 0) {
|
||||
$parts[] = static::translator()->transChoice($short ? $shortUnit : $unit, $count, array(':count' => $count));
|
||||
$parts[] = static::translator()->transChoice($unit, $count, array(':count' => $count));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -879,31 +604,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the interval to a CarbonPeriod.
|
||||
*
|
||||
* @return CarbonPeriod
|
||||
*/
|
||||
public function toPeriod()
|
||||
{
|
||||
return CarbonPeriod::createFromArray(
|
||||
array_merge(array($this), func_get_args())
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invert the interval.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function invert()
|
||||
{
|
||||
$this->invert = $this->invert ? 0 : 1;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the passed interval to the current instance.
|
||||
* Add the passed interval to the current instance
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
@@ -928,48 +629,22 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Multiply current instance given number of times
|
||||
*
|
||||
* @param float $factor
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function times($factor)
|
||||
{
|
||||
if ($factor < 0) {
|
||||
$this->invert = $this->invert ? 0 : 1;
|
||||
$factor = -$factor;
|
||||
}
|
||||
|
||||
$this->years = (int) round($this->years * $factor);
|
||||
$this->months = (int) round($this->months * $factor);
|
||||
$this->dayz = (int) round($this->dayz * $factor);
|
||||
$this->hours = (int) round($this->hours * $factor);
|
||||
$this->minutes = (int) round($this->minutes * $factor);
|
||||
$this->seconds = (int) round($this->seconds * $factor);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the interval_spec string of a date interval.
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
* Get the interval_spec string
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getDateIntervalSpec(DateInterval $interval)
|
||||
public function spec()
|
||||
{
|
||||
$date = array_filter(array(
|
||||
static::PERIOD_YEARS => $interval->y,
|
||||
static::PERIOD_MONTHS => $interval->m,
|
||||
static::PERIOD_DAYS => $interval->d,
|
||||
static::PERIOD_YEARS => $this->y,
|
||||
static::PERIOD_MONTHS => $this->m,
|
||||
static::PERIOD_DAYS => $this->d,
|
||||
));
|
||||
|
||||
$time = array_filter(array(
|
||||
static::PERIOD_HOURS => $interval->h,
|
||||
static::PERIOD_MINUTES => $interval->i,
|
||||
static::PERIOD_SECONDS => $interval->s,
|
||||
static::PERIOD_HOURS => $this->h,
|
||||
static::PERIOD_MINUTES => $this->i,
|
||||
static::PERIOD_SECONDS => $this->s,
|
||||
));
|
||||
|
||||
$specString = static::PERIOD_PREFIX;
|
||||
@@ -989,41 +664,7 @@ class CarbonInterval extends DateInterval
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the interval_spec string.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function spec()
|
||||
{
|
||||
return static::getDateIntervalSpec($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Comparing 2 date intervals.
|
||||
*
|
||||
* @param DateInterval $a
|
||||
* @param DateInterval $b
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function compareDateIntervals(DateInterval $a, DateInterval $b)
|
||||
{
|
||||
$current = Carbon::now();
|
||||
$passed = $current->copy()->add($b);
|
||||
$current->add($a);
|
||||
|
||||
if ($current < $passed) {
|
||||
return -1;
|
||||
}
|
||||
if ($current > $passed) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Comparing with passed interval.
|
||||
* Comparing with passed interval
|
||||
*
|
||||
* @param DateInterval $interval
|
||||
*
|
||||
@@ -1031,100 +672,16 @@ class CarbonInterval extends DateInterval
|
||||
*/
|
||||
public function compare(DateInterval $interval)
|
||||
{
|
||||
return static::compareDateIntervals($this, $interval);
|
||||
}
|
||||
$current = Carbon::now();
|
||||
$passed = $current->copy()->add($interval);
|
||||
$current->add($this);
|
||||
|
||||
/**
|
||||
* Convert overflowed values into bigger units.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function cascade()
|
||||
{
|
||||
foreach (static::getFlipCascadeFactors() as $source => $cascade) {
|
||||
list($target, $factor) = $cascade;
|
||||
|
||||
if ($source === 'dayz' && $target === 'weeks') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$value = $this->$source;
|
||||
$this->$source = $modulo = $value % $factor;
|
||||
$this->$target += ($value - $modulo) / $factor;
|
||||
if ($current < $passed) {
|
||||
return -1;
|
||||
} elseif ($current > $passed) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get amount of given unit equivalent to the interval.
|
||||
*
|
||||
* @param string $unit
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
public function total($unit)
|
||||
{
|
||||
$realUnit = $unit = strtolower($unit);
|
||||
|
||||
if (in_array($unit, array('days', 'weeks'))) {
|
||||
$realUnit = 'dayz';
|
||||
} elseif (!in_array($unit, array('seconds', 'minutes', 'hours', 'dayz', 'months', 'years'))) {
|
||||
throw new InvalidArgumentException("Unknown unit '$unit'.");
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
$cumulativeFactor = 0;
|
||||
$unitFound = false;
|
||||
|
||||
foreach (static::getFlipCascadeFactors() as $source => $cascade) {
|
||||
list($target, $factor) = $cascade;
|
||||
|
||||
if ($source === $realUnit) {
|
||||
$unitFound = true;
|
||||
$result += $this->$source;
|
||||
$cumulativeFactor = 1;
|
||||
}
|
||||
|
||||
if ($factor === false) {
|
||||
if ($unitFound) {
|
||||
break;
|
||||
}
|
||||
|
||||
$result = 0;
|
||||
$cumulativeFactor = 0;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($target === $realUnit) {
|
||||
$unitFound = true;
|
||||
}
|
||||
|
||||
if ($cumulativeFactor) {
|
||||
$cumulativeFactor *= $factor;
|
||||
$result += $this->$target * $cumulativeFactor;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
$result = ($result + $this->$source) / $factor;
|
||||
}
|
||||
|
||||
if (isset($target) && !$cumulativeFactor) {
|
||||
$result += $this->$target;
|
||||
}
|
||||
|
||||
if (!$unitFound) {
|
||||
throw new \InvalidArgumentException("Unit $unit have no configuration to get total from other units.");
|
||||
}
|
||||
|
||||
if ($unit === 'weeks') {
|
||||
return $result / static::getDaysPerWeek();
|
||||
}
|
||||
|
||||
return $result;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
1445
vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
vendored
1445
vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
vendored
File diff suppressed because it is too large
Load Diff
28
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count jaar|:count jare',
|
||||
'y' => ':count jaar|:count jare',
|
||||
'month' => ':count maand|:count maande',
|
||||
'm' => ':count maand|:count maande',
|
||||
'week' => ':count week|:count weke',
|
||||
'w' => ':count week|:count weke',
|
||||
'day' => ':count dag|:count dae',
|
||||
'd' => ':count dag|:count dae',
|
||||
'hour' => ':count uur|:count ure',
|
||||
'h' => ':count uur|:count ure',
|
||||
'minute' => ':count minuut|:count minute',
|
||||
'min' => ':count minuut|:count minute',
|
||||
'second' => ':count sekond|:count sekondes',
|
||||
's' => ':count sekond|:count sekondes',
|
||||
'year' => '1 jaar|:count jare',
|
||||
'y' => '1 jaar|:count jare',
|
||||
'month' => '1 maand|:count maande',
|
||||
'm' => '1 maand|:count maande',
|
||||
'week' => '1 week|:count weke',
|
||||
'w' => '1 week|:count weke',
|
||||
'day' => '1 dag|:count dae',
|
||||
'd' => '1 dag|:count dae',
|
||||
'hour' => '1 uur|:count ure',
|
||||
'h' => '1 uur|:count ure',
|
||||
'minute' => '1 minuut|:count minute',
|
||||
'min' => '1 minuut|:count minute',
|
||||
'second' => '1 sekond|:count sekondes',
|
||||
's' => '1 sekond|:count sekondes',
|
||||
'ago' => ':time terug',
|
||||
'from_now' => ':time van nou af',
|
||||
'after' => ':time na',
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count година|:count години',
|
||||
'y' => ':count година|:count години',
|
||||
'month' => ':count месец|:count месеца',
|
||||
'm' => ':count месец|:count месеца',
|
||||
'week' => ':count седмица|:count седмици',
|
||||
'w' => ':count седмица|:count седмици',
|
||||
'day' => ':count ден|:count дни',
|
||||
'd' => ':count ден|:count дни',
|
||||
'hour' => ':count час|:count часа',
|
||||
'h' => ':count час|:count часа',
|
||||
'minute' => ':count минута|:count минути',
|
||||
'min' => ':count минута|:count минути',
|
||||
'second' => ':count секунда|:count секунди',
|
||||
's' => ':count секунда|:count секунди',
|
||||
'year' => '1 година|:count години',
|
||||
'y' => '1 година|:count години',
|
||||
'month' => '1 месец|:count месеца',
|
||||
'm' => '1 месец|:count месеца',
|
||||
'week' => '1 седмица|:count седмици',
|
||||
'w' => '1 седмица|:count седмици',
|
||||
'day' => '1 ден|:count дни',
|
||||
'd' => '1 ден|:count дни',
|
||||
'hour' => '1 час|:count часа',
|
||||
'h' => '1 час|:count часа',
|
||||
'minute' => '1 минута|:count минути',
|
||||
'min' => '1 минута|:count минути',
|
||||
'second' => '1 секунда|:count секунди',
|
||||
's' => '1 секунда|:count секунди',
|
||||
'ago' => 'преди :time',
|
||||
'from_now' => ':time от сега',
|
||||
'after' => 'след :time',
|
||||
|
31
vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.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.
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count godina|:count godine|:count godina',
|
||||
'y' => ':count godina|:count godine|:count godina',
|
||||
'month' => ':count mjesec|:count mjeseca|:count mjeseci',
|
||||
'm' => ':count mjesec|:count mjeseca|:count mjeseci',
|
||||
'week' => ':count nedjelja|:count nedjelje|:count nedjelja',
|
||||
'w' => ':count nedjelja|:count nedjelje|:count nedjelja',
|
||||
'day' => ':count dan|:count dana|:count dana',
|
||||
'd' => ':count dan|:count dana|:count dana',
|
||||
'hour' => ':count sat|:count sata|:count sati',
|
||||
'h' => ':count sat|:count sata|:count sati',
|
||||
'minute' => ':count minut|:count minuta|:count minuta',
|
||||
'min' => ':count minut|:count minuta|:count minuta',
|
||||
'second' => ':count sekund|:count sekunda|:count sekundi',
|
||||
's' => ':count sekund|:count sekunda|:count sekundi',
|
||||
'ago' => 'prije :time',
|
||||
'from_now' => 'za :time',
|
||||
'after' => 'nakon :time',
|
||||
'before' => ':time ranije',
|
||||
);
|
37
vendor/nesbot/carbon/src/Carbon/Lang/ca.php
vendored
37
vendor/nesbot/carbon/src/Carbon/Lang/ca.php
vendored
@@ -10,31 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count any|:count anys',
|
||||
'y' => ':count any|:count anys',
|
||||
'month' => ':count mes|:count mesos',
|
||||
'm' => ':count mes|:count mesos',
|
||||
'week' => ':count setmana|:count setmanes',
|
||||
'w' => ':count setmana|:count setmanes',
|
||||
'day' => ':count dia|:count dies',
|
||||
'd' => ':count dia|:count dies',
|
||||
'hour' => ':count hora|:count hores',
|
||||
'h' => ':count hora|:count hores',
|
||||
'minute' => ':count minut|:count minuts',
|
||||
'min' => ':count minut|:count minuts',
|
||||
'second' => ':count segon|:count segons',
|
||||
's' => ':count segon|:count segons',
|
||||
'year' => '1 any|:count anys',
|
||||
'y' => '1 any|:count anys',
|
||||
'month' => '1 mes|:count mesos',
|
||||
'm' => '1 mes|:count mesos',
|
||||
'week' => '1 setmana|:count setmanes',
|
||||
'w' => '1 setmana|:count setmanes',
|
||||
'day' => '1 dia|:count dies',
|
||||
'd' => '1 dia|:count dies',
|
||||
'hour' => '1 hora|:count hores',
|
||||
'h' => '1 hora|:count hores',
|
||||
'minute' => '1 minut|:count minuts',
|
||||
'min' => '1 minut|:count minuts',
|
||||
'second' => '1 segon|:count segons',
|
||||
's' => '1 segon|:count segons',
|
||||
'ago' => 'fa :time',
|
||||
'from_now' => 'dins de :time',
|
||||
'after' => ':time després',
|
||||
'before' => ':time abans',
|
||||
'diff_now' => 'ara mateix',
|
||||
'diff_yesterday' => 'ahir',
|
||||
'diff_tomorrow' => 'demà',
|
||||
'diff_before_yesterday' => "abans d'ahir",
|
||||
'diff_after_tomorrow' => 'demà passat',
|
||||
'period_recurrences' => ':count cop|:count cops',
|
||||
'period_interval' => 'cada :interval',
|
||||
'period_start_date' => 'de :date',
|
||||
'period_end_date' => 'fins a :date',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/cs.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/cs.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count rok|:count roky|:count let',
|
||||
'y' => ':count rok|:count roky|:count let',
|
||||
'month' => ':count měsíc|:count měsíce|:count měsíců',
|
||||
'm' => ':count měsíc|:count měsíce|:count měsíců',
|
||||
'week' => ':count týden|:count týdny|:count týdnů',
|
||||
'w' => ':count týden|:count týdny|:count týdnů',
|
||||
'day' => ':count den|:count dny|:count dní',
|
||||
'd' => ':count den|:count dny|:count dní',
|
||||
'hour' => ':count hodinu|:count hodiny|:count hodin',
|
||||
'h' => ':count hodinu|:count hodiny|:count hodin',
|
||||
'minute' => ':count minutu|:count minuty|:count minut',
|
||||
'min' => ':count minutu|:count minuty|:count minut',
|
||||
'second' => ':count sekundu|:count sekundy|:count sekund',
|
||||
's' => ':count sekundu|:count sekundy|:count sekund',
|
||||
'year' => '1 rok|:count roky|:count let',
|
||||
'y' => '1 rok|:count roky|:count let',
|
||||
'month' => '1 měsíc|:count měsíce|:count měsíců',
|
||||
'm' => '1 měsíc|:count měsíce|:count měsíců',
|
||||
'week' => '1 týden|:count týdny|:count týdnů',
|
||||
'w' => '1 týden|:count týdny|:count týdnů',
|
||||
'day' => '1 den|:count dny|:count dní',
|
||||
'd' => '1 den|:count dny|:count dní',
|
||||
'hour' => '1 hodinu|:count hodiny|:count hodin',
|
||||
'h' => '1 hodinu|:count hodiny|:count hodin',
|
||||
'minute' => '1 minutu|:count minuty|:count minut',
|
||||
'min' => '1 minutu|:count minuty|:count minut',
|
||||
'second' => '1 sekundu|:count sekundy|:count sekund',
|
||||
's' => '1 sekundu|:count sekundy|:count sekund',
|
||||
'ago' => ':time nazpět',
|
||||
'from_now' => 'za :time',
|
||||
'after' => ':time později',
|
||||
|
29
vendor/nesbot/carbon/src/Carbon/Lang/cy.php
vendored
29
vendor/nesbot/carbon/src/Carbon/Lang/cy.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.
|
||||
*/
|
||||
return array(
|
||||
'year' => '1 flwyddyn|:count blynedd',
|
||||
'y' => ':countbl',
|
||||
'month' => '1 mis|:count fis',
|
||||
'm' => ':countmi',
|
||||
'week' => ':count wythnos',
|
||||
'w' => ':countw',
|
||||
'day' => ':count diwrnod',
|
||||
'd' => ':countd',
|
||||
'hour' => ':count awr',
|
||||
'h' => ':counth',
|
||||
'minute' => ':count munud',
|
||||
'min' => ':countm',
|
||||
'second' => ':count eiliad',
|
||||
's' => ':counts',
|
||||
'ago' => ':time yn ôl',
|
||||
'from_now' => ':time o hyn ymlaen',
|
||||
'after' => ':time ar ôl',
|
||||
'before' => ':time o\'r blaen',
|
||||
);
|
28
vendor/nesbot/carbon/src/Carbon/Lang/da.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/da.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count år|:count år',
|
||||
'y' => ':count år|:count år',
|
||||
'month' => ':count måned|:count måneder',
|
||||
'm' => ':count måned|:count måneder',
|
||||
'week' => ':count uge|:count uger',
|
||||
'w' => ':count uge|:count uger',
|
||||
'day' => ':count dag|:count dage',
|
||||
'd' => ':count dag|:count dage',
|
||||
'hour' => ':count time|:count timer',
|
||||
'h' => ':count time|:count timer',
|
||||
'minute' => ':count minut|:count minutter',
|
||||
'min' => ':count minut|:count minutter',
|
||||
'second' => ':count sekund|:count sekunder',
|
||||
's' => ':count sekund|:count sekunder',
|
||||
'year' => '1 år|:count år',
|
||||
'y' => '1 år|:count år',
|
||||
'month' => '1 måned|:count måneder',
|
||||
'm' => '1 måned|:count måneder',
|
||||
'week' => '1 uge|:count uger',
|
||||
'w' => '1 uge|:count uger',
|
||||
'day' => '1 dag|:count dage',
|
||||
'd' => '1 dag|:count dage',
|
||||
'hour' => '1 time|:count timer',
|
||||
'h' => '1 time|:count timer',
|
||||
'minute' => '1 minut|:count minutter',
|
||||
'min' => '1 minut|:count minutter',
|
||||
'second' => '1 sekund|:count sekunder',
|
||||
's' => '1 sekund|:count sekunder',
|
||||
'ago' => ':time siden',
|
||||
'from_now' => 'om :time',
|
||||
'after' => ':time efter',
|
||||
|
50
vendor/nesbot/carbon/src/Carbon/Lang/de.php
vendored
50
vendor/nesbot/carbon/src/Carbon/Lang/de.php
vendored
@@ -10,37 +10,31 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count Jahr|:count Jahre',
|
||||
'y' => ':countJ|:countJ',
|
||||
'month' => ':count Monat|:count Monate',
|
||||
'm' => ':countMon|:countMon',
|
||||
'week' => ':count Woche|:count Wochen',
|
||||
'w' => ':countWo|:countWo',
|
||||
'day' => ':count Tag|:count Tage',
|
||||
'd' => ':countTg|:countTg',
|
||||
'hour' => ':count Stunde|:count Stunden',
|
||||
'h' => ':countStd|:countStd',
|
||||
'minute' => ':count Minute|:count Minuten',
|
||||
'min' => ':countMin|:countMin',
|
||||
'second' => ':count Sekunde|:count Sekunden',
|
||||
's' => ':countSek|:countSek',
|
||||
'year' => '1 Jahr|:count Jahre',
|
||||
'y' => '1J|:countJ',
|
||||
'month' => '1 Monat|:count Monate',
|
||||
'm' => '1Mon|:countMon',
|
||||
'week' => '1 Woche|:count Wochen',
|
||||
'w' => '1Wo|:countWo',
|
||||
'day' => '1 Tag|:count Tage',
|
||||
'd' => '1Tg|:countTg',
|
||||
'hour' => '1 Stunde|:count Stunden',
|
||||
'h' => '1Std|:countStd',
|
||||
'minute' => '1 Minute|:count Minuten',
|
||||
'min' => '1Min|:countMin',
|
||||
'second' => '1 Sekunde|:count Sekunden',
|
||||
's' => '1Sek|:countSek',
|
||||
'ago' => 'vor :time',
|
||||
'from_now' => 'in :time',
|
||||
'after' => ':time später',
|
||||
'before' => ':time zuvor',
|
||||
|
||||
'year_from_now' => ':count Jahr|:count Jahren',
|
||||
'month_from_now' => ':count Monat|:count Monaten',
|
||||
'week_from_now' => ':count Woche|:count Wochen',
|
||||
'day_from_now' => ':count Tag|:count Tagen',
|
||||
'year_ago' => ':count Jahr|:count Jahren',
|
||||
'month_ago' => ':count Monat|:count Monaten',
|
||||
'week_ago' => ':count Woche|:count Wochen',
|
||||
'day_ago' => ':count Tag|:count Tagen',
|
||||
|
||||
'diff_now' => 'Gerade eben',
|
||||
'diff_yesterday' => 'Gestern',
|
||||
'diff_tomorrow' => 'Heute',
|
||||
'diff_before_yesterday' => 'Vorgestern',
|
||||
'diff_after_tomorrow' => 'Übermorgen',
|
||||
'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',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/el.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/el.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count χρόνος|:count χρόνια',
|
||||
'y' => ':count χρόνος|:count χρόνια',
|
||||
'month' => ':count μήνας|:count μήνες',
|
||||
'm' => ':count μήνας|:count μήνες',
|
||||
'week' => ':count εβδομάδα|:count εβδομάδες',
|
||||
'w' => ':count εβδομάδα|:count εβδομάδες',
|
||||
'day' => ':count μέρα|:count μέρες',
|
||||
'd' => ':count μέρα|:count μέρες',
|
||||
'hour' => ':count ώρα|:count ώρες',
|
||||
'h' => ':count ώρα|:count ώρες',
|
||||
'minute' => ':count λεπτό|:count λεπτά',
|
||||
'min' => ':count λεπτό|:count λεπτά',
|
||||
'second' => ':count δευτερόλεπτο|:count δευτερόλεπτα',
|
||||
's' => ':count δευτερόλεπτο|:count δευτερόλεπτα',
|
||||
'year' => '1 χρόνος|:count χρόνια',
|
||||
'y' => '1 χρόνος|:count χρόνια',
|
||||
'month' => '1 μήνας|:count μήνες',
|
||||
'm' => '1 μήνας|:count μήνες',
|
||||
'week' => '1 εβδομάδα|:count εβδομάδες',
|
||||
'w' => '1 εβδομάδα|:count εβδομάδες',
|
||||
'day' => '1 μέρα|:count μέρες',
|
||||
'd' => '1 μέρα|:count μέρες',
|
||||
'hour' => '1 ώρα|:count ώρες',
|
||||
'h' => '1 ώρα|:count ώρες',
|
||||
'minute' => '1 λεπτό|:count λεπτά',
|
||||
'min' => '1 λεπτό|:count λεπτά',
|
||||
'second' => '1 δευτερόλεπτο|:count δευτερόλεπτα',
|
||||
's' => '1 δευτερόλεπτο|:count δευτερόλεπτα',
|
||||
'ago' => 'πριν από :time',
|
||||
'from_now' => 'σε :time από τώρα',
|
||||
'after' => ':time μετά',
|
||||
|
37
vendor/nesbot/carbon/src/Carbon/Lang/en.php
vendored
37
vendor/nesbot/carbon/src/Carbon/Lang/en.php
vendored
@@ -10,31 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count year|:count years',
|
||||
'y' => ':countyr|:countyrs',
|
||||
'month' => ':count month|:count months',
|
||||
'm' => ':countmo|:countmos',
|
||||
'week' => ':count week|:count weeks',
|
||||
'w' => ':countw|:countw',
|
||||
'day' => ':count day|:count days',
|
||||
'd' => ':countd|:countd',
|
||||
'hour' => ':count hour|:count hours',
|
||||
'h' => ':counth|:counth',
|
||||
'minute' => ':count minute|:count minutes',
|
||||
'min' => ':countm|:countm',
|
||||
'second' => ':count second|:count seconds',
|
||||
's' => ':counts|:counts',
|
||||
'year' => '1 year|:count years',
|
||||
'y' => '1yr|:countyrs',
|
||||
'month' => '1 month|:count months',
|
||||
'm' => '1mo|:countmos',
|
||||
'week' => '1 week|:count weeks',
|
||||
'w' => '1w|:countw',
|
||||
'day' => '1 day|:count days',
|
||||
'd' => '1d|:countd',
|
||||
'hour' => '1 hour|:count hours',
|
||||
'h' => '1h|:counth',
|
||||
'minute' => '1 minute|:count minutes',
|
||||
'min' => '1m|:countm',
|
||||
'second' => '1 second|:count seconds',
|
||||
's' => '1s|:counts',
|
||||
'ago' => ':time ago',
|
||||
'from_now' => ':time from now',
|
||||
'after' => ':time after',
|
||||
'before' => ':time before',
|
||||
'diff_now' => 'just now',
|
||||
'diff_yesterday' => 'yesterday',
|
||||
'diff_tomorrow' => 'tomorrow',
|
||||
'diff_before_yesterday' => 'before yesterday',
|
||||
'diff_after_tomorrow' => 'after tomorrow',
|
||||
'period_recurrences' => 'once|:count times',
|
||||
'period_interval' => 'every :interval',
|
||||
'period_start_date' => 'from :date',
|
||||
'period_end_date' => 'to :date',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/eo.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/eo.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count jaro|:count jaroj',
|
||||
'y' => ':count jaro|:count jaroj',
|
||||
'month' => ':count monato|:count monatoj',
|
||||
'm' => ':count monato|:count monatoj',
|
||||
'week' => ':count semajno|:count semajnoj',
|
||||
'w' => ':count semajno|:count semajnoj',
|
||||
'day' => ':count tago|:count tagoj',
|
||||
'd' => ':count tago|:count tagoj',
|
||||
'hour' => ':count horo|:count horoj',
|
||||
'h' => ':count horo|:count horoj',
|
||||
'minute' => ':count minuto|:count minutoj',
|
||||
'min' => ':count minuto|:count minutoj',
|
||||
'second' => ':count sekundo|:count sekundoj',
|
||||
's' => ':count sekundo|:count sekundoj',
|
||||
'year' => '1 jaro|:count jaroj',
|
||||
'y' => '1 jaro|:count jaroj',
|
||||
'month' => '1 monato|:count monatoj',
|
||||
'm' => '1 monato|:count monatoj',
|
||||
'week' => '1 semajno|:count semajnoj',
|
||||
'w' => '1 semajno|:count semajnoj',
|
||||
'day' => '1 tago|:count tagoj',
|
||||
'd' => '1 tago|:count tagoj',
|
||||
'hour' => '1 horo|:count horoj',
|
||||
'h' => '1 horo|:count horoj',
|
||||
'minute' => '1 minuto|:count minutoj',
|
||||
'min' => '1 minuto|:count minutoj',
|
||||
'second' => '1 sekundo|:count sekundoj',
|
||||
's' => '1 sekundo|:count sekundoj',
|
||||
'ago' => 'antaŭ :time',
|
||||
'from_now' => 'je :time',
|
||||
'after' => ':time poste',
|
||||
|
33
vendor/nesbot/carbon/src/Carbon/Lang/es.php
vendored
33
vendor/nesbot/carbon/src/Carbon/Lang/es.php
vendored
@@ -10,27 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count año|:count años',
|
||||
'y' => ':count año|:count años',
|
||||
'month' => ':count mes|:count meses',
|
||||
'm' => ':count mes|:count meses',
|
||||
'week' => ':count semana|:count semanas',
|
||||
'w' => ':count semana|:count semanas',
|
||||
'day' => ':count día|:count días',
|
||||
'd' => ':count día|:count días',
|
||||
'hour' => ':count hora|:count horas',
|
||||
'h' => ':count hora|:count horas',
|
||||
'minute' => ':count minuto|:count minutos',
|
||||
'min' => ':count minuto|:count minutos',
|
||||
'second' => ':count segundo|:count segundos',
|
||||
's' => ':count segundo|:count segundos',
|
||||
'year' => '1 año|:count años',
|
||||
'y' => '1 año|:count años',
|
||||
'month' => '1 mes|:count meses',
|
||||
'm' => '1 mes|:count meses',
|
||||
'week' => '1 semana|:count semanas',
|
||||
'w' => '1 semana|:count semanas',
|
||||
'day' => '1 día|:count días',
|
||||
'd' => '1 día|:count días',
|
||||
'hour' => '1 hora|:count horas',
|
||||
'h' => '1 hora|:count horas',
|
||||
'minute' => '1 minuto|:count minutos',
|
||||
'min' => '1 minuto|:count minutos',
|
||||
'second' => '1 segundo|:count segundos',
|
||||
's' => '1 segundo|:count segundos',
|
||||
'ago' => 'hace :time',
|
||||
'from_now' => 'dentro de :time',
|
||||
'after' => ':time después',
|
||||
'before' => ':time antes',
|
||||
'diff_now' => 'ahora mismo',
|
||||
'diff_yesterday' => 'ayer',
|
||||
'diff_tomorrow' => 'mañana',
|
||||
'diff_before_yesterday' => 'anteayer',
|
||||
'diff_after_tomorrow' => 'pasado mañana',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/et.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/et.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count aasta|:count aastat',
|
||||
'y' => ':count aasta|:count aastat',
|
||||
'month' => ':count kuu|:count kuud',
|
||||
'm' => ':count kuu|:count kuud',
|
||||
'week' => ':count nädal|:count nädalat',
|
||||
'w' => ':count nädal|:count nädalat',
|
||||
'day' => ':count päev|:count päeva',
|
||||
'd' => ':count päev|:count päeva',
|
||||
'hour' => ':count tund|:count tundi',
|
||||
'h' => ':count tund|:count tundi',
|
||||
'minute' => ':count minut|:count minutit',
|
||||
'min' => ':count minut|:count minutit',
|
||||
'second' => ':count sekund|:count sekundit',
|
||||
's' => ':count sekund|:count sekundit',
|
||||
'year' => '1 aasta|:count aastat',
|
||||
'y' => '1 aasta|:count aastat',
|
||||
'month' => '1 kuu|:count kuud',
|
||||
'm' => '1 kuu|:count kuud',
|
||||
'week' => '1 nädal|:count nädalat',
|
||||
'w' => '1 nädal|:count nädalat',
|
||||
'day' => '1 päev|:count päeva',
|
||||
'd' => '1 päev|:count päeva',
|
||||
'hour' => '1 tund|:count tundi',
|
||||
'h' => '1 tund|:count tundi',
|
||||
'minute' => '1 minut|:count minutit',
|
||||
'min' => '1 minut|:count minutit',
|
||||
'second' => '1 sekund|:count sekundit',
|
||||
's' => '1 sekund|:count sekundit',
|
||||
'ago' => ':time tagasi',
|
||||
'from_now' => ':time pärast',
|
||||
'after' => ':time pärast',
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/fi.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/fi.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count vuosi|:count vuotta',
|
||||
'y' => ':count vuosi|:count vuotta',
|
||||
'month' => ':count kuukausi|:count kuukautta',
|
||||
'm' => ':count kuukausi|:count kuukautta',
|
||||
'week' => ':count viikko|:count viikkoa',
|
||||
'w' => ':count viikko|:count viikkoa',
|
||||
'day' => ':count päivä|:count päivää',
|
||||
'd' => ':count päivä|:count päivää',
|
||||
'hour' => ':count tunti|:count tuntia',
|
||||
'h' => ':count tunti|:count tuntia',
|
||||
'minute' => ':count minuutti|:count minuuttia',
|
||||
'min' => ':count minuutti|:count minuuttia',
|
||||
'second' => ':count sekunti|:count sekuntia',
|
||||
's' => ':count sekunti|:count sekuntia',
|
||||
'year' => '1 vuosi|:count vuotta',
|
||||
'y' => '1 vuosi|:count vuotta',
|
||||
'month' => '1 kuukausi|:count kuukautta',
|
||||
'm' => '1 kuukausi|:count kuukautta',
|
||||
'week' => '1 viikko|:count viikkoa',
|
||||
'w' => '1 viikko|:count viikkoa',
|
||||
'day' => '1 päivä|:count päivää',
|
||||
'd' => '1 päivä|:count päivää',
|
||||
'hour' => '1 tunti|:count tuntia',
|
||||
'h' => '1 tunti|:count tuntia',
|
||||
'minute' => '1 minuutti|:count minuuttia',
|
||||
'min' => '1 minuutti|:count minuuttia',
|
||||
'second' => '1 sekunti|:count sekuntia',
|
||||
's' => '1 sekunti|:count sekuntia',
|
||||
'ago' => ':time sitten',
|
||||
'from_now' => ':time tästä hetkestä',
|
||||
'after' => ':time sen jälkeen',
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/fo.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/fo.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count ár|:count ár',
|
||||
'y' => ':count ár|:count ár',
|
||||
'month' => ':count mánaður|:count mánaðir',
|
||||
'm' => ':count mánaður|:count mánaðir',
|
||||
'week' => ':count vika|:count vikur',
|
||||
'w' => ':count vika|:count vikur',
|
||||
'day' => ':count dag|:count dagar',
|
||||
'd' => ':count dag|:count dagar',
|
||||
'hour' => ':count tími|:count tímar',
|
||||
'h' => ':count tími|:count tímar',
|
||||
'minute' => ':count minutt|:count minuttir',
|
||||
'min' => ':count minutt|:count minuttir',
|
||||
'second' => ':count sekund|:count sekundir',
|
||||
's' => ':count sekund|:count sekundir',
|
||||
'year' => '1 ár|:count ár',
|
||||
'y' => '1 ár|:count ár',
|
||||
'month' => '1 mánaður|:count mánaðir',
|
||||
'm' => '1 mánaður|:count mánaðir',
|
||||
'week' => '1 vika|:count vikur',
|
||||
'w' => '1 vika|:count vikur',
|
||||
'day' => '1 dag|:count dagar',
|
||||
'd' => '1 dag|:count dagar',
|
||||
'hour' => '1 tími|:count tímar',
|
||||
'h' => '1 tími|:count tímar',
|
||||
'minute' => '1 minutt|:count minuttir',
|
||||
'min' => '1 minutt|:count minuttir',
|
||||
'second' => '1 sekund|:count sekundir',
|
||||
's' => '1 sekund|:count sekundir',
|
||||
'ago' => ':time síðan',
|
||||
'from_now' => 'um :time',
|
||||
'after' => ':time aftaná',
|
||||
|
33
vendor/nesbot/carbon/src/Carbon/Lang/fr.php
vendored
33
vendor/nesbot/carbon/src/Carbon/Lang/fr.php
vendored
@@ -10,31 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count an|:count ans',
|
||||
'y' => ':count an|:count ans',
|
||||
'year' => '1 an|:count ans',
|
||||
'y' => '1 an|:count ans',
|
||||
'month' => ':count mois',
|
||||
'm' => ':count mois',
|
||||
'week' => ':count semaine|:count semaines',
|
||||
'w' => ':count sem.',
|
||||
'day' => ':count jour|:count jours',
|
||||
'd' => ':count j.',
|
||||
'hour' => ':count heure|:count heures',
|
||||
'h' => ':count h.',
|
||||
'minute' => ':count minute|:count minutes',
|
||||
'min' => ':count min.',
|
||||
'second' => ':count seconde|:count secondes',
|
||||
's' => ':count sec.',
|
||||
'week' => '1 semaine|:count semaines',
|
||||
'w' => '1 sem.|:count sem.',
|
||||
'day' => '1 jour|:count jours',
|
||||
'd' => '1 j.|:count j.',
|
||||
'hour' => '1 heure|:count heures',
|
||||
'h' => '1 h|:count h.',
|
||||
'minute' => '1 minute|:count minutes',
|
||||
'min' => '1 min.|:count min.',
|
||||
'second' => '1 seconde|:count secondes',
|
||||
's' => '1 sec.|:count sec.',
|
||||
'ago' => 'il y a :time',
|
||||
'from_now' => 'dans :time',
|
||||
'after' => ':time après',
|
||||
'before' => ':time avant',
|
||||
'diff_now' => "à l'instant",
|
||||
'diff_yesterday' => 'hier',
|
||||
'diff_tomorrow' => 'demain',
|
||||
'diff_before_yesterday' => 'avant-hier',
|
||||
'diff_after_tomorrow' => 'après-demain',
|
||||
'period_recurrences' => ':count fois',
|
||||
'period_interval' => 'tous les :interval',
|
||||
'period_start_date' => 'de :date',
|
||||
'period_end_date' => 'à :date',
|
||||
);
|
||||
|
14
vendor/nesbot/carbon/src/Carbon/Lang/gl.php
vendored
14
vendor/nesbot/carbon/src/Carbon/Lang/gl.php
vendored
@@ -10,13 +10,13 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count ano|:count anos',
|
||||
'month' => ':count mes|:count meses',
|
||||
'week' => ':count semana|:count semanas',
|
||||
'day' => ':count día|:count días',
|
||||
'hour' => ':count hora|:count horas',
|
||||
'minute' => ':count minuto|:count minutos',
|
||||
'second' => ':count segundo|:count segundos',
|
||||
'year' => '1 ano|:count anos',
|
||||
'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' => 'fai :time',
|
||||
'from_now' => 'dentro de :time',
|
||||
'after' => ':time despois',
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/gu.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/gu.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count વર્ષ|:count વર્ષો',
|
||||
'y' => ':countવર્ષ|:countવર્ષો',
|
||||
'month' => ':count મહિનો|:count મહિના',
|
||||
'm' => ':countમહિનો|:countમહિના',
|
||||
'week' => ':count અઠવાડિયું|:count અઠવાડિયા',
|
||||
'w' => ':countઅઠ.|:countઅઠ.',
|
||||
'day' => ':count દિવસ|:count દિવસો',
|
||||
'd' => ':countદિ.|:countદિ.',
|
||||
'hour' => ':count કલાક|:count કલાકો',
|
||||
'h' => ':countક.|:countક.',
|
||||
'minute' => ':count મિનિટ|:count મિનિટ',
|
||||
'min' => ':countમિ.|:countમિ.',
|
||||
'second' => ':count સેકેન્ડ|:count સેકેન્ડ',
|
||||
's' => ':countસે.|:countસે.',
|
||||
'year' => '1 વર્ષ|:count વર્ષો',
|
||||
'y' => '1વર્ષ|:countવર્ષો',
|
||||
'month' => '1 મહિનો|:count મહિના',
|
||||
'm' => '1મહિનો|:countમહિના',
|
||||
'week' => '1 અઠવાડિયું|:count અઠવાડિયા',
|
||||
'w' => '1અઠ.|:countઅઠ.',
|
||||
'day' => '1 દિવસ|:count દિવસો',
|
||||
'd' => '1દિ.|:countદિ.',
|
||||
'hour' => '1 કલાક|:count કલાકો',
|
||||
'h' => '1ક.|:countક.',
|
||||
'minute' => '1 મિનિટ|:count મિનિટ',
|
||||
'min' => '1મિ.|:countમિ.',
|
||||
'second' => '1 સેકેન્ડ|:count સેકેન્ડ',
|
||||
's' => '1સે.|:countસે.',
|
||||
'ago' => ':time પહેલા',
|
||||
'from_now' => ':time અત્યારથી',
|
||||
'after' => ':time પછી',
|
||||
|
31
vendor/nesbot/carbon/src/Carbon/Lang/hi.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/hi.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.
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => '1 वर्ष|:count वर्षों',
|
||||
'y' => '1 वर्ष|:count वर्षों',
|
||||
'month' => '1 माह|:count महीने',
|
||||
'm' => '1 माह|:count महीने',
|
||||
'week' => '1 सप्ताह|:count सप्ताह',
|
||||
'w' => '1 सप्ताह|:count सप्ताह',
|
||||
'day' => '1 दिन|:count दिनों',
|
||||
'd' => '1 दिन|:count दिनों',
|
||||
'hour' => '1 घंटा|:count घंटे',
|
||||
'h' => '1 घंटा|:count घंटे',
|
||||
'minute' => '1 मिनट|:count मिनटों',
|
||||
'min' => '1 मिनट|:count मिनटों',
|
||||
'second' => '1 सेकंड|:count सेकंड',
|
||||
's' => '1 सेकंड|:count सेकंड',
|
||||
'ago' => ':time पूर्व',
|
||||
'from_now' => ':time से',
|
||||
'after' => ':time के बाद',
|
||||
'before' => ':time के पहले',
|
||||
);
|
31
vendor/nesbot/carbon/src/Carbon/Lang/is.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/is.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.
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => '1 ár|:count ár',
|
||||
'y' => '1 ár|:count ár',
|
||||
'month' => '1 mánuður|:count mánuðir',
|
||||
'm' => '1 mánuður|:count mánuðir',
|
||||
'week' => '1 vika|:count vikur',
|
||||
'w' => '1 vika|:count vikur',
|
||||
'day' => '1 dagur|:count dagar',
|
||||
'd' => '1 dagur|:count dagar',
|
||||
'hour' => '1 klukkutími|:count klukkutímar',
|
||||
'h' => '1 klukkutími|:count klukkutímar',
|
||||
'minute' => '1 mínúta|:count mínútur',
|
||||
'min' => '1 mínúta|:count mínútur',
|
||||
'second' => '1 sekúnda|:count sekúndur',
|
||||
's' => '1 sekúnda|:count sekúndur',
|
||||
'ago' => ':time síðan',
|
||||
'from_now' => ':time síðan',
|
||||
'after' => ':time eftir',
|
||||
'before' => ':time fyrir',
|
||||
);
|
35
vendor/nesbot/carbon/src/Carbon/Lang/it.php
vendored
35
vendor/nesbot/carbon/src/Carbon/Lang/it.php
vendored
@@ -10,27 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count anno|:count anni',
|
||||
'y' => ':count anno|:count anni',
|
||||
'month' => ':count mese|:count mesi',
|
||||
'm' => ':count mese|:count mesi',
|
||||
'week' => ':count settimana|:count settimane',
|
||||
'w' => ':count settimana|:count settimane',
|
||||
'day' => ':count giorno|:count giorni',
|
||||
'd' => ':count giorno|:count giorni',
|
||||
'hour' => ':count ora|:count ore',
|
||||
'h' => ':count ora|:count ore',
|
||||
'minute' => ':count minuto|:count minuti',
|
||||
'min' => ':count minuto|:count minuti',
|
||||
'second' => ':count secondo|:count secondi',
|
||||
's' => ':count secondo|:count secondi',
|
||||
'year' => '1 anno|:count anni',
|
||||
'y' => '1 anno|:count anni',
|
||||
'month' => '1 mese|:count mesi',
|
||||
'm' => '1 mese|:count mesi',
|
||||
'week' => '1 settimana|:count settimane',
|
||||
'w' => '1 settimana|:count settimane',
|
||||
'day' => '1 giorno|:count giorni',
|
||||
'd' => '1 giorno|:count giorni',
|
||||
'hour' => '1 ora|:count ore',
|
||||
'h' => '1 ora|:count ore',
|
||||
'minute' => '1 minuto|:count minuti',
|
||||
'min' => '1 minuto|:count minuti',
|
||||
'second' => '1 secondo|:count secondi',
|
||||
's' => '1 secondo|:count secondi',
|
||||
'ago' => ':time fa',
|
||||
'from_now' => 'tra :time',
|
||||
'from_now' => ':time da adesso',
|
||||
'after' => ':time dopo',
|
||||
'before' => ':time prima',
|
||||
'diff_now' => 'proprio ora',
|
||||
'diff_yesterday' => 'ieri',
|
||||
'diff_tomorrow' => 'domani',
|
||||
'diff_before_yesterday' => "l'altro ieri",
|
||||
'diff_after_tomorrow' => 'dopodomani',
|
||||
);
|
||||
|
4
vendor/nesbot/carbon/src/Carbon/Lang/ko.php
vendored
4
vendor/nesbot/carbon/src/Carbon/Lang/ko.php
vendored
@@ -26,6 +26,6 @@ return array(
|
||||
's' => ':count 초',
|
||||
'ago' => ':time 전',
|
||||
'from_now' => ':time 후',
|
||||
'after' => ':time 이후',
|
||||
'before' => ':time 이전',
|
||||
'after' => ':time 뒤',
|
||||
'before' => ':time 앞',
|
||||
);
|
||||
|
14
vendor/nesbot/carbon/src/Carbon/Lang/mk.php
vendored
14
vendor/nesbot/carbon/src/Carbon/Lang/mk.php
vendored
@@ -10,13 +10,13 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count година|:count години',
|
||||
'month' => ':count месец|:count месеци',
|
||||
'week' => ':count седмица|:count седмици',
|
||||
'day' => ':count ден|:count дена',
|
||||
'hour' => ':count час|:count часа',
|
||||
'minute' => ':count минута|:count минути',
|
||||
'second' => ':count секунда|:count секунди',
|
||||
'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',
|
||||
|
37
vendor/nesbot/carbon/src/Carbon/Lang/my.php
vendored
37
vendor/nesbot/carbon/src/Carbon/Lang/my.php
vendored
@@ -1,37 +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' => ':count နှစ်|:count နှစ်',
|
||||
'y' => ':count နှစ်|:count နှစ်',
|
||||
'month' => ':count လ|:count လ',
|
||||
'm' => ':count လ|:count လ',
|
||||
'week' => ':count ပတ်|:count ပတ်',
|
||||
'w' => ':count ပတ်|:count ပတ်',
|
||||
'day' => ':count ရက်|:count ရက်',
|
||||
'd' => ':count ရက်|:count ရက်',
|
||||
'hour' => ':count နာရီ|:count နာရီ',
|
||||
'h' => ':count နာရီ|:count နာရီ',
|
||||
'minute' => ':count မိနစ်|:count မိနစ်',
|
||||
'min' => ':count မိနစ်|:count မိနစ်',
|
||||
'second' => ':count စက္ကန့်|:count စက္ကန့်',
|
||||
's' => ':count စက္ကန့်|:count စက္ကန့်',
|
||||
'ago' => 'လွန်ခဲ့သော :time က',
|
||||
'from_now' => 'ယခုမှစ၍နောက် :time အကြာ',
|
||||
'after' => ':time ကြာပြီးနောက်',
|
||||
'before' => ':time မတိုင်ခင်',
|
||||
'diff_now' => 'အခုလေးတင်',
|
||||
'diff_yesterday' => 'မနေ့က',
|
||||
'diff_tomorrow' => 'မနက်ဖြန်',
|
||||
'diff_before_yesterday' => 'တမြန်နေ့က',
|
||||
'diff_after_tomorrow' => 'တဘက်ခါ',
|
||||
'period_recurrences' => ':count ကြိမ်',
|
||||
);
|
31
vendor/nesbot/carbon/src/Carbon/Lang/ne.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/ne.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.
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count वर्ष',
|
||||
'y' => ':count वर्ष',
|
||||
'month' => ':count महिना',
|
||||
'm' => ':count महिना',
|
||||
'week' => ':count हप्ता',
|
||||
'w' => ':count हप्ता',
|
||||
'day' => ':count दिन',
|
||||
'd' => ':count दिन',
|
||||
'hour' => ':count घण्टा',
|
||||
'h' => ':count घण्टा',
|
||||
'minute' => ':count मिनेट',
|
||||
'min' => ':count मिनेट',
|
||||
'second' => ':count सेकेण्ड',
|
||||
's' => ':count सेकेण्ड',
|
||||
'ago' => ':time पहिले',
|
||||
'from_now' => ':time देखि',
|
||||
'after' => ':time पछि',
|
||||
'before' => ':time अघि',
|
||||
);
|
25
vendor/nesbot/carbon/src/Carbon/Lang/nl.php
vendored
25
vendor/nesbot/carbon/src/Carbon/Lang/nl.php
vendored
@@ -12,25 +12,20 @@
|
||||
return array(
|
||||
'year' => ':count jaar',
|
||||
'y' => ':count jaar',
|
||||
'month' => ':count maand|:count maanden',
|
||||
'm' => ':count maand|:count maanden',
|
||||
'week' => ':count week|:count weken',
|
||||
'w' => ':count week|:count weken',
|
||||
'day' => ':count dag|:count dagen',
|
||||
'd' => ':count dag|:count dagen',
|
||||
'month' => '1 maand|:count maanden',
|
||||
'm' => '1 maand|:count maanden',
|
||||
'week' => '1 week|:count weken',
|
||||
'w' => '1 week|:count weken',
|
||||
'day' => '1 dag|:count dagen',
|
||||
'd' => '1 dag|:count dagen',
|
||||
'hour' => ':count uur',
|
||||
'h' => ':count uur',
|
||||
'minute' => ':count minuut|:count minuten',
|
||||
'min' => ':count minuut|:count minuten',
|
||||
'second' => ':count seconde|:count seconden',
|
||||
's' => ':count seconde|:count seconden',
|
||||
'minute' => '1 minuut|:count minuten',
|
||||
'min' => '1 minuut|:count minuten',
|
||||
'second' => '1 seconde|:count seconden',
|
||||
's' => '1 seconde|:count seconden',
|
||||
'ago' => ':time geleden',
|
||||
'from_now' => 'over :time',
|
||||
'after' => ':time later',
|
||||
'before' => ':time eerder',
|
||||
'diff_now' => 'nu',
|
||||
'diff_yesterday' => 'gisteren',
|
||||
'diff_tomorrow' => 'morgen',
|
||||
'diff_after_tomorrow' => 'overmorgen',
|
||||
'diff_before_yesterday' => 'eergisteren',
|
||||
);
|
||||
|
33
vendor/nesbot/carbon/src/Carbon/Lang/no.php
vendored
33
vendor/nesbot/carbon/src/Carbon/Lang/no.php
vendored
@@ -10,27 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count år|:count år',
|
||||
'y' => ':count år|:count år',
|
||||
'month' => ':count måned|:count måneder',
|
||||
'm' => ':count måned|:count måneder',
|
||||
'week' => ':count uke|:count uker',
|
||||
'w' => ':count uke|:count uker',
|
||||
'day' => ':count dag|:count dager',
|
||||
'd' => ':count dag|:count dager',
|
||||
'hour' => ':count time|:count timer',
|
||||
'h' => ':count time|:count timer',
|
||||
'minute' => ':count minutt|:count minutter',
|
||||
'min' => ':count minutt|:count minutter',
|
||||
'second' => ':count sekund|:count sekunder',
|
||||
's' => ':count sekund|:count sekunder',
|
||||
'year' => '1 år|:count år',
|
||||
'y' => '1 år|:count år',
|
||||
'month' => '1 måned|:count måneder',
|
||||
'm' => '1 måned|:count måneder',
|
||||
'week' => '1 uke|:count uker',
|
||||
'w' => '1 uke|:count uker',
|
||||
'day' => '1 dag|:count dager',
|
||||
'd' => '1 dag|:count dager',
|
||||
'hour' => '1 time|:count timer',
|
||||
'h' => '1 time|:count timer',
|
||||
'minute' => '1 minutt|:count minutter',
|
||||
'min' => '1 minutt|:count minutter',
|
||||
'second' => '1 sekund|:count sekunder',
|
||||
's' => '1 sekund|:count sekunder',
|
||||
'ago' => ':time siden',
|
||||
'from_now' => 'om :time',
|
||||
'after' => ':time etter',
|
||||
'before' => ':time før',
|
||||
'diff_now' => 'akkurat nå',
|
||||
'diff_yesterday' => 'i går',
|
||||
'diff_tomorrow' => 'i morgen',
|
||||
'diff_before_yesterday' => 'i forgårs',
|
||||
'diff_after_tomorrow' => 'i overmorgen',
|
||||
);
|
||||
|
44
vendor/nesbot/carbon/src/Carbon/Lang/oc.php
vendored
44
vendor/nesbot/carbon/src/Carbon/Lang/oc.php
vendored
@@ -1,44 +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.
|
||||
*/
|
||||
|
||||
\Symfony\Component\Translation\PluralizationRules::set(function ($number) {
|
||||
return $number == 1 ? 0 : 1;
|
||||
}, 'oc');
|
||||
|
||||
return array(
|
||||
'year' => ':count an|:count ans',
|
||||
'y' => ':count an|:count ans',
|
||||
'month' => ':count mes|:count meses',
|
||||
'm' => ':count mes|:count meses',
|
||||
'week' => ':count setmana|:count setmanas',
|
||||
'w' => ':count setmana|:count setmanas',
|
||||
'day' => ':count jorn|:count jorns',
|
||||
'd' => ':count jorn|:count jorns',
|
||||
'hour' => ':count ora|:count oras',
|
||||
'h' => ':count ora|:count oras',
|
||||
'minute' => ':count minuta|:count minutas',
|
||||
'min' => ':count minuta|:count minutas',
|
||||
'second' => ':count segonda|:count segondas',
|
||||
's' => ':count segonda|:count segondas',
|
||||
'ago' => 'fa :time',
|
||||
'from_now' => 'dins :time',
|
||||
'after' => ':time aprèp',
|
||||
'before' => ':time abans',
|
||||
'diff_now' => 'ara meteis',
|
||||
'diff_yesterday' => 'ièr',
|
||||
'diff_tomorrow' => 'deman',
|
||||
'diff_before_yesterday' => 'ièr delà',
|
||||
'diff_after_tomorrow' => 'deman passat',
|
||||
'period_recurrences' => ':count còp|:count còps',
|
||||
'period_interval' => 'cada :interval',
|
||||
'period_start_date' => 'de :date',
|
||||
'period_end_date' => 'fins a :date',
|
||||
);
|
33
vendor/nesbot/carbon/src/Carbon/Lang/pl.php
vendored
33
vendor/nesbot/carbon/src/Carbon/Lang/pl.php
vendored
@@ -10,27 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count rok|:count lata|:count lat',
|
||||
'y' => ':countr|:countl',
|
||||
'month' => ':count miesiąc|:count miesiące|:count miesięcy',
|
||||
'm' => ':countmies',
|
||||
'week' => ':count tydzień|:count tygodnie|:count tygodni',
|
||||
'w' => ':counttyg',
|
||||
'day' => ':count dzień|:count dni|:count dni',
|
||||
'd' => ':countd',
|
||||
'hour' => ':count godzina|:count godziny|:count godzin',
|
||||
'h' => ':countg',
|
||||
'minute' => ':count minuta|:count minuty|:count minut',
|
||||
'min' => ':countm',
|
||||
'second' => ':count sekunda|:count sekundy|:count sekund',
|
||||
's' => ':counts',
|
||||
'year' => '1 rok|:count lata|:count lat',
|
||||
'y' => '1 rok|:count lata|:count lat',
|
||||
'month' => '1 miesiąc|:count miesiące|:count miesięcy',
|
||||
'm' => '1 miesiąc|:count miesiące|:count miesięcy',
|
||||
'week' => '1 tydzień|:count tygodnie|:count tygodni',
|
||||
'w' => '1 tydzień|:count tygodnie|:count tygodni',
|
||||
'day' => '1 dzień|:count dni|:count dni',
|
||||
'd' => '1 dzień|:count dni|:count dni',
|
||||
'hour' => '1 godzina|:count godziny|:count godzin',
|
||||
'h' => '1 godzina|:count godziny|:count godzin',
|
||||
'minute' => '1 minuta|:count minuty|:count minut',
|
||||
'min' => '1 minuta|:count minuty|:count minut',
|
||||
'second' => '1 sekunda|:count sekundy|:count sekund',
|
||||
's' => '1 sekunda|:count sekundy|:count sekund',
|
||||
'ago' => ':time temu',
|
||||
'from_now' => ':time od teraz',
|
||||
'after' => ':time po',
|
||||
'before' => ':time przed',
|
||||
'diff_now' => 'przed chwilą',
|
||||
'diff_yesterday' => 'wczoraj',
|
||||
'diff_tomorrow' => 'jutro',
|
||||
'diff_before_yesterday' => 'przedwczoraj',
|
||||
'diff_after_tomorrow' => 'pojutrze',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/ps.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/ps.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count کال|:count کاله',
|
||||
'y' => ':countکال|:countکاله',
|
||||
'month' => ':count مياشت|:count مياشتي',
|
||||
'm' => ':countمياشت|:countمياشتي',
|
||||
'week' => ':count اونۍ|:count اونۍ',
|
||||
'w' => ':countاونۍ|:countاونۍ',
|
||||
'day' => ':count ورځ|:count ورځي',
|
||||
'd' => ':countورځ|:countورځي',
|
||||
'hour' => ':count ساعت|:count ساعته',
|
||||
'h' => ':countساعت|:countساعته',
|
||||
'minute' => ':count دقيقه|:count دقيقې',
|
||||
'min' => ':countدقيقه|:countدقيقې',
|
||||
'second' => ':count ثانيه|:count ثانيې',
|
||||
's' => ':countثانيه|:countثانيې',
|
||||
'year' => '1 کال|:count کاله',
|
||||
'y' => '1کال|:countکاله',
|
||||
'month' => '1 مياشت|:count مياشتي',
|
||||
'm' => '1مياشت|:countمياشتي',
|
||||
'week' => '1 اونۍ|:count اونۍ',
|
||||
'w' => '1اونۍ|:countاونۍ',
|
||||
'day' => '1 ورځ|:count ورځي',
|
||||
'd' => '1ورځ|:countورځي',
|
||||
'hour' => '1 ساعت|:count ساعته',
|
||||
'h' => '1ساعت|:countساعته',
|
||||
'minute' => '1 دقيقه|:count دقيقې',
|
||||
'min' => '1دقيقه|:countدقيقې',
|
||||
'second' => '1 ثانيه|:count ثانيې',
|
||||
's' => '1ثانيه|:countثانيې',
|
||||
'ago' => ':time دمخه',
|
||||
'from_now' => ':time له اوس څخه',
|
||||
'after' => ':time وروسته',
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/pt.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/pt.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count ano|:count anos',
|
||||
'y' => ':count ano|:count anos',
|
||||
'month' => ':count mês|:count meses',
|
||||
'm' => ':count mês|:count meses',
|
||||
'week' => ':count semana|:count semanas',
|
||||
'w' => ':count semana|:count semanas',
|
||||
'day' => ':count dia|:count dias',
|
||||
'd' => ':count dia|:count dias',
|
||||
'hour' => ':count hora|:count horas',
|
||||
'h' => ':count hora|:count horas',
|
||||
'minute' => ':count minuto|:count minutos',
|
||||
'min' => ':count minuto|:count minutos',
|
||||
'second' => ':count segundo|:count segundos',
|
||||
's' => ':count segundo|:count segundos',
|
||||
'year' => '1 ano|:count anos',
|
||||
'y' => '1 ano|:count anos',
|
||||
'month' => '1 mês|:count meses',
|
||||
'm' => '1 mês|:count meses',
|
||||
'week' => '1 semana|:count semanas',
|
||||
'w' => '1 semana|:count semanas',
|
||||
'day' => '1 dia|:count dias',
|
||||
'd' => '1 dia|:count dias',
|
||||
'hour' => '1 hora|:count horas',
|
||||
'h' => '1 hora|:count horas',
|
||||
'minute' => '1 minuto|:count minutos',
|
||||
'min' => '1 minuto|:count minutos',
|
||||
'second' => '1 segundo|:count segundos',
|
||||
's' => '1 segundo|:count segundos',
|
||||
'ago' => ':time atrás',
|
||||
'from_now' => 'em :time',
|
||||
'after' => ':time depois',
|
||||
|
37
vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
vendored
37
vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php
vendored
@@ -10,31 +10,22 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count ano|:count anos',
|
||||
'y' => ':counta|:counta',
|
||||
'month' => ':count mês|:count meses',
|
||||
'm' => ':countm|:countm',
|
||||
'week' => ':count semana|:count semanas',
|
||||
'w' => ':countsem|:countsem',
|
||||
'day' => ':count dia|:count dias',
|
||||
'd' => ':countd|:countd',
|
||||
'hour' => ':count hora|:count horas',
|
||||
'h' => ':counth|:counth',
|
||||
'minute' => ':count minuto|:count minutos',
|
||||
'min' => ':countmin|:countmin',
|
||||
'second' => ':count segundo|:count segundos',
|
||||
's' => ':counts|:counts',
|
||||
'year' => '1 ano|:count anos',
|
||||
'y' => '1 ano|:count anos',
|
||||
'month' => '1 mês|:count meses',
|
||||
'm' => '1 mês|:count meses',
|
||||
'week' => '1 semana|:count semanas',
|
||||
'w' => '1 semana|:count semanas',
|
||||
'day' => '1 dia|:count dias',
|
||||
'd' => '1 dia|:count dias',
|
||||
'hour' => '1 hora|:count horas',
|
||||
'h' => '1 hora|:count horas',
|
||||
'minute' => '1 minuto|:count minutos',
|
||||
'min' => '1 minuto|:count minutos',
|
||||
'second' => '1 segundo|:count segundos',
|
||||
's' => '1 segundo|:count segundos',
|
||||
'ago' => 'há :time',
|
||||
'from_now' => 'em :time',
|
||||
'after' => 'após :time',
|
||||
'before' => ':time atrás',
|
||||
'diff_now' => 'agora',
|
||||
'diff_yesterday' => 'ontem',
|
||||
'diff_tomorrow' => 'amanhã',
|
||||
'diff_before_yesterday' => 'anteontem',
|
||||
'diff_after_tomorrow' => 'depois de amanhã',
|
||||
'period_recurrences' => 'uma|:count vez',
|
||||
'period_interval' => 'toda :interval',
|
||||
'period_start_date' => 'de :date',
|
||||
'period_end_date' => 'até :date',
|
||||
);
|
||||
|
31
vendor/nesbot/carbon/src/Carbon/Lang/sh.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/sh.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.
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count godina|:count godine|:count godina',
|
||||
'y' => ':count godina|:count godine|:count godina',
|
||||
'month' => ':count mesec|:count meseca|:count meseci',
|
||||
'm' => ':count mesec|:count meseca|:count meseci',
|
||||
'week' => ':count nedelja|:count nedelje|:count nedelja',
|
||||
'w' => ':count nedelja|:count nedelje|:count nedelja',
|
||||
'day' => ':count dan|:count dana|:count dana',
|
||||
'd' => ':count dan|:count dana|:count dana',
|
||||
'hour' => ':count čas|:count časa|:count časova',
|
||||
'h' => ':count čas|:count časa|:count časova',
|
||||
'minute' => ':count minut|:count minuta|:count minuta',
|
||||
'min' => ':count minut|:count minuta|:count minuta',
|
||||
'second' => ':count sekund|:count sekunda|:count sekundi',
|
||||
's' => ':count sekund|:count sekunda|:count sekundi',
|
||||
'ago' => 'pre :time',
|
||||
'from_now' => 'za :time',
|
||||
'after' => 'nakon :time',
|
||||
'before' => ':time raniјe',
|
||||
);
|
5
vendor/nesbot/carbon/src/Carbon/Lang/sl.php
vendored
5
vendor/nesbot/carbon/src/Carbon/Lang/sl.php
vendored
@@ -35,9 +35,4 @@ return array(
|
||||
'from_now' => 'čez :time',
|
||||
'after' => 'čez :time',
|
||||
'before' => 'pred :time',
|
||||
'diff_now' => 'ravnokar',
|
||||
'diff_yesterday' => 'včeraj',
|
||||
'diff_tomorrow' => 'jutri',
|
||||
'diff_before_yesterday' => 'predvčerajšnjim',
|
||||
'diff_after_tomorrow' => 'pojutrišnjem',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/sq.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/sq.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count vit|:count vjet',
|
||||
'y' => ':count vit|:count vjet',
|
||||
'month' => ':count muaj|:count muaj',
|
||||
'm' => ':count muaj|:count muaj',
|
||||
'week' => ':count javë|:count javë',
|
||||
'w' => ':count javë|:count javë',
|
||||
'day' => ':count ditë|:count ditë',
|
||||
'd' => ':count ditë|:count ditë',
|
||||
'hour' => ':count orë|:count orë',
|
||||
'h' => ':count orë|:count orë',
|
||||
'minute' => ':count minutë|:count minuta',
|
||||
'min' => ':count minutë|:count minuta',
|
||||
'second' => ':count sekondë|:count sekonda',
|
||||
's' => ':count sekondë|:count sekonda',
|
||||
'year' => '1 vit|:count vjet',
|
||||
'y' => '1 vit|:count vjet',
|
||||
'month' => '1 muaj|:count muaj',
|
||||
'm' => '1 muaj|:count muaj',
|
||||
'week' => '1 javë|:count javë',
|
||||
'w' => '1 javë|:count javë',
|
||||
'day' => '1 ditë|:count ditë',
|
||||
'd' => '1 ditë|:count ditë',
|
||||
'hour' => '1 orë|:count orë',
|
||||
'h' => '1 orë|:count orë',
|
||||
'minute' => '1 minutë|:count minuta',
|
||||
'min' => '1 minutë|:count minuta',
|
||||
'second' => '1 sekondë|:count sekonda',
|
||||
's' => '1 sekondë|:count sekonda',
|
||||
'ago' => ':time më parë',
|
||||
'from_now' => ':time nga tani',
|
||||
'after' => ':time pas',
|
||||
|
@@ -35,9 +35,4 @@ return array(
|
||||
'week_from_now' => '{1} :count недељу|{2,3,4} :count недеље|[5,Inf[ :count недеља',
|
||||
'week_ago' => '{1} :count недељу|{2,3,4} :count недеље|[5,Inf[ :count недеља',
|
||||
|
||||
'diff_now' => 'управо сада',
|
||||
'diff_yesterday' => 'јуче',
|
||||
'diff_tomorrow' => 'сутра',
|
||||
'diff_before_yesterday' => 'прекјуче',
|
||||
'diff_after_tomorrow' => 'прекосутра',
|
||||
);
|
||||
|
@@ -35,9 +35,4 @@ return array(
|
||||
'week_from_now' => '{1} :count недјељу|{2,3,4} :count недјеље|[5,Inf[ :count недјеља',
|
||||
'week_ago' => '{1} :count недјељу|{2,3,4} :count недјеље|[5,Inf[ :count недјеља',
|
||||
|
||||
'diff_now' => 'управо сада',
|
||||
'diff_yesterday' => 'јуче',
|
||||
'diff_tomorrow' => 'сутра',
|
||||
'diff_before_yesterday' => 'прекјуче',
|
||||
'diff_after_tomorrow' => 'прекосјутра',
|
||||
);
|
||||
|
@@ -35,9 +35,4 @@ return array(
|
||||
'week_from_now' => '{1} :count nedjelju|{2,3,4} :count nedjelje|[5,Inf[ :count nedjelja',
|
||||
'week_ago' => '{1} :count nedjelju|{2,3,4} :count nedjelje|[5,Inf[ :count nedjelja',
|
||||
|
||||
'diff_now' => 'upravo sada',
|
||||
'diff_yesterday' => 'juče',
|
||||
'diff_tomorrow' => 'sutra',
|
||||
'diff_before_yesterday' => 'prekjuče',
|
||||
'diff_after_tomorrow' => 'preksutra',
|
||||
);
|
||||
|
28
vendor/nesbot/carbon/src/Carbon/Lang/sv.php
vendored
28
vendor/nesbot/carbon/src/Carbon/Lang/sv.php
vendored
@@ -10,20 +10,20 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => ':count år|:count år',
|
||||
'y' => ':count år|:count år',
|
||||
'month' => ':count månad|:count månader',
|
||||
'm' => ':count månad|:count månader',
|
||||
'week' => ':count vecka|:count veckor',
|
||||
'w' => ':count vecka|:count veckor',
|
||||
'day' => ':count dag|:count dagar',
|
||||
'd' => ':count dag|:count dagar',
|
||||
'hour' => ':count timme|:count timmar',
|
||||
'h' => ':count timme|:count timmar',
|
||||
'minute' => ':count minut|:count minuter',
|
||||
'min' => ':count minut|:count minuter',
|
||||
'second' => ':count sekund|:count sekunder',
|
||||
's' => ':count sekund|:count sekunder',
|
||||
'year' => '1 år|:count år',
|
||||
'y' => '1 år|:count år',
|
||||
'month' => '1 månad|:count månader',
|
||||
'm' => '1 månad|:count månader',
|
||||
'week' => '1 vecka|:count veckor',
|
||||
'w' => '1 vecka|:count veckor',
|
||||
'day' => '1 dag|:count dagar',
|
||||
'd' => '1 dag|:count dagar',
|
||||
'hour' => '1 timme|:count timmar',
|
||||
'h' => '1 timme|:count timmar',
|
||||
'minute' => '1 minut|:count minuter',
|
||||
'min' => '1 minut|:count minuter',
|
||||
'second' => '1 sekund|:count sekunder',
|
||||
's' => '1 sekund|:count sekunder',
|
||||
'ago' => ':time sedan',
|
||||
'from_now' => 'om :time',
|
||||
'after' => ':time efter',
|
||||
|
31
vendor/nesbot/carbon/src/Carbon/Lang/sw.php
vendored
31
vendor/nesbot/carbon/src/Carbon/Lang/sw.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.
|
||||
*/
|
||||
|
||||
return array(
|
||||
'year' => 'mwaka 1|miaka :count',
|
||||
'y' => 'mwaka 1|miaka :count',
|
||||
'month' => 'mwezi 1|miezi :count',
|
||||
'm' => 'mwezi 1|miezi :count',
|
||||
'week' => 'wiki 1|wiki :count',
|
||||
'w' => 'wiki 1|wiki :count',
|
||||
'day' => 'siku 1|siku :count',
|
||||
'd' => 'siku 1|siku :count',
|
||||
'hour' => 'saa 1|masaa :count',
|
||||
'h' => 'saa 1|masaa :count',
|
||||
'minute' => 'dakika 1|dakika :count',
|
||||
'min' => 'dakika 1|dakika :count',
|
||||
'second' => 'sekunde 1|sekunde :count',
|
||||
's' => 'sekunde 1|sekunde :count',
|
||||
'ago' => ':time ziliyopita',
|
||||
'from_now' => ':time kwanzia sasa',
|
||||
'after' => ':time baada',
|
||||
'before' => ':time kabla',
|
||||
);
|
9
vendor/nesbot/carbon/src/Carbon/Lang/uk.php
vendored
9
vendor/nesbot/carbon/src/Carbon/Lang/uk.php
vendored
@@ -28,13 +28,4 @@ return array(
|
||||
'from_now' => 'через :time',
|
||||
'after' => ':time після',
|
||||
'before' => ':time до',
|
||||
'diff_now' => 'щойно',
|
||||
'diff_yesterday' => 'вчора',
|
||||
'diff_tomorrow' => 'завтра',
|
||||
'diff_before_yesterday' => 'позавчора',
|
||||
'diff_after_tomorrow' => 'післязавтра',
|
||||
'period_recurrences' => 'один раз|:count рази|:count разів',
|
||||
'period_interval' => 'кожні :interval',
|
||||
'period_start_date' => 'з :date',
|
||||
'period_end_date' => 'до :date',
|
||||
);
|
||||
|
@@ -1,37 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Carbon\Laravel;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Events\Dispatcher;
|
||||
use Illuminate\Events\EventDispatcher;
|
||||
use Illuminate\Translation\Translator as IlluminateTranslator;
|
||||
use Symfony\Component\Translation\Translator;
|
||||
|
||||
class ServiceProvider extends \Illuminate\Support\ServiceProvider
|
||||
{
|
||||
public function boot()
|
||||
{
|
||||
$service = $this;
|
||||
$events = $this->app['events'];
|
||||
if ($events instanceof EventDispatcher || $events instanceof Dispatcher) {
|
||||
$events->listen(class_exists('Illuminate\Foundation\Events\LocaleUpdated') ? 'Illuminate\Foundation\Events\LocaleUpdated' : 'locale.changed', function () use ($service) {
|
||||
$service->updateLocale();
|
||||
});
|
||||
$service->updateLocale();
|
||||
}
|
||||
}
|
||||
|
||||
public function updateLocale()
|
||||
{
|
||||
$translator = $this->app['translator'];
|
||||
if ($translator instanceof Translator || $translator instanceof IlluminateTranslator) {
|
||||
Carbon::setLocale($translator->getLocale());
|
||||
}
|
||||
}
|
||||
|
||||
public function register()
|
||||
{
|
||||
// Needed for Laravel < 5.3 compatibility
|
||||
}
|
||||
}
|
16
vendor/nesbot/carbon/src/JsonSerializable.php
vendored
16
vendor/nesbot/carbon/src/JsonSerializable.php
vendored
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
interface JsonSerializable
|
||||
{
|
||||
/**
|
||||
* Specify data which should be serialized to JSON.
|
||||
*
|
||||
* @link http://php.net/manual/en/jsonserializable.jsonserialize.php
|
||||
*
|
||||
* @return mixed data which can be serialized by <b>json_encode</b>,
|
||||
* which is a value of any type other than a resource.
|
||||
*
|
||||
* @since 5.4.0
|
||||
*/
|
||||
public function jsonSerialize();
|
||||
}
|
Reference in New Issue
Block a user