Don't use hard coded value in "one" pluralization rule

French uses the "one" rule for zero as well as one (if there is no
explicit zero rule) so make sure we use %{count} there.

Also made the same change to English, and added an explcit zero rul.
This commit is contained in:
Tom Hughes 2012-11-15 15:22:56 +00:00
parent 7ffd7f10ff
commit 44528ffe0f
2 changed files with 3 additions and 2 deletions

View file

@ -367,7 +367,8 @@ en:
comment_link: Comment on this entry
reply_link: Reply to this entry
comment_count:
one: 1 comment
zero: No comments
one: "%{count} comment"
other: "%{count} comments"
edit_link: Edit this entry
hide_link: Hide this entry

View file

@ -343,7 +343,7 @@ fr:
hide_link: Masquer ce commentaire
diary_entry:
comment_count:
one: 1 commentaire
one: "%{count} commentaire"
other: "%{count} commentaires"
comment_link: Commenter cette entrée
confirm: Confirmer