Added Laravel project

This commit is contained in:
2017-09-17 00:35:10 +02:00
parent a3c19304d5
commit ecf605b8f5
6246 changed files with 682270 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,557 @@
<?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\Loader\ArrayLoader;
use Symfony\Component\Translation\Translator;
use Symfony\Component\Translation\TranslatorInterface;
/**
* A simple API extension for DateInterval.
* The implementation 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 int $dayzExcludeWeeks Total days remaining in the final week of the current instance (days % 7).
* @property-read int $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 \Symfony\Component\Translation\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 //////////////////////////////
///////////////////////////////////////////////////////////////////
/**
* Initialize the translator instance if necessary.
*
* @return \Symfony\Component\Translation\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 \Symfony\Component\Translation\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 += $interval->days * $sign;
} else {
$this->years += $interval->y * $sign;
$this->months += $interval->m * $sign;
$this->dayz += $interval->d * $sign;
$this->hours += $interval->h * $sign;
$this->minutes += $interval->i * $sign;
$this->seconds += $interval->s * $sign;
}
return $this;
}
/**
* Get the interval_spec string
*
* @return string
*/
public function spec()
{
$date = array_filter(array(
static::PERIOD_YEARS => $this->y,
static::PERIOD_MONTHS => $this->m,
static::PERIOD_DAYS => $this->d,
));
$time = array_filter(array(
static::PERIOD_HOURS => $this->h,
static::PERIOD_MINUTES => $this->i,
static::PERIOD_SECONDS => $this->s,
));
$specString = static::PERIOD_PREFIX;
foreach ($date as $key => $value) {
$specString .= $value.$key;
}
if (count($time) > 0) {
$specString .= static::PERIOD_TIME_PREFIX;
foreach ($time as $key => $value) {
$specString .= $value.$key;
}
}
return $specString === static::PERIOD_PREFIX ? 'PT0S' : $specString;
}
}

View File

@@ -0,0 +1,67 @@
<?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\Exceptions;
use Exception;
use InvalidArgumentException;
class InvalidDateException extends InvalidArgumentException
{
/**
* The invalid field.
*
* @var string
*/
private $field;
/**
* The invalid value.
*
* @var mixed
*/
private $value;
/**
* Constructor.
*
* @param string $field
* @param mixed $value
* @param int $code
* @param \Exception|null $previous
*/
public function __construct($field, $value, $code = 0, Exception $previous = null)
{
$this->field = $field;
$this->value = $value;
parent::__construct($field.' : '.$value.' is not a valid value.', $code, $previous);
}
/**
* Get the invalid field.
*
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* Get the invalid value.
*
* @return mixed
*/
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,31 @@
<?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 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',
'before' => ':time voor',
);

View File

@@ -0,0 +1,31 @@
<?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' => '{0}سنة|{1}سنة|{2}سنتين|[3,10]:count سنوات|[11,Inf]:count سنة',
'y' => '{0}سنة|{1}سنة|{2}سنتين|[3,10]:count سنوات|[11,Inf]:count سنة',
'month' => '{0}شهر|{1} شهر|{2}شهرين|[3,10]:count أشهر|[11,Inf]:count شهر',
'm' => '{0}شهر|{1} شهر|{2}شهرين|[3,10]:count أشهر|[11,Inf]:count شهر',
'week' => '{0}إسبوع|{1}إسبوع|{2}إسبوعين|[3,10]:count أسابيع|[11,Inf]:count إسبوع',
'w' => '{0}إسبوع|{1}إسبوع|{2}إسبوعين|[3,10]:count أسابيع|[11,Inf]:count إسبوع',
'day' => '{0}يوم|{1}يوم|{2}يومين|[3,10]:count أيام|[11,Inf] يوم',
'd' => '{0}يوم|{1}يوم|{2}يومين|[3,10]:count أيام|[11,Inf] يوم',
'hour' => '{0}ساعة|{1}ساعة|{2}ساعتين|[3,10]:count ساعات|[11,Inf]:count ساعة',
'h' => '{0}ساعة|{1}ساعة|{2}ساعتين|[3,10]:count ساعات|[11,Inf]:count ساعة',
'minute' => '{0}دقيقة|{1}دقيقة|{2}دقيقتين|[3,10]:count دقائق|[11,Inf]:count دقيقة',
'min' => '{0}دقيقة|{1}دقيقة|{2}دقيقتين|[3,10]:count دقائق|[11,Inf]:count دقيقة',
'second' => '{0}ثانية|{1}ثانية|{2}ثانيتين|[3,10]:count ثوان|[11,Inf]:count ثانية',
's' => '{0}ثانية|{1}ثانية|{2}ثانيتين|[3,10]:count ثوان|[11,Inf]:count ثانية',
'ago' => 'منذ :time',
'from_now' => 'من الآن :time',
'after' => 'بعد :time',
'before' => 'قبل :time',
);

