Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8731 closed (fixed)

"Days" translation in french could be better

Reported by: Sylvain Fankhauser Owned by: nobody
Component: Translations Version: dev
Severity: Keywords: fr, french, days, journées, jours, i18n, locale
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The "days" translation in french is "journées", so when using the timesince tag it gives something like "1 mois, 2 journées", instead of "1 mois, 2 jours".

The attached patch simply replaces the translation "day" => "journée" into "day" => "jour" (same thing for the plural form) for the fr locale.

Attachments (3)

django.po.diff (457 bytes ) - added by Sylvain Fankhauser 16 years ago.
8759.typo.diff (1.1 KB ) - added by Julien Phalip 16 years ago.
Same patch as Sephi's, but applies to r8783
8731.typo.diff (488 bytes ) - added by Julien Phalip 16 years ago.
Same patch as Sephi's, but applies to r8783 >>> Consider this one, not "8759.typo.diff" <<<

Download all attachments as: .zip

Change History (10)

by Sylvain Fankhauser, 16 years ago

Attachment: django.po.diff added

comment:1 by Julien Phalip, 16 years ago

Resolution: invalid
Status: newclosed

The current translation is perfectly valid and "1 mois, 2 jours" is what should be displayed.

"journée" only refers to daylight time (say roughly from 6am to 6pm), while "jour", in this context, refers to the full 24 hours.
At least, I'm speaking for "mainstream" French. If you think this is incorrect in another dialect (e.g. Quebecois) please post your patch to the respective locale.

comment:2 by Sylvain Fankhauser, 16 years ago

Resolution: invalid
Status: closedreopened

Yes, as you say "1 mois, 2 jours" is what should be displayed, but currently it is "1 mois, 2 journées" which is displayed when using timesince (look at the django.po file, the "days" key, it is translated to "journées").
So my patch was correcting this translation by translating "days" into "jours" instead of "journées", which, I think, is "mainstream" french.

comment:3 by Julien Phalip, 16 years ago

Triage Stage: UnreviewedReady for checkin

Whoops, my bad, I had misread your original description. I confirm that your patch is right. Thanks!

by Julien Phalip, 16 years ago

Attachment: 8759.typo.diff added

Same patch as Sephi's, but applies to r8783

comment:4 by Julien Phalip, 16 years ago

milestone: 1.0

Argh... I first posted the wrong patch ("8759.typo.diff"), please disregard that one and consider "8731.typo.diff" instead. My brain is definitely failing these days.

Sephi, I've reposted your patch because it didn't apply properly. So I posted the same as yours, but which applies nicely to r8783.

Also bumping to 1.0, if there's a bit of time left before release to check it in. It's a trivial change but that fixes a quite silly and annoying bug in the French locale. Thanks again Sephi for the report and fix.

by Julien Phalip, 16 years ago

Attachment: 8731.typo.diff added

Same patch as Sephi's, but applies to r8783 >>> Consider this one, not "8759.typo.diff" <<<

comment:5 by Marc Fargas, 16 years ago

Resolution: fixed
Status: reopenedclosed

(In [8798]) Closes #8731, Typo in "fr" locale. Thanks Sephi & Julien.

comment:6 by Marc Fargas, 16 years ago

Commited. Thanks for the patch!

comment:7 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top