From 57029ef3fbcbe93cbc18e9db59b2fa5cfec8fe55 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Wed, 2 Jul 2014 13:20:02 +0000 Subject: [PATCH] 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 --- src/wp-includes/taxonomy.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 60337131d0..20e1b494b6 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -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();