View File

@@ -0,0 +1,31 @@
<?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 il',
'y' => ':count il',
'month' => ':count ay',
'm' => ':count ay',
'week' => ':count həftə',
'w' => ':count həftə',
'day' => ':count gün',
'd' => ':count gün',
'hour' => ':count saat',
'h' => ':count saat',
'minute' => ':count dəqiqə',
'min' => ':count dəqiqə',
'second' => ':count saniyə',
's' => ':count saniyə',
'ago' => ':time öncə',
'from_now' => ':time sonra',
'after' => ':time sonra',
'before' => ':time öncə',
);

View File

@@ -0,0 +1,31 @@
<?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 минути',
'm' => '1 минута|:count минути',
'second' => '1 секунда|:count секунди',
's' => '1 секунда|:count секунди',
'ago' => 'преди :time',
'from_now' => ':time от сега',
'after' => 'след :time',
'before' => 'преди :time',
);

View File

@@ -0,0 +1,31 @@
<?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 আগে',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
'before' => ':time předtím',
);

View File

@@ -0,0 +1,31 @@
<?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å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',
'before' => ':time før',
);

View File

@@ -0,0 +1,40 @@
<?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 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' => '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',
);

View File

@@ -0,0 +1,31 @@
<?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 πρίν',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
'before' => ':time antaŭe',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
);

View File

@@ -0,0 +1,38 @@
<?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',
'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',
'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',
);

View File

@@ -0,0 +1,31 @@
<?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' => 'Urte 1|:count urte',
'y' => 'Urte 1|:count urte',
'month' => 'Hile 1|:count hile',
'm' => 'Hile 1|:count hile',
'week' => 'Aste 1|:count aste',
'w' => 'Aste 1|:count aste',
'day' => 'Egun 1|:count egun',
'd' => 'Egun 1|:count egun',
'hour' => 'Ordu 1|:count ordu',
'h' => 'Ordu 1|:count ordu',
'minute' => 'Minutu 1|:count minutu',
'min' => 'Minutu 1|:count minutu',
'second' => 'Segundu 1|:count segundu',
's' => 'Segundu 1|:count segundu',
'ago' => 'Orain dela :time',
'from_now' => ':time barru',
'after' => ':time geroago',
'before' => ':time lehenago',
);

View File

@@ -0,0 +1,31 @@
<?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 پیش از',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
'before' => ':time ennen',
);

View File

@@ -0,0 +1,31 @@
<?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á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á',
'before' => ':time áðrenn',
);

View File

@@ -0,0 +1,31 @@
<?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 an|:count ans',
'y' => '1 an|:count ans',
'month' => ':count mois',
'm' => ':count mois',
'week' => '1 semaine|:count semaines',
'w' => '1 semaine|:count semaines',
'day' => '1 jour|:count jours',
'd' => '1 jour|:count jours',
'hour' => '1 heure|:count heures',
'h' => '1 heure|:count heures',
'minute' => '1 minute|:count minutes',
'min' => '1 minute|:count minutes',
'second' => '1 seconde|:count secondes',
's' => '1 seconde|:count secondes',
'ago' => 'il y a :time',
'from_now' => 'dans :time',
'after' => ':time après',
'before' => ':time avant',
);

