Opened 10 years ago
Closed 9 years ago
#665 closed defect (bug) (fixed)
Missing plural forms in Rosetta Forums project
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Translate Site & Plugins | Keywords: | |
Cc: |
Description (last modified by )
In Rosetta Forums project, some strings are missing plural forms. Specifically:
Change History (13)
#3
in reply to:
↑ 1
@
10 years ago
Replying to SergeyBiryukov:
On a related note, this is not a correct usage of plural forms:
Singular: 1 plugin found Plural: Showing %s-%s of %s plugins
Related: #764.
#4
follow-up:
↓ 5
@
10 years ago
Most of the strings that were missing plural forms were fixed in [dotorg9226], but I skipped stars
because the visual layout currently depends on all of the strings being the same length. That'll need a second pass to refactor the layout and then fix the string.
The incorrect usage of _n()
should be fixed in [dotorg9228]. potbot
should update the template in the next hour.
Let me know if you see any remaining issues.
#5
in reply to:
↑ 4
@
10 years ago
Replying to iandunn:
I'm happy to hear that you are already working for it! I cannot see either [dotorg9226] and any PHP source but I hope it would be what we need :) To translate these pages are very important for us to promote register Theme repository. Thank you so much!
My problem is same as what SergeyBiryukov wrote.
Thank you for seeing #764 and explaining the detail!
On a related note, this is not a correct usage of plural forms:
In some languages, the first form is used not just for 1, but also for 21, 31, 41, etc.
1 plugin found
only makes sense for 1. For 21, 31, etc., the number should be included in the string, but it's still the first form.Currently we can't use the single form and are forced to use the
Showing %s-%s of %s plugins
form in all cases.It could be fixed with something like this:
See also https://core.trac.wordpress.org/ticket/28502#comment:5 in Core Trac.