Ticket #769: i18n-theme-index-php.diff
| File i18n-theme-index-php.diff, 2.0 KB (added by , 21 years ago) |
|---|
-
wp-content/themes/default/index.php
old new 7 7 <?php while (have_posts()) : the_post(); ?> 8 8 9 9 <div class="post"> 10 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title=" Permanent Link to <?phpthe_title(); ?>"><?php the_title(); ?></a></h2>10 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to'); echo ' '; the_title(); ?>"><?php the_title(); ?></a></h2> 11 11 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> 12 12 13 13 <div class="entry"> 14 <?php the_content( 'Read the rest of this entry »'); ?>14 <?php the_content(__('Read the rest of this entry »')); ?> 15 15 </div> 16 16 17 <p class="postmetadata"> Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>17 <p class="postmetadata"><?php _e('Posted in'); echo ' '; the_category(', ') ?> <strong>|</strong> <?php edit_post_link(__('Edit'),'','<strong>|</strong>'); ?> <?php comments_popup_link(__('No Comments »'), __('1 Comment »'), __('% Comments »')); ?></p> 18 18 19 19 <!-- 20 20 <?php trackback_rdf(); ?> … … 24 24 <?php endwhile; ?> 25 25 26 26 <div class="navigation"> 27 <div class="alignleft"><?php posts_nav_link('','', '« Previous Entries') ?></div>28 <div class="alignright"><?php posts_nav_link('', 'Next Entries »','') ?></div>27 <div class="alignleft"><?php posts_nav_link('','',__('« Previous Entries')) ?></div> 28 <div class="alignright"><?php posts_nav_link('',__('Next Entries »'),'') ?></div> 29 29 </div> 30 30 31 31 <?php else : ?> … … 40 40 41 41 <?php get_sidebar(); ?> 42 42 43 <?php get_footer(); ?> 44 No newline at end of file 43 <?php get_footer(); ?>