Skip to content

Commit

Permalink
Merge pull request #211 from Landish/master
Browse files Browse the repository at this point in the history
Fix Georgian grammar
  • Loading branch information
jenssegers committed Jun 16, 2016
2 parents 421d56c + fb82870 commit c96f12c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Lang/ka.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
|
*/

'ago' => ':time უკან',
'ago' => ':time წინ',
'from_now' => ':time შემდეგ',
'after' => ':time შემდეგ',
'before' => ':time უკან',
'before' => ':time წინ',
'year' => ':count წლის',
'month' => ':count თვის',
'week' => ':count კვირის',
Expand Down
10 changes: 5 additions & 5 deletions tests/TranslationKaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ public function testCreateFromFormat()
public function testAgoTranslated()
{
$date = Date::parse('-21 hours');
$this->assertSame('21 საათის უკან', $date->ago());
$this->assertSame('21 საათის წინ', $date->ago());

$date = Date::parse('-5 days');
$this->assertSame('5 დღის უკან', $date->ago());
$this->assertSame('5 დღის წინ', $date->ago());

$date = Date::parse('-3 weeks');
$this->assertSame('3 კვირის უკან', $date->ago());
$this->assertSame('3 კვირის წინ', $date->ago());

$date = Date::parse('-6 months');
$this->assertSame('6 თვის უკან', $date->ago());
$this->assertSame('6 თვის წინ', $date->ago());

$date = Date::parse('-10 years');
$this->assertSame('10 წლის უკან', $date->ago());
$this->assertSame('10 წლის წინ', $date->ago());
}

public function testFormatDeclensions()
Expand Down

0 comments on commit c96f12c

Please sign in to comment.