[wp-trac] [WordPress Trac] #23257: Add plural versions of Post Format strings
WordPress Trac
noreply at wordpress.org
Sat Feb 2 06:37:42 UTC 2013
#23257: Add plural versions of Post Format strings
-----------------------------------+------------------------------
Reporter: obenland | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch ux-feedback |
-----------------------------------+------------------------------
Comment (by nacin):
As kovshenin hints, gettext plural handling is only for when there is a
specific number. Otherwise, this should be be general plurals, and
translators will pick a construct in their language that works.
In core, that means:
{{{
__( 'Gallery' )
__( 'Galleries' )
_x( 'Audio', 'singular' )
_x( 'Audio', 'plural' )
}}}
We do this with post types too.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23257#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list