Make WordPress Core


Ignore:
Timestamp:
03/16/2010 11:11:30 PM (17 years ago)
Author:
iammattthomas
Message:

Fix missing domain translation, see #9015. Props momo360modena.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r13720 r13724  
    2222                        'url' => '%s/images/headers/berries.jpg',
    2323                        'thumbnail_url' => '%s/images/headers/berries-thumbnail.jpg',
    24                         'description' => __( 'Berries' )
     24                        'description' => __( 'Berries', 'twentyten' )
    2525                ),
    2626                'cherryblossom' => array (
    2727                        'url' => '%s/images/headers/cherryblossoms.jpg',
    2828                        'thumbnail_url' => '%s/images/headers/cherryblossoms-thumbnail.jpg',
    29                         'description' => __( 'Cherry Blossoms' )
     29                        'description' => __( 'Cherry Blossoms', 'twentyten' )
    3030                ),
    3131                'concave' => array (
    3232                        'url' => '%s/images/headers/concave.jpg',
    3333                        'thumbnail_url' => '%s/images/headers/concave-thumbnail.jpg',
    34                         'description' => __( 'Concave' )
     34                        'description' => __( 'Concave', 'twentyten' )
    3535                ),
    3636                'fern' => array (
    3737                        'url' => '%s/images/headers/fern.jpg',
    3838                        'thumbnail_url' => '%s/images/headers/fern-thumbnail.jpg',
    39                         'description' => __( 'Fern' )
     39                        'description' => __( 'Fern', 'twentyten' )
    4040                ),
    4141                'forestfloor' => array (
    4242                        'url' => '%s/images/headers/forestfloor.jpg',
    4343                        'thumbnail_url' => '%s/images/headers/forestfloor-thumbnail.jpg',
    44                         'description' => __( 'Forest Floor' )
     44                        'description' => __( 'Forest Floor', 'twentyten' )
    4545                ),
    4646                'inkwell' => array (
    4747                        'url' => '%s/images/headers/inkwell.jpg',
    4848                        'thumbnail_url' => '%s/images/headers/inkwell-thumbnail.jpg',
    49                         'description' => __( 'Ink Well' )
     49                        'description' => __( 'Inkwell', 'twentyten' )
    5050                ),
    5151                'path' => array (
    5252                        'url' => '%s/images/headers/path.jpg',
    5353                        'thumbnail_url' => '%s/images/headers/path-thumbnail.jpg',
    54                         'description' => __( 'Path' )
     54                        'description' => __( 'Path', 'twentyten' )
    5555                ),
    5656                'sunset' => array (
    5757                        'url' => '%s/images/headers/sunset.jpg',
    5858                        'thumbnail_url' => '%s/images/headers/sunset-thumbnail.jpg',
    59                         'description' => __( 'Sunset' )
     59                        'description' => __( 'Sunset', 'twentyten' )
    6060                )
    6161        ) );
    … …  
    134134if ( ! function_exists( 'twentyten_excerpt_more' ) ) :
    135135function twentyten_excerpt_more( $more ) {
    136         return '&nbsp;&hellip; <a href="'. get_permalink() . '">' . 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>' . '</a>';
     136        return '&nbsp;&hellip; <a href="'. get_permalink() . '">' . __('Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten') . '</a>';
    137137}
    138138endif;
    … …  
    149149                <div class="comment-author vcard">
    150150                        <?php echo get_avatar( $comment, 40 ); ?>
    151                         <?php printf( __( '<cite class="fn">%s</cite> <span class="says">says:</span>' ), get_comment_author_link() ); ?>
     151                        <?php printf( __( '<cite class="fn">%s</cite> <span class="says">says:</span>', 'twentyten' ), get_comment_author_link() ); ?>
    152152                </div>
    153153                <?php if ( $comment->comment_approved == '0' ) : ?>
    … …  
    156156                <?php endif; ?>
    157157
    158                 <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf( __( '%1$s at %2$s' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ),'  ','' ); ?></div>
     158                <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ),'  ','' ); ?></div>
    159159
    160160                <div class="comment-body"><?php comment_text(); ?></div>
Note: See TracChangeset for help on using the changeset viewer.