Skip to content

Commit

Permalink
Merge pull request #64 from ddmler/master
Browse files Browse the repository at this point in the history
German translation
  • Loading branch information
Norbert Orzechowicz committed Nov 21, 2015
2 parents 3eb227e + ecae2fa commit a78a552
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions src/Coduo/PHPHumanizer/Resources/translations/difference.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ compound:
second: "{1} %count% Sekunde|[2,Inf] %count% Sekunden"
minute: "{1} %count% Minute|[2,Inf] %count% Minuten"
hour: "{1} %count% Stunde|[2,Inf] %count% Stunden"
day: "{1} %count% Tag|[2,Inf] %count% Tage"
day: "{1} %count% Tag|[2,Inf] %count% Tagen"
week: "{1} %count% Woche|[2,Inf] %count% Wochen"
month: "{1} %count% Monat|[2,Inf] %count% Monate"
year: "{1} %count% Jahr|[2,Inf] %count% Jahre"
past: "%value% vor"
future: "%value% ab jetzt"
month: "{1} %count% Monat|[2,Inf] %count% Monaten"
year: "{1} %count% Jahr|[2,Inf] %count% Jahren"
past: "vor %value%"
future: "in %value%"
16 changes: 8 additions & 8 deletions tests/Coduo/PHPHumanizer/Tests/DateTimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ public function preciseDifferenceDataProvider()
array("2014-04-26 13:00:00", "2016-04-27 13:00:00", '2 lata, 1 dzień od teraz', 'pl'),

// German
array("2014-04-26 13:00:00", "2014-04-26 12:58:15", '1 Minute, 45 Sekunden vor', 'de'),
array("2014-04-26 13:00:00", "2014-04-26 11:20:00", '1 Stunde, 40 Minuten vor', 'de'),
array("2014-04-26 13:00:00", "2014-04-27 13:15:00", '1 Tag, 15 Minuten ab jetzt', 'de'),
array("2014-04-26 13:00:00", "2014-05-03 15:00:00", '7 Tage, 2 Stunden ab jetzt', 'de'),
array("2014-04-26 13:00:00", "2015-04-28 17:00:00", '1 Jahr, 2 Tage, 4 Stunden ab jetzt', 'de'),
array("2014-04-26 13:00:00", "2014-04-28 23:00:00", '2 Tage, 10 Stunden ab jetzt', 'de'),
array("2014-04-26 13:00:00", "2014-04-25 11:20:00", '1 Tag, 1 Stunde, 40 Minuten vor', 'de'),
array("2014-04-26 13:00:00", "2016-04-27 13:00:00", '2 Jahre, 1 Tag ab jetzt', 'de'),
array("2014-04-26 13:00:00", "2014-04-26 12:58:15", 'vor 1 Minute, 45 Sekunden', 'de'),
array("2014-04-26 13:00:00", "2014-04-26 11:20:00", 'vor 1 Stunde, 40 Minuten', 'de'),
array("2014-04-26 13:00:00", "2014-04-27 13:15:00", 'in 1 Tag, 15 Minuten', 'de'),
array("2014-04-26 13:00:00", "2014-05-03 15:00:00", 'in 7 Tagen, 2 Stunden', 'de'),
array("2014-04-26 13:00:00", "2015-04-28 17:00:00", 'in 1 Jahr, 2 Tagen, 4 Stunden', 'de'),
array("2014-04-26 13:00:00", "2014-04-28 23:00:00", 'in 2 Tagen, 10 Stunden', 'de'),
array("2014-04-26 13:00:00", "2014-04-25 11:20:00", 'vor 1 Tag, 1 Stunde, 40 Minuten', 'de'),
array("2014-04-26 13:00:00", "2016-04-27 13:00:00", 'in 2 Jahren, 1 Tag', 'de'),

// Turkish
array("2014-04-26 13:00:00", "2014-04-26 12:58:15", '1 dakika, 45 saniye önce', 'tr'),
Expand Down

0 comments on commit a78a552

Please sign in to comment.