From fb2328191eba143812cc6a27dd28a78f0b98f8d9 Mon Sep 17 00:00:00 2001 From: iammattthomas Date: Tue, 16 Mar 2010 23:11:30 +0000 Subject: [PATCH] Fix missing domain translation, see #9015. Props momo360modena. git-svn-id: http://svn.automattic.com/wordpress/trunk@13724 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/functions.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 8a1c78828..592c1cd86 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -21,42 +21,42 @@ function twentyten_init() { 'berries' => array ( 'url' => '%s/images/headers/berries.jpg', 'thumbnail_url' => '%s/images/headers/berries-thumbnail.jpg', - 'description' => __( 'Berries' ) + 'description' => __( 'Berries', 'twentyten' ) ), 'cherryblossom' => array ( 'url' => '%s/images/headers/cherryblossoms.jpg', 'thumbnail_url' => '%s/images/headers/cherryblossoms-thumbnail.jpg', - 'description' => __( 'Cherry Blossoms' ) + 'description' => __( 'Cherry Blossoms', 'twentyten' ) ), 'concave' => array ( 'url' => '%s/images/headers/concave.jpg', 'thumbnail_url' => '%s/images/headers/concave-thumbnail.jpg', - 'description' => __( 'Concave' ) + 'description' => __( 'Concave', 'twentyten' ) ), 'fern' => array ( 'url' => '%s/images/headers/fern.jpg', 'thumbnail_url' => '%s/images/headers/fern-thumbnail.jpg', - 'description' => __( 'Fern' ) + 'description' => __( 'Fern', 'twentyten' ) ), 'forestfloor' => array ( 'url' => '%s/images/headers/forestfloor.jpg', 'thumbnail_url' => '%s/images/headers/forestfloor-thumbnail.jpg', - 'description' => __( 'Forest Floor' ) + 'description' => __( 'Forest Floor', 'twentyten' ) ), 'inkwell' => array ( 'url' => '%s/images/headers/inkwell.jpg', 'thumbnail_url' => '%s/images/headers/inkwell-thumbnail.jpg', - 'description' => __( 'Ink Well' ) + 'description' => __( 'Inkwell', 'twentyten' ) ), 'path' => array ( 'url' => '%s/images/headers/path.jpg', 'thumbnail_url' => '%s/images/headers/path-thumbnail.jpg', - 'description' => __( 'Path' ) + 'description' => __( 'Path', 'twentyten' ) ), 'sunset' => array ( 'url' => '%s/images/headers/sunset.jpg', 'thumbnail_url' => '%s/images/headers/sunset-thumbnail.jpg', - 'description' => __( 'Sunset' ) + 'description' => __( 'Sunset', 'twentyten' ) ) ) ); @@ -133,7 +133,7 @@ add_filter( 'excerpt_length', 'twentyten_excerpt_length' ); // Make a nice read more link on excerpts if ( ! function_exists( 'twentyten_excerpt_more' ) ) : function twentyten_excerpt_more( $more ) { - return ' … ' . 'Continue reading ' . ''; + return ' … ' . __('Continue reading ', 'twentyten') . ''; } endif; add_filter( 'excerpt_more', 'twentyten_excerpt_more' ); @@ -148,14 +148,14 @@ function twentyten_comment( $comment, $args, $depth ) {
- %s says:' ), get_comment_author_link() ); ?> + %s says:', 'twentyten' ), get_comment_author_link() ); ?>
comment_approved == '0' ) : ?>
- +