Skip to content

Commit

Permalink
Fix russian translation (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
dizzy7 authored and norberttech committed Aug 4, 2016
1 parent e85d690 commit 4f83a62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ minute:
past: "%count% минуту назад|%count% минуты назад|%count% минут назад"
future: "через %count% минуту|через %count% минуты|через %count% минут"
hour:
past: "%count% час назад|через %count% часа|%count% часов назад"
past: "%count% час назад|%count% часа назад|%count% часов назад"
future: "через %count% час|через %count% часа|через %count% часов"
day:
past: "%count% день назад|%count% дня назад|%count% дней назад"
Expand Down
1 change: 1 addition & 0 deletions tests/Coduo/PHPHumanizer/Tests/DateTimeHumanizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function humanizeDataProvider()
array("2014-04-26 13:00:00", "2014-04-26 14:00:00", 'через 1 час', 'ru'),
array("2014-04-26 13:00:00", "2014-04-26 15:00:00", 'через 2 часа', 'ru'),
array("2014-04-26 13:00:00", "2014-04-26 12:00:00", '1 час назад', 'ru'),
array("2014-04-26 14:00:00", "2014-04-26 12:00:00", '2 часа назад', 'ru'),
array("2014-04-26", "2014-04-25", '1 день назад', 'ru'),
array("2014-04-26", "2014-04-24", '2 дня назад', 'ru'),
array("2014-04-26", "2014-04-28", 'через 2 дня', 'ru'),
Expand Down

0 comments on commit 4f83a62

Please sign in to comment.