From fd8f644303214be73e7cdf8e0a4a42506ebbe18b Mon Sep 17 00:00:00 2001 From: Jean-Marc Amon Date: Sun, 25 Oct 2015 15:25:36 +0000 Subject: [PATCH 1/2] Begin translating differences in french --- .../Resources/translations/difference.fr.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml new file mode 100644 index 0000000..6a7534a --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml @@ -0,0 +1,35 @@ +just_now: + past: "[0,Inf] just now" + future: "[0,Inf] just now" +second: + past: "{1} %count% second ago|[2,Inf] %count% seconds ago" + future: "{1} %count% second from now|[2,Inf] %count% seconds from now" +minute: + past: "{1} %count% minute ago|[2,Inf] %count% minutes ago" + future: "{1} %count% minute from now|[2,Inf] %count% minutes from now" +hour: + past: "{1} %count% hour ago|[2,Inf] %count% hours ago" + future: "{1} %count% hour from now|[2,Inf] %count% hours from now" +day: + past: "{1} %count% day ago|[2,Inf] %count% days ago" + future: "{1} %count% day from now|[2,Inf] %count% days from now" +week: + past: "{1} %count% week ago|[2,Inf] %count% weeks ago" + future: "{1} %count% week from now|[2,Inf] %count% weeks from now" +month: + past: "{1} %count% month ago|[2,Inf] %count% months ago" + future: "{1} %count% month from now|[2,Inf] %count% months from now" +year: + past: "{1} %count% year ago|[2,Inf] %count% years ago" + future: "{1} %count% year from now|[2,Inf] %count% years from now" + +compound: + second: "{1} %count% second|[2,Inf] %count% seconds" + minute: "{1} %count% minute|[2,Inf] %count% minutes" + hour: "{1} %count% hour|[2,Inf] %count% hours" + day: "{1} %count% day|[2,Inf] %count% days" + week: "{1} %count% week|[2,Inf] %count% weeks" + month: "{1} %count% month|[2,Inf] %count% months" + year: "{1} %count% year|[2,Inf] %count% years" + ago: "ago" + from_now: "from now" \ No newline at end of file From 7d449820122867e87cfac405a69d8d3ad3cc8ee3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Amon Date: Sun, 25 Oct 2015 15:40:11 +0000 Subject: [PATCH 2/2] Translation of differences in french done --- .../Resources/translations/difference.fr.yml | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml index 6a7534a..c55fbec 100644 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml @@ -1,35 +1,35 @@ just_now: - past: "[0,Inf] just now" - future: "[0,Inf] just now" + past: "[0,Inf] à l'instant" + future: "[0,Inf] à l'instant" second: - past: "{1} %count% second ago|[2,Inf] %count% seconds ago" - future: "{1} %count% second from now|[2,Inf] %count% seconds from now" + past: "{1} il y'a %count% seconde|[2,Inf] il y'a %count% secondes" + future: "{1} il y'a maintenant %count% seconde|[2,Inf] il y'a maintenant %count% secondes" minute: - past: "{1} %count% minute ago|[2,Inf] %count% minutes ago" - future: "{1} %count% minute from now|[2,Inf] %count% minutes from now" + past: "{1} il y'a %count% minute|[2,Inf] il y'a %count% minutes" + future: "{1} il y'a maintenant %count% minute|[2,Inf] il y'a maintenant %count% minutes" hour: - past: "{1} %count% hour ago|[2,Inf] %count% hours ago" - future: "{1} %count% hour from now|[2,Inf] %count% hours from now" + past: "{1} il y'a %count% heure|[2,Inf] il y'a %count% heure" + future: "{1} il y'a maintenant %count% heure|[2,Inf] il y'a maintenant %count% heures" day: - past: "{1} %count% day ago|[2,Inf] %count% days ago" - future: "{1} %count% day from now|[2,Inf] %count% days from now" + past: "{1} il y'a %count% jour|[2,Inf] il y'a %count% jours" + future: "{1} il y'a maintenant %count% jour|[2,Inf] il y'a maintenant %count% jours" week: - past: "{1} %count% week ago|[2,Inf] %count% weeks ago" - future: "{1} %count% week from now|[2,Inf] %count% weeks from now" + past: "{1} il y'a %count% semaine|[2,Inf] il y'a %count% semaines" + future: "{1} il y'a maintenant %count% semaine|[2,Inf] il y'a maintenant %count% semaines" month: - past: "{1} %count% month ago|[2,Inf] %count% months ago" - future: "{1} %count% month from now|[2,Inf] %count% months from now" + past: "{1} il y'a %count% mois|[2,Inf] il y'a %count% mois" + future: "{1} %count% mois maintenant|[2,Inf] %count% mois maintenant" year: - past: "{1} %count% year ago|[2,Inf] %count% years ago" - future: "{1} %count% year from now|[2,Inf] %count% years from now" + past: "{1} il y'a %count% année|[2,Inf] il y'a %count% années" + future: "{1} il y'a maintenant %count% année|[2,Inf] il y'a maintenant %count% années" compound: - second: "{1} %count% second|[2,Inf] %count% seconds" + second: "{1} %count% seconde|[2,Inf] %count% secondes" minute: "{1} %count% minute|[2,Inf] %count% minutes" - hour: "{1} %count% hour|[2,Inf] %count% hours" - day: "{1} %count% day|[2,Inf] %count% days" - week: "{1} %count% week|[2,Inf] %count% weeks" - month: "{1} %count% month|[2,Inf] %count% months" - year: "{1} %count% year|[2,Inf] %count% years" - ago: "ago" - from_now: "from now" \ No newline at end of file + hour: "{1} %count% heure|[2,Inf] %count% heures" + day: "{1} %count% jour|[2,Inf] %count% jours" + week: "{1} %count% semaine|[2,Inf] %count% semaines" + month: "{1} %count% mois|[2,Inf] %count% mois" + year: "{1} %count% année|[2,Inf] %count% années" + ago: "il y'a" + from_now: "maintenant" \ No newline at end of file