View File

@@ -0,0 +1,24 @@
<?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 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',
'before' => ':time antes',
);

View File

@@ -0,0 +1,31 @@
<?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' => 'שנה|{2}שנתיים|:count שנים',
'y' => 'שנה|{2}שנתיים|:count שנים',
'month' => 'חודש|{2}חודשיים|:count חודשים',
'm' => 'חודש|{2}חודשיים|:count חודשים',
'week' => 'שבוע|{2}שבועיים|:count שבועות',
'w' => 'שבוע|{2}שבועיים|:count שבועות',
'day' => 'יום|{2}יומיים|:count ימים',
'd' => 'יום|{2}יומיים|:count ימים',
'hour' => 'שעה|{2}שעתיים|:count שעות',
'h' => 'שעה|{2}שעתיים|:count שעות',
'minute' => 'דקה|{2}דקותיים|:count דקות',
'min' => 'דקה|{2}דקותיים|:count דקות',
'second' => 'שניה|:count שניות',
's' => 'שניה|:count שניות',
'ago' => 'לפני :time',
'from_now' => 'בעוד :time',
'after' => 'אחרי :time',
'before' => 'לפני :time',
);

View File

@@ -0,0 +1,31 @@
<?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 godinu|:count godine|:count godina',
'y' => ':count godinu|:count godine|:count godina',
'month' => ':count mjesec|:count mjeseca|:count mjeseci',
'm' => ':count mjesec|:count mjeseca|:count mjeseci',
'week' => ':count tjedan|:count tjedna|:count tjedana',
'w' => ':count tjedan|:count tjedna|:count tjedana',
'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 minutu|:count minute |:count minuta',
'min' => ':count minutu|:count minute |:count minuta',
'second' => ':count sekundu|:count sekunde|:count sekundi',
's' => ':count sekundu|:count sekunde|:count sekundi',
'ago' => 'prije :time',
'from_now' => 'za :time',
'after' => 'za :time',
'before' => 'prije :time',
);

View File

@@ -0,0 +1,52 @@
<?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 év',
'y' => ':count év',
'month' => ':count hónap',
'm' => ':count hónap',
'week' => ':count hét',
'w' => ':count hét',
'day' => ':count nap',
'd' => ':count nap',
'hour' => ':count óra',
'h' => ':count óra',
'minute' => ':count perc',
'min' => ':count perc',
'second' => ':count másodperc',
's' => ':count másodperc',
'ago' => ':time',
'from_now' => ':time múlva',
'after' => ':time később',
'before' => ':time korábban',
'year_ago' => ':count éve',
'month_ago' => ':count hónapja',
'week_ago' => ':count hete',
'day_ago' => ':count napja',
'hour_ago' => ':count órája',
'minute_ago' => ':count perce',
'second_ago' => ':count másodperce',
'year_after' => ':count évvel',
'month_after' => ':count hónappal',
'week_after' => ':count héttel',
'day_after' => ':count nappal',
'hour_after' => ':count órával',
'minute_after' => ':count perccel',
'second_after' => ':count másodperccel',
'year_before' => ':count évvel',
'month_before' => ':count hónappal',
'week_before' => ':count héttel',
'day_before' => ':count nappal',
'hour_before' => ':count órával',
'minute_before' => ':count perccel',
'second_before' => ':count másodperccel',
);

View File

@@ -0,0 +1,31 @@
<?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 առաջ',
);

View File

@@ -0,0 +1,31 @@
<?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 tahun',
'y' => ':count tahun',
'month' => ':count bulan',
'm' => ':count bulan',
'week' => ':count minggu',
'w' => ':count minggu',
'day' => ':count hari',
'd' => ':count hari',
'hour' => ':count jam',
'h' => ':count jam',
'minute' => ':count menit',
'min' => ':count menit',
'second' => ':count detik',
's' => ':count detik',
'ago' => ':time yang lalu',
'from_now' => ':time dari sekarang',
'after' => ':time setelah',
'before' => ':time sebelum',
);

View File

