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

props juliobox.
fixes #28714.
Built from https://develop.svn.wordpress.org/trunk@28957


git-svn-id: http://core.svn.wordpress.org/trunk@28753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-07-02 13:21:16 +00:00
parent 489693cd30
commit 19a3159082
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();