#2694 closed defect (bug) (fixed)
Plugin Directory: Use _n() for "translated into these locales" string
Reported by: | SergeyBiryukov | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | has-patch commit |
Cc: |
Description
'%1$s has been translated into these %2$d locales: %3$s.'
needs _n()
to be translated properly.
Additionally, the 1 === count( $locales )
case should be checked separately, see the note in Codex.
Attachments (1)
Change History (4)
#2
follow-up:
↓ 3
@
7 years ago
Am I right that the first line (singular) is just a 'placeholder' and never used? Translating it, it confuses me, because these %2$d locales is not singular. Can this be clearified more?
'%1$s has been translated into these %2$d locales: %3$s.', '%1$s has been translated into these %2$d locales: %3$s.',
#3
in reply to:
↑ 2
@
7 years ago
Replying to Presskopp:
Am I right that the first line (singular) is just a 'placeholder' and never used?
It would be used in languages where the singular form is used not just for 1 item, but also for 21, 31 items, etc. (Russian and some others).
In English or German it won't be used, just translate it to whatever makes the most sense :)
Note: See
TracTickets for help on using
tickets.
In 5372: