Ticket #769: i18n-theme-search-php.diff
| File i18n-theme-search-php.diff, 2.4 KB (added by , 21 years ago) |
|---|
-
wp-content/themes/default/search.php
old new 4 4 5 5 <?php if (have_posts()) : ?> 6 6 7 <h2 class="pagetitle"> Search Results</h2>7 <h2 class="pagetitle"><?php _e('Search Results'); ?></h2> 8 8 9 9 <div class="navigation"> 10 <div class="alignleft"><?php posts_nav_link('','', '« Previous Entries') ?></div>11 <div class="alignright"><?php posts_nav_link('', 'Next Entries »','') ?></div>10 <div class="alignleft"><?php posts_nav_link('','',__('« Previous Entries')) ?></div> 11 <div class="alignright"><?php posts_nav_link('',__('Next Entries »'),'') ?></div> 12 12 </div> 13 13 14 14 15 15 <?php while (have_posts()) : the_post(); ?> 16 16 17 17 <div class="post"> 18 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title=" Permanent Link to <?phpthe_title(); ?>"><?php the_title(); ?></a></h3>18 <h3 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></h3> 19 19 <small><?php the_time('l, F jS, Y') ?></small> 20 20 21 21 <div class="entry"> 22 22 <?php the_excerpt() ?> 23 23 </div> 24 24 25 <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>25 <p class="postmetadata"><?php _e('Posted in'); ?> <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link(__('Edit'),'','<strong>|</strong>'); ?> <?php comments_popup_link(__('No Comments »'), __('1 Comment »'), __('% Comments »')); ?></p> 26 26 27 27 <!-- 28 28 <?php trackback_rdf(); ?> … … 32 32 <?php endwhile; ?> 33 33 34 34 <div class="navigation"> 35 <div class="alignleft"><?php posts_nav_link('','', '« Previous Entries') ?></div>36 <div class="alignright"><?php posts_nav_link('', 'Next Entries »','') ?></div>35 <div class="alignleft"><?php posts_nav_link('','',__('« Previous Entries')) ?></div> 36 <div class="alignright"><?php posts_nav_link('',__('Next Entries »'),'') ?></div> 37 37 </div> 38 38 39 39 <?php else : ?> … … 47 47 48 48 <?php get_sidebar(); ?> 49 49 50 <?php get_footer(); ?> 51 No newline at end of file 50 <?php get_footer(); ?>