@@ -0,0 +1,31 @@
<?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 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' => ':time da adesso',
'after' => ':time dopo',
'before' => ':time prima',
);

View File

@@ -0,0 +1,31 @@
<?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 前',
);

View File

@@ -0,0 +1,31 @@
<?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 უკან',
);

View File

@@ -0,0 +1,31 @@
<?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',
);

View File

@@ -0,0 +1,31 @@
<?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 앞',
);

View File

@@ -0,0 +1,38 @@
<?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 metus|:count metus|:count metų',
'y' => ':count metus|:count metus|:count metų',
'month' => ':count mėnesį|:count mėnesius|:count mėnesių',
'm' => ':count mėnesį|:count mėnesius|:count mėnesių',
'week' => ':count savaitę|:count savaites|:count savaičių',
'w' => ':count savaitę|:count savaites|:count savaičių',
'day' => ':count dieną|:count dienas|:count dienų',
'd' => ':count dieną|:count dienas|:count dienų',
'hour' => ':count valandą|:count valandas|:count valandų',
'h' => ':count valandą|:count valandas|:count valandų',
'minute' => ':count minutę|:count minutes|:count minučių',
'min' => ':count minutę|:count minutes|:count minučių',
'second' => ':count sekundę|:count sekundes|:count sekundžių',
's' => ':count sekundę|:count sekundes|:count sekundžių',
'second_from_now' => ':count sekundės|:count sekundžių|:count sekundžių',
'minute_from_now' => ':count minutės|:count minučių|:count minučių',
'hour_from_now' => ':count valandos|:count valandų|:count valandų',
'day_from_now' => ':count dienos|:count dienų|:count dienų',
'week_from_now' => ':count savaitės|:count savaičių|:count savaičių',
'month_from_now' => ':count mėnesio|:count mėnesių|:count mėnesių',
'year_from_now' => ':count metų',
'ago' => 'prieš :time',
'from_now' => 'už :time',
'after' => 'po :time',
'before' => ':time nuo dabar',
);

View File

@@ -0,0 +1,47 @@
<?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' => '0 gadiem|:count gada|:count gadiem',
'y' => '0 gadiem|:count gada|:count gadiem',
'month' => '0 mēnešiem|:count mēneša|:count mēnešiem',
'm' => '0 mēnešiem|:count mēneša|:count mēnešiem',
'week' => '0 nedēļām|:count nedēļas|:count nedēļām',
'w' => '0 nedēļām|:count nedēļas|:count nedēļām',
'day' => '0 dienām|:count dienas|:count dienām',
'd' => '0 dienām|:count dienas|:count dienām',
'hour' => '0 stundām|:count stundas|:count stundām',
'h' => '0 stundām|:count stundas|:count stundām',
'minute' => '0 minūtēm|:count minūtes|:count minūtēm',
'min' => '0 minūtēm|:count minūtes|:count minūtēm',
'second' => '0 sekundēm|:count sekundes|:count sekundēm',
's' => '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',
);

View File

@@ -0,0 +1,24 @@
<?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 години',
'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',
);

View File

@@ -0,0 +1,31 @@
<?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 tahun',
'y' => ':count tahun',
'month' => ':count bulan',
'm' => ':count bulan',
'week' => ':count minggu',
'w' => ':count minggu',
'day' => ':count hari',
'd' => ':count hari',
'hour' => ':count jam',
'h' => ':count jam',
'minute' => ':count minit',
'min' => ':count minit',
'second' => ':count saat',
's' => ':count saat',
'ago' => ':time yang lalu',
'from_now' => ':time dari sekarang',
'after' => ':time selepas',
'before' => ':time sebelum',
);

View File

@@ -0,0 +1,31 @@
<?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 jaar',
'y' => ':count jaar',
'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' => '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',
);

View File

@@ -0,0 +1,31 @@
<?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å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',
);

View File

@@ -0,0 +1,31 @@
<?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 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 przed',
'before' => ':time po',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
'before' => ':time antes',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
);

View File

