Opened 7 years ago

Closed 7 years ago

#4686 closed defect (fixed)

All diary entries' comments described to have at least 1 comment if user's language preference is FR

Reported by: skorasaurus Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: diary language Cc:


When a user has 'fr' selected as their preferred language in their user settings ( ), diary entries that do not have any comments state on the main diary page that they have 1 comment on them, even if they do not have any comments on them (see the attachment OSM-diary-entry-FR.png as an example).

I've seen this occur on the main french,english, and German diary pages.

Entries that have 1 or more comments have the correct number of comments listed.

Users who have en-US,en set as their preferred language have 0 comments listed if they do not have any comments on their entry.

Attachments (1)

OSM-diary-entry-FR.png (113.3 KB) - added by skorasaurus 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by skorasaurus

Attachment: OSM-diary-entry-FR.png added

comment:1 Changed 7 years ago by skorasaurus

This problem also occurs if you visit a particular user's diary as well (for example)

comment:2 Changed 7 years ago by Tom Hughes

Well of course if it affects one diary list it will affect them all - it's all the same page just with different search criteria to select the entries to show.

My immediate guess would be that this is a translation issue.

comment:3 Changed 7 years ago by Tom Hughes

Yes, it's a combination of our fr locale rules:

which are a direct translation of the hardcoded "1" in the en rules:

and the fr pluralization rules, which use the "one" string for zero:

comment:4 Changed 7 years ago by Tom Hughes

Resolution: fixed
Status: newclosed


Note: See TracTickets for help on using tickets.