[wp-trac] [WordPress Trac] #25018: Hardcoded text in post-template.php
WordPress Trac
noreply at wordpress.org
Mon Aug 12 21:46:47 UTC 2013
#25018: Hardcoded text in post-template.php
-------------------------+-------------------------------------------------
Reporter: leandroprz | Owner:
Type: defect | Status: new
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 3.6
Component: Template | Keywords: needs-patch translation hardcoded
Severity: normal | text
-------------------------+-------------------------------------------------
Hi,
I was looking for a way to split a page into several pages and found
[http://en.support.wordpress.com/splitting-content/nextpage/ this].
I tried it on my blog and it worked just fine even though I thought it was
only for WordPress.com.
Anyway, I noticed a problem with the translation. I get "Pages:" instead
of "Páginas:" (I'm using a Spanish translation in wp-config.php).
I checked the WP translation website and
[http://translate.wordpress.org/projects/wp/3.6.x/es/default?filters%5Bterm%5D=pages%3A&filters%5Buser_login%5D=&filters%5Bstatus%5D=either&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
the translation is fine]. So I checked the post-template.php file and
noticed there's hardcoded text there and that's why it's not being
translated.
Please check lines 637:
{{{
'before' => '<p>' . __( 'Pages:' ),
}}}
641:
{{{
'next_or_number' => 'number',
}}}
643:
{{{
'nextpagelink' => __( 'Next page' ),
}}}
And 644:
{{{
'previouspagelink' => __( 'Previous page' ),
}}}
This is my first bug report, hope it's okay.
Thanks.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25018>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list