From 6885d83058cbad2453b43f95c09db99de4d56b7f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 8 Feb 2010 17:59:08 +0000 Subject: [PATCH] gettext for twentyten. see #12170 git-svn-id: https://develop.svn.wordpress.org/trunk@13024 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyten/comments.php | 58 ++++++++++---------- wp-content/themes/twentyten/footer.php | 18 +++---- wp-content/themes/twentyten/index.php | 62 +++++++++++----------- wp-content/themes/twentyten/searchform.php | 2 +- 4 files changed, 70 insertions(+), 70 deletions(-) diff --git a/wp-content/themes/twentyten/comments.php b/wp-content/themes/twentyten/comments.php index 5c3afccf11..647083c82d 100644 --- a/wp-content/themes/twentyten/comments.php +++ b/wp-content/themes/twentyten/comments.php @@ -20,14 +20,14 @@ endif; ?> -

+

1 ) : // are there comments to navigate through ?> - +
    'twentyten_comment') ); ?> @@ -38,15 +38,15 @@ endif; - - + + - + -

    Comments are closed.

    +

    @@ -54,61 +54,61 @@ endif;
    - -

    - + +

    + -

    You must be logged in to post a comment.

    - - -
    - +

    logged in to post a comment.', 'twentyten'), wp_login_url( get_permalink() ) ); ?>

    + + + +

    Logged in as %2$s. Log out?', 'twentyten'), - get_option('siteurl') . '/wp-admin/profile.php', + admin_url('profile.php'), wp_specialchars($user_identity, true), wp_logout_url(get_permalink()) ) ?>

    - + - +

    never published nor shared.', 'twentyten') ?> *', 'twentyten') ?>

    - - + +
    *', 'twentyten') ?>
    - +
    *', 'twentyten') ?>
    - +
    - + - +
    - +

    HTML tags and attributes:', 'twentyten') ?>

    - + ID); ?> - +
    - + + -
    - +
    diff --git a/wp-content/themes/twentyten/footer.php b/wp-content/themes/twentyten/footer.php index 376313d4e0..d24a18091f 100644 --- a/wp-content/themes/twentyten/footer.php +++ b/wp-content/themes/twentyten/footer.php @@ -1,22 +1,22 @@ - + - - + + diff --git a/wp-content/themes/twentyten/index.php b/wp-content/themes/twentyten/index.php index d5cda407cf..c21ae5d07b 100644 --- a/wp-content/themes/twentyten/index.php +++ b/wp-content/themes/twentyten/index.php @@ -1,16 +1,16 @@ - -
    + +
    - + max_num_pages; if ( $total_pages > 1 ) { ?> - - - + + +
    >

    @@ -20,14 +20,14 @@ - +
    - -

    This gallery contains get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_parent = '$post->ID' AND post_type = 'attachment'" ); ?> photos.

    - + +

    %2$s photos.', 'twentyten'), 'href="' . get_permalink() . '" title="' . sprintf( __('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '" rel="bookmark"', $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_parent = '$post->ID' AND post_type = 'attachment'" )); ?>

    +
    @@ -38,7 +38,7 @@ the_permalink(); ?>" title="" rel="bookmark">< ?> - | + | @@ -48,8 +48,8 @@ the_permalink(); ?>" title="" rel="bookmark">< -
    > -
    +
    > +
    →', 'twentyten' ) ); ?>
    @@ -59,26 +59,26 @@ the_permalink(); ?>" title="" rel="bookmark">< the_permalink(); ?>" title="" rel="bookmark"> - | + | |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ) ?> -
    +
    - - + +
    >

    - + - -
    + +
    →', 'twentyten' ) ); ?> ' . __( 'Pages:', 'twentyten' ) . '&after=
    ') ?>
    @@ -89,11 +89,11 @@ the_permalink(); ?>" title="" rel="bookmark">< ' . __('Tagged ', 'twentyten' ) . '', ", ", "\n\t\t\t\t\t\t|\n" ) ?> |\n\t\t\t\t\t\t", "\n\t\t\t\t\t\n" ) ?> -
    +
    - - - + + + @@ -102,17 +102,17 @@ the_permalink(); ?>" title="" rel="bookmark"><

    - + max_num_pages; if ( $total_pages > 1 ) { ?> - - - + + + - - + + diff --git a/wp-content/themes/twentyten/searchform.php b/wp-content/themes/twentyten/searchform.php index 8e49d13501..29903bf258 100644 --- a/wp-content/themes/twentyten/searchform.php +++ b/wp-content/themes/twentyten/searchform.php @@ -1,6 +1,6 @@
    - +