[wp-trac] [WordPress Trac] #31979: Twenty Thirteen: Improving i18n for "Continue reading"
WordPress Trac
noreply at wordpress.org
Thu Apr 16 02:29:18 UTC 2015
#31979: Twenty Thirteen: Improving i18n for "Continue reading"
---------------------------+------------------------------
Reporter: dregad | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 4.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by SergeyBiryukov):
Introduced in [30390] (#30178).
This would also apply to Twenty Fourteen and Fifteen, see [30389] (#30176)
and [30237] (#30135).
I guess we need one more `sprintf()` here:
{{{
the_content( sprintf(
/* translators: %s: Name of current post */
__( 'Continue reading %s <span class="meta-nav">→</span>',
'twentythirteen' ),
/* translators: %s: Name of current post */
sprintf( _x( '%s', 'post name' ), the_title( '<span class="screen-
reader-text">', '</span>', false ) )
) );
}}}
So that `'%s'` could be translated as `'de %s'`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31979#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list