@@ -0,0 +1,31 @@
<?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' => 'un an|:count ani|:count ani',
'y' => 'un an|:count ani|:count ani',
'month' => 'o lună|:count luni|:count luni',
'm' => 'o lună|:count luni|:count luni',
'week' => 'o săptămână|:count săptămâni|:count săptămâni',
'w' => 'o săptămână|:count săptămâni|:count săptămâni',
'day' => 'o zi|:count zile|:count zile',
'd' => 'o zi|:count zile|:count zile',
'hour' => 'o oră|:count ore|:count ore',
'h' => 'o oră|:count ore|:count ore',
'minute' => 'un minut|:count minute|:count minute',
'min' => 'un minut|:count minute|:count minute',
'second' => 'o secundă|:count secunde|:count secunde',
's' => 'o secundă|:count secunde|:count secunde',
'ago' => 'acum :time',
'from_now' => ':time de acum',
'after' => 'peste :time',
'before' => 'acum :time',
);

View File

@@ -0,0 +1,31 @@
<?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 года|:count лет',
'y' => ':count год|:count года|:count лет',
'month' => ':count месяц|:count месяца|:count месяцев',
'm' => ':count месяц|:count месяца|:count месяцев',
'week' => ':count неделю|:count недели|:count недель',
'w' => ':count неделю|:count недели|:count недель',
'day' => ':count день|:count дня|:count дней',
'd' => ':count день|:count дня|:count дней',
'hour' => ':count час|:count часа|:count часов',
'h' => ':count час|:count часа|:count часов',
'minute' => ':count минуту|:count минуты|:count минут',
'min' => ':count минуту|:count минуты|:count минут',
'second' => ':count секунду|:count секунды|:count секунд',
's' => ':count секунду|:count секунды|:count секунд',
'ago' => ':time назад',
'from_now' => 'через :time',
'after' => ':time после',
'before' => ':time до',
);

View File

@@ -0,0 +1,31 @@
<?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' => 'rok|:count roky|:count rokov',
'y' => 'rok|:count roky|:count rokov',
'month' => 'mesiac|:count mesiace|:count mesiacov',
'm' => 'mesiac|:count mesiace|:count mesiacov',
'week' => 'týždeň|:count týždne|:count týždňov',
'w' => 'týždeň|:count týždne|:count týždňov',
'day' => 'deň|:count dni|:count dní',
'd' => 'deň|:count dni|:count dní',
'hour' => 'hodinu|:count hodiny|:count hodín',
'h' => 'hodinu|:count hodiny|:count hodín',
'minute' => 'minútu|:count minúty|:count minút',
'min' => 'minútu|:count minúty|:count minút',
'second' => 'sekundu|:count sekundy|:count sekúnd',
's' => 'sekundu|:count sekundy|:count sekúnd',
'ago' => 'pred :time',
'from_now' => 'za :time',
'after' => ':time neskôr',
'before' => ':time predtým',
);

View File

@@ -0,0 +1,38 @@
<?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 leto|:count leti|:count leta|:count let',
'y' => ':count leto|:count leti|:count leta|:count let',
'month' => ':count mesec|:count meseca|:count mesece|:count mesecev',
'm' => ':count mesec|:count meseca|:count mesece|:count mesecev',
'week' => ':count teden|:count tedna|:count tedne|:count tednov',
'w' => ':count teden|:count tedna|:count tedne|:count tednov',
'day' => ':count dan|:count dni|:count dni|:count dni',
'd' => ':count dan|:count dni|:count dni|:count dni',
'hour' => ':count uro|:count uri|:count ure|:count ur',
'h' => ':count uro|:count uri|:count ure|:count ur',
'minute' => ':count minuto|:count minuti|:count minute|:count minut',
'min' => ':count minuto|:count minuti|:count minute|:count minut',
'second' => ':count sekundo|:count sekundi|:count sekunde|:count sekund',
's' => ':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',
);

View File

@@ -0,0 +1,31 @@
<?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 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',
'before' => ':time para',
);

View File

@@ -0,0 +1,31 @@
<?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 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 sekunde|:count sekunde',
's' => ':count sekund|:count sekunde|:count sekunde',
'ago' => 'pre :time',
'from_now' => ':time od sada',
'after' => 'nakon :time',
'before' => 'pre :time',
);

