Make default 'template' argument of the_taxonomies() and get_the_taxonomies() translatable.

props juliobox.
fixes #28714.

git-svn-id: https://develop.svn.wordpress.org/trunk@28957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
SergeyBiryukov 2014-07-02 13:20:02 +00:00
parent 8ee9631bb4
commit 57029ef3fb
1 changed files with 4 additions and 2 deletions

View File

@ -3761,7 +3761,8 @@ function the_taxonomies( $args = array() ) {
'before' => '',
'sep' => ' ',
'after' => '',
'template' => '%s: %l.'
/* translators: %s: taxonomy label, %l: list of term links */
'template' => __( '%s: %l.' )
);
$r = wp_parse_args( $args, $defaults );
@ -3785,7 +3786,8 @@ function get_the_taxonomies( $post = 0, $args = array() ) {
$post = get_post( $post );
$args = wp_parse_args( $args, array(
'template' => '%s: %l.',
/* translators: %s: taxonomy label, %l: list of term links */
'template' => __( '%s: %l.' ),
) );
$taxonomies = array();