Skip to content

Commit f5dafa6

Browse files
author
Norbert Orzechowicz
committed
Merge pull request #18 from mattallty/patch-1
Fix typo in french translation
2 parents 120f118 + 75fb91a commit f5dafa6

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

spec/Coduo/PHPHumanizer/DateTimeSpec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ function it_humanizes_precise_difference_between_dates_for_tr_locale()
139139
function it_humanizes_precise_difference_between_dates_for_fr_locale()
140140
{
141141
$examples = array(
142-
array("2014-04-26 13:00:00", "2014-04-26 12:58:15", '1 minute, 45 secondes il y\'a'),
143-
array("2014-04-26 13:00:00", "2014-04-26 11:20:00", '1 heure, 40 minutes il y\'a'),
142+
array("2014-04-26 13:00:00", "2014-04-26 12:58:15", '1 minute, 45 secondes il y a'),
143+
array("2014-04-26 13:00:00", "2014-04-26 11:20:00", '1 heure, 40 minutes il y a'),
144144
array("2014-04-26 13:00:00", "2014-04-27 13:15:00", '1 jour, 15 minutes maintenant'),
145145
array("2014-04-26 13:00:00", "2014-05-03 15:00:00", '7 jours, 2 heures maintenant'),
146146
array("2014-04-26 13:00:00", "2015-04-28 17:00:00", '1 année, 2 jours, 4 heures maintenant'),
147147
array("2014-04-26 13:00:00", "2014-04-28 23:00:00", '2 jours, 10 heures maintenant'),
148-
array("2014-04-26 13:00:00", "2014-04-25 11:20:00", '1 jour, 1 heure, 40 minutes il y\'a'),
148+
array("2014-04-26 13:00:00", "2014-04-25 11:20:00", '1 jour, 1 heure, 40 minutes il y a'),
149149
array("2014-04-26 13:00:00", "2016-04-27 13:00:00", '2 années, 1 jour maintenant'),
150150
);
151151

src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ just_now:
22
past: "[0,Inf] à l'instant"
33
future: "[0,Inf] à l'instant"
44
second:
5-
past: "{1} il y'a %count% seconde|[2,Inf] il y'a %count% secondes"
6-
future: "{1} il y'a maintenant %count% seconde|[2,Inf] il y'a maintenant %count% secondes"
5+
past: "{1} il y a %count% seconde|[2,Inf] il y a %count% secondes"
6+
future: "{1} il y a maintenant %count% seconde|[2,Inf] il y a maintenant %count% secondes"
77
minute:
8-
past: "{1} il y'a %count% minute|[2,Inf] il y'a %count% minutes"
9-
future: "{1} il y'a maintenant %count% minute|[2,Inf] il y'a maintenant %count% minutes"
8+
past: "{1} il y a %count% minute|[2,Inf] il y'a %count% minutes"
9+
future: "{1} il y a maintenant %count% minute|[2,Inf] il y a maintenant %count% minutes"
1010
hour:
11-
past: "{1} il y'a %count% heure|[2,Inf] il y'a %count% heure"
12-
future: "{1} il y'a maintenant %count% heure|[2,Inf] il y'a maintenant %count% heures"
11+
past: "{1} il y a %count% heure|[2,Inf] il y a %count% heure"
12+
future: "{1} il y a maintenant %count% heure|[2,Inf] il y a maintenant %count% heures"
1313
day:
14-
past: "{1} il y'a %count% jour|[2,Inf] il y'a %count% jours"
15-
future: "{1} il y'a maintenant %count% jour|[2,Inf] il y'a maintenant %count% jours"
14+
past: "{1} il y a %count% jour|[2,Inf] il y a %count% jours"
15+
future: "{1} il y a maintenant %count% jour|[2,Inf] il y a maintenant %count% jours"
1616
week:
17-
past: "{1} il y'a %count% semaine|[2,Inf] il y'a %count% semaines"
18-
future: "{1} il y'a maintenant %count% semaine|[2,Inf] il y'a maintenant %count% semaines"
17+
past: "{1} il y a %count% semaine|[2,Inf] il y a %count% semaines"
18+
future: "{1} il y a maintenant %count% semaine|[2,Inf] il y a maintenant %count% semaines"
1919
month:
20-
past: "{1} il y'a %count% mois|[2,Inf] il y'a %count% mois"
20+
past: "{1} il y a %count% mois|[2,Inf] il y a %count% mois"
2121
future: "{1} %count% mois maintenant|[2,Inf] %count% mois maintenant"
2222
year:
23-
past: "{1} il y'a %count% année|[2,Inf] il y'a %count% années"
24-
future: "{1} il y'a maintenant %count% année|[2,Inf] il y'a maintenant %count% années"
23+
past: "{1} il y a %count% année|[2,Inf] il y a %count% années"
24+
future: "{1} il y a maintenant %count% année|[2,Inf] il y a maintenant %count% années"
2525

2626
compound:
2727
second: "{1} %count% seconde|[2,Inf] %count% secondes"
@@ -31,5 +31,5 @@ compound:
3131
week: "{1} %count% semaine|[2,Inf] %count% semaines"
3232
month: "{1} %count% mois|[2,Inf] %count% mois"
3333
year: "{1} %count% année|[2,Inf] %count% années"
34-
ago: "il y'a"
35-
from_now: "maintenant"
34+
ago: "il y a"
35+
from_now: "maintenant"

0 commit comments

Comments
 (0)