[wp-trac] [WordPress Trac] #20005: Use single and plural Label arguments to populate defaults for Labels in register_post_type
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 11 03:45:11 UTC 2012
#20005: Use single and plural Label arguments to populate defaults for Labels in
register_post_type
-------------------------+-----------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Post Types | Version:
Severity: normal | Resolution:
Keywords: close |
-------------------------+-----------------------
Comment (by dd32):
> Sorry if I'm missing something.
Basically, Given the string "Add new %s", It'll be translated differently
for Posts, Pages, and other types.
For example, in my imaginary language, That string would translate to
"Goobly Duck Post" and "Gably Frog Page" (although, seriously, some
languages do differ in the translation depending on the context), leading
to a single string with substitution being unusable for purposes of
translation.
Of course, this isn't much of a problem for most CPT's, as they'll not be
translated, or if they are, they'd have the full labels array filled in..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20005#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list