View File

@@ -0,0 +1,38 @@
<?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' => '{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count године|[0,Inf[ :count година',
'y' => ':count г.',
'month' => '{1} :count мјесец|{2,3,4}:count мјесеца|[5,Inf[ :count мјесеци',
'm' => ':count мј.',
'week' => '{1} :count недјеља|{2,3,4}:count недјеље|[5,Inf[ :count недјеља',
'w' => ':count нед.',
'day' => '{1,21,31} :count дан|[2,Inf[ :count дана',
'd' => ':count д.',
'hour' => '{1,21} :count сат|{2,3,4,22,23,24}:count сата|[5,Inf[ :count сати',
'h' => ':count ч.',
'minute' => '{1,21,31,41,51} :count минут|[2,Inf[ :count минута',
'min' => ':count мин.',
'second' => '{1,21,31,41,51} :count секунд|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count секунде|[5,Inf[:count секунди',
's' => ':count сек.',
'ago' => 'прије :time',
'from_now' => 'за :time',
'after' => ':time након',
'before' => ':time прије',
'year_from_now' => '{1,21,31,41,51} :count годину|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54} :count године|[5,Inf[ :count година',
'year_ago' => '{1,21,31,41,51} :count годину|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54} :count године|[5,Inf[ :count година',
'week_from_now' => '{1} :count недјељу|{2,3,4} :count недјеље|[5,Inf[ :count недјеља',
'week_ago' => '{1} :count недјељу|{2,3,4} :count недјеље|[5,Inf[ :count недјеља',
);

View File

@@ -0,0 +1,38 @@
<?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' => '{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count godine|[0,Inf[ :count godina',
'y' => ':count g.',
'month' => '{1} :count mjesec|{2,3,4}:count mjeseca|[5,Inf[ :count mjeseci',
'm' => ':count mj.',
'week' => '{1} :count nedjelja|{2,3,4}:count nedjelje|[5,Inf[ :count nedjelja',
'w' => ':count ned.',
'day' => '{1,21,31} :count dan|[2,Inf[ :count dana',
'd' => ':count d.',
'hour' => '{1,21} :count sat|{2,3,4,22,23,24}:count sata|[5,Inf[ :count sati',
'h' => ':count č.',
'minute' => '{1,21,31,41,51} :count minut|[2,Inf[ :count minuta',
'min' => ':count min.',
'second' => '{1,21,31,41,51} :count sekund|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count sekunde|[5,Inf[:count sekundi',
's' => ':count sek.',
'ago' => 'prije :time',
'from_now' => 'za :time',
'after' => ':time nakon',
'before' => ':time prije',
'year_from_now' => '{1,21,31,41,51} :count godinu|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54} :count godine|[5,Inf[ :count godina',
'year_ago' => '{1,21,31,41,51} :count godinu|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54} :count godine|[5,Inf[ :count godina',
'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',
);

View File

@@ -0,0 +1,38 @@
<?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' => '{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count godine|[0,Inf[ :count godina',
'y' => ':count g.',
'month' => '{1} :count mjesec|{2,3,4}:count mjeseca|[5,Inf[ :count mjeseci',
'm' => ':count mj.',
'week' => '{1} :count nedjelja|{2,3,4}:count nedjelje|[5,Inf[ :count nedjelja',
'w' => ':count ned.',
'day' => '{1,21,31} :count dan|[2,Inf[ :count dana',
'd' => ':count d.',
'hour' => '{1,21} :count sat|{2,3,4,22,23,24}:count sata|[5,Inf[ :count sati',
'h' => ':count č.',
'minute' => '{1,21,31,41,51} :count minut|[2,Inf[ :count minuta',
'min' => ':count min.',
'second' => '{1,21,31,41,51} :count sekund|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count sekunde|[5,Inf[:count sekundi',
's' => ':count sek.',
'ago' => 'prije :time',
'from_now' => 'za :time',
'after' => ':time nakon',
'before' => ':time prije',
'year_from_now' => '{1,21,31,41,51} :count godinu|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54} :count godine|[5,Inf[ :count godina',
'year_ago' => '{1,21,31,41,51} :count godinu|{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54} :count godine|[5,Inf[ :count godina',
'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',
);

View File

@@ -0,0 +1,31 @@
<?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å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',
'before' => ':time före',
);

View File

@@ -0,0 +1,31 @@
<?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',
);

View File

@@ -0,0 +1,31 @@
<?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ıl',
'y' => ':count yıl',
'month' => ':count ay',
'm' => ':count ay',
'week' => ':count hafta',
'w' => ':count hafta',
'day' => ':count gün',
'd' => ':count gün',
'hour' => ':count saat',
'h' => ':count saat',
'minute' => ':count dakika',
'min' => ':count dakika',
'second' => ':count saniye',
's' => ':count saniye',
'ago' => ':time önce',
'from_now' => ':time sonra',
'after' => ':time sonra',
'before' => ':time önce',
);

View File

@@ -0,0 +1,31 @@
<?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 роки|:count років',
'y' => ':count рік|:count роки|:count років',
'month' => ':count місяць|:count місяці|:count місяців',
'm' => ':count місяць|:count місяці|:count місяців',
'week' => ':count тиждень|:count тижні|:count тижнів',
'w' => ':count тиждень|:count тижні|:count тижнів',
'day' => ':count день|:count дні|:count днів',
'd' => ':count день|:count дні|:count днів',
'hour' => ':count година|:count години|:count годин',
'h' => ':count година|:count години|:count годин',
'minute' => ':count хвилину|:count хвилини|:count хвилин',
'min' => ':count хвилину|:count хвилини|:count хвилин',
'second' => ':count секунду|:count секунди|:count секунд',
's' => ':count секунду|:count секунди|:count секунд',
'ago' => ':time назад',
'from_now' => 'через :time',
'after' => ':time після',
'before' => ':time до',
);

View File

@@ -0,0 +1,24 @@
<?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 سال',
'month' => ':count ماه',
'week' => ':count ہفتے',
'day' => ':count روز',
'hour' => ':count گھنٹے',
'minute' => ':count منٹ',
'second' => ':count سیکنڈ',
'ago' => ':time پہلے',
'from_now' => ':time بعد',
'after' => ':time بعد',
'before' => ':time پہلے',
);

View File

@@ -0,0 +1,31 @@
<?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 yil|:count yil|:count yil',
'y' => ':count yil|:count yil|:count yil',
'month' => ':count oy|:count oy|:count oylar',
'm' => ':count oy|:count oy|:count oylar',
'week' => ':count hafta|:count hafta|:count hafta',
'w' => ':count hafta|:count hafta|:count hafta',
'day' => ':count kun|:count kun|:count kun',
'd' => ':count kun|:count kun|:count kun',
'hour' => ':count soat|:count soat|:count soat',
'h' => ':count soat|:count soat|:count soat',
'minute' => ':count minut|:count minut|:count minut',
'min' => ':count minut|:count minut|:count minut',
'second' => ':count sekund|:count sekund|:count sekund',
's' => ':count sekund|:count sekund|:count sekund',
'ago' => ':time avval',
'from_now' => ':time keyin',
'after' => ':time keyin',
'before' => ':time oldin',
);

View File

@@ -0,0 +1,31 @@
<?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 năm',
'y' => ':count năm',
'month' => ':count tháng',
'm' => ':count tháng',
'week' => ':count tuần',
'w' => ':count tuần',
'day' => ':count ngày',
'd' => ':count ngày',
'hour' => ':count giờ',
'h' => ':count giờ',
'minute' => ':count phút',
'min' => ':count phút',
'second' => ':count giây',
's' => ':count giây',
'ago' => ':time trước',
'from_now' => ':time từ bây giờ',
'after' => ':time sau',
'before' => ':time trước',
);

View File

@@ -0,0 +1,31 @@
<?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前',
);

View File

@@ -0,0 +1,31 @@
<?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前',
);