WordPress.org

Make WordPress Core

Ticket #7307: kubrik.r9086.patch

File kubrik.r9086.patch, 34.4 KB (added by msi08, 12 years ago)
  • comments.php

     
    66
    77// Do not delete these lines
    88        if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    9                 die ('Please do not load this page directly. Thanks!');
     9                die ( __('Please do not load this page directly. Thanks!') );
    1010
    1111        if ( post_password_required() ) { ?>
    12                 <p class="nocomments">This post is password protected. Enter the password to view comments.</p>
     12                <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments'); ?>.</p>
    1313        <?php
    1414                return;
    1515        }
     
    1818<!-- You can start editing here. -->
    1919
    2020<?php if ( have_comments() ) : ?>
    21         <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
     21        <h3 id="comments"><?php comments_number( __('No Responses'), __('One Response'), __('% Responses') );?> <?php _e('to'); ?> &#8220;<?php the_title(); ?>&#8221;</h3>
    2222
    2323        <ol class="commentlist">
    2424        <?php wp_list_comments(); ?>
     
    3434
    3535         <?php else : // comments are closed ?>
    3636                <!-- If comments are closed. -->
    37                 <p class="nocomments">Comments are closed.</p>
     37                <p class="nocomments"><?php _e('Comments are closed'); ?>.</p>
    3838
    3939        <?php endif; ?>
    4040<?php endif; ?>
     
    4444
    4545<div id="respond">
    4646
    47 <h3>Leave a Reply</h3>
     47<h3><?php _e('Leave a Reply'); ?></h3>
    4848
    4949<div id="cancel-comment-reply" style="display: none;">
    5050        <small><?php echo cancel_comment_reply_link() ?></small>
    5151</div>
    5252
    5353<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    54 <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
     54<p><?php printf( _c('You must be <a href="%1$s">logged in</a> to post a comment.|1: login URL'), get_option('siteurl') . "/wp-login.php?redirect_to=" . urlencode(get_permalink()) ); ?></p>
     55
    5556<?php else : ?>
    5657
    5758<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    5859
    5960<?php if ( $user_ID ) : ?>
    6061
    61 <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
     62<p><?php printf( _c('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>|1: profile URL, 2: user name, 3: logout URL'), get_option('siteurl') . "/wp-admin/profile.php", $user_identity, wp_logout_url(get_permalink()) ); ?></p>
    6263
    6364<?php else : ?>
    6465
    6566<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
    66 <label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
     67<label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
    6768
    6869<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
    69 <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
     70<label for="email"><small><?php _e('Mail (will not be published)'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
    7071
    7172<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
    72 <label for="url"><small>Website</small></label></p>
     73<label for="url"><small><?php _e('Website'); ?></small></label></p>
    7374
    7475<?php endif; ?>
    7576
    76 <!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
     77<!--<p><small><strong>XHTML:</strong> <?php printf( __('You can use these tags: %s'), '<code>' . allowed_tags() . '</code>' ); ?></small></p>-->
    7778
    7879<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
    7980
    80 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
     81<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment'); ?>" />
    8182<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    8283<input type="hidden" name="comment_parent" id="comment-parent" value="0" />
    8384</p>
  • image.php

     
    1717                                <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p>
    1818                                <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
    1919
    20                                 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
     20                                <?php the_content('<p class="serif">' . __('Read the rest of this entry') . ' &raquo;</p>'); ?>
    2121
    2222                                <div class="navigation">
    2323                                        <div class="alignleft"><?php previous_image_link() ?></div>
     
    2727
    2828                                <p class="postmetadata alt">
    2929                                        <small>
    30                                                 This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    31                                                 and is filed under <?php the_category(', ') ?>.
     30                                                <?php printf( _c('This entry was posted on %1$s at %2$s and is filed under %3$s.|1: date, 2: time, 3: categories'), get_the_time( get_option('date_format') ), get_the_time( get_option('time_format') ), get_the_category_list(', ') ); ?>
    3231                                                <?php the_taxonomies(); ?>
    33                                                 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
     32                                                <?php printf( _c('You can follow any responses to this entry through the %1$s feed.|1: comments feed URL'), '<a href="' . get_post_comments_feed_link() . '">' . __('RSS 2.0') . '</a>' ); ?>
    3433
    3534                                                <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    3635                                                        // Both Comments and Pings are open ?>
    37                                                         You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
     36                                                        <?php printf( __("You can <a href='#respond'>leave a response</a>, or <a href='%s' rel='trackback'>trackback</a> from your own site"), get_trackback_url() ); ?>.
    3837
    3938                                                <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    4039                                                        // Only Pings are Open ?>
    41                                                         Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
     40                                                        <?php printf( __("Responses are currently closed, but you can <a href='%s' rel='trackback'>trackback</a> from your own site"), get_trackback_url() ); ?>.
    4241
    4342                                                <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    4443                                                        // Comments are open, Pings are not ?>
    45                                                         You can skip to the end and leave a response. Pinging is currently not allowed.
     44                                                        <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed'); ?>.
    4645
    4746                                                <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    4847                                                        // Neither Comments, nor Pings are open ?>
    49                                                         Both comments and pings are currently closed.
     48                                                        <?php _e('Both comments and pings are currently closed'); ?>.
    5049
    51                                                 <?php } edit_post_link('Edit this entry.','',''); ?>
     50                                                <?php } edit_post_link( __('Edit this entry'),'','.'); ?>
    5251
    5352                                        </small>
    5453                                </p>
     
    6160
    6261        <?php endwhile; else: ?>
    6362
    64                 <p>Sorry, no attachments matched your criteria.</p>
     63                <p><?php _e('Sorry, no attachments matched your criteria'); ?>.</p>
    6564
    6665<?php endif; ?>
    6766
  • archive.php

     
    1313
    1414          <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    1515          <?php /* If this is a category archive */ if (is_category()) { ?>
    16                 <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
     16                <h2 class="pagetitle"><?php printf( __('Archive for the &#8216;%s&#8217; Category'), single_cat_title( '', false ) ); ?></h2>
    1717          <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    18                 <h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h2>
     18                <h2 class="pagetitle"><?php printf( __('Posts Tagged &#8216;%s&#8217;'), single_tag_title( '', false ) ); ?></h2>
    1919          <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    20                 <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
     20                <h2 class="pagetitle"><?php printf( __('Archive for %s'), get_the_time(__('F jS, Y')) ); ?></h2>
    2121          <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    22                 <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
     22                <h2 class="pagetitle"><?php printf( __('Archive for %s'), get_the_time(__('F, Y')) ); ?></h2>
    2323          <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    24                 <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
     24                <h2 class="pagetitle"><?php printf( __('Archive for %s'), get_the_time(__('Y')) ); ?></h2>
    2525          <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    26                 <h2 class="pagetitle">Author Archive</h2>
     26                <h2 class="pagetitle"><?php _e('Author Archive'); ?></h2>
    2727          <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    28                 <h2 class="pagetitle">Blog Archives</h2>
     28                <h2 class="pagetitle"><?php _e('Blog Archives'); ?></h2>
    2929          <?php } ?>
    3030
    3131
    3232                <div class="navigation">
    33                         <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    34                         <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     33                        <div class="alignleft"><?php next_posts_link( __('&laquo; Older Entries') ) ?></div>
     34                        <div class="alignright"><?php previous_posts_link( __('Newer Entries &raquo;') ) ?></div>
    3535                </div>
    3636
    3737                <?php while (have_posts()) : the_post(); ?>
    3838                <div <?php post_class() ?>>
    39                                 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    40                                 <small><?php the_time('l, F jS, Y') ?></small>
     39                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( __('Permanent Link to %s'), attribute_escape(strip_tags(get_the_title())) ); ?>"><?php the_title(); ?></a></h3>
     40                                <small><?php the_time( get_option('date_format') ) ?></small>
    4141
    4242                                <div class="entry">
    4343                                        <?php the_content() ?>
    4444                                </div>
    4545
    46                                 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     46                                <p class="postmetadata"><?php the_tags( __('Tags') . ': ', ', ', '<br />'); ?> <?php printf( __('Posted in %s'), get_the_category_list(', ') ); ?> | <?php edit_post_link( __('Edit'), '', ' | '); ?>  <?php comments_popup_link( __('No Comments') . ' &#187;', __('1 Comment') . ' &#187;', __('% Comments') . ' &#187;', '', __('Comments Off') ); ?></p>
    4747
    4848                        </div>
    4949
    5050                <?php endwhile; ?>
    5151
    5252                <div class="navigation">
    53                         <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    54                         <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     53                        <div class="alignleft"><?php next_posts_link( __('&laquo; Older Entries') ) ?></div>
     54                        <div class="alignright"><?php previous_posts_link( __('Newer Entries &raquo;') ) ?></div>
    5555                </div>
    5656
    5757        <?php else : ?>
    5858
    59                 <h2 class="center">Not Found</h2>
     59                <h2 class="center"><?php _e('Not Found'); ?></h2>
    6060                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    6161
    6262        <?php endif; ?>
  • 404.php

     
    99
    1010        <div id="content" class="narrowcolumn">
    1111
    12                 <h2 class="center">Error 404 - Not Found</h2>
     12                <h2 class="center"><?php _e('Error 404 - Not Found'); ?></h2>
    1313
    1414        </div>
    1515
    1616<?php get_sidebar(); ?>
    1717
    18 <?php get_footer(); ?>
    19  Kein Zeilenumbruch am Dateiende.
     18<?php get_footer(); ?>
  • searchform.php

     
    77<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    88<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
    99<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    10 <input type="submit" id="searchsubmit" value="Search" />
     10<input type="submit" id="searchsubmit" value="<?php _e('Search'); ?>" />
    1111</div>
    1212</form>
  • sidebar.php

     
    1313                        </li>
    1414
    1515                        <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
    16                         <li><h2>Author</h2>
     16                        <li><h2><?php _e('Author'); ?></h2>
    1717                        <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    1818                        </li>
    1919                        -->
     
    2424
    2525                        <?php /* If this is a 404 page */ if (is_404()) { ?>
    2626                        <?php /* If this is a category archive */ } elseif (is_category()) { ?>
    27                         <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
     27                        <p><?php printf( _c('You are currently browsing the archives for the %1$s category|1: category'), single_cat_title( '', false ) ); ?>.</p>
    2828
    2929                        <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
    30                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
    31                         for the day <?php the_time('l, F jS, Y'); ?>.</p>
     30                        <p><?php printf( _c('You are currently browsing the %1$s blog archives for the day %2$s|1: blog URL, 2: day'), '<a href="' . get_bloginfo('url') .'/">' . get_bloginfo('name') .'</a>', get_the_time( __('l, F jS, Y') ) ); ?>.</p>
    3231
    3332                        <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    34                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
    35                         for <?php the_time('F, Y'); ?>.</p>
     33                        <p><?php printf( _c('You are currently browsing the %1$s blog archives for %2$s|1: blog URL, 2: month'), '<a href="' . get_bloginfo('url') .'/">' . get_bloginfo('name') .'</a>', get_the_time( __('F, Y') ) ); ?>.</p>
    3634
    3735                        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    38                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
    39                         for the year <?php the_time('Y'); ?>.</p>
     36                        <p><?php printf( _c('You are currently browsing the %1$s blog archives for the year %2$s|1: blog URL, 2: year'), '<a href="' . get_bloginfo('url') .'/">' . get_bloginfo('name') .'</a>', get_the_time( __('Y') ) ); ?>.</p>
    4037
    4138                        <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
    42                         <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
    43                         for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
     39                        <p><?php printf( _c('You have searched the %1$s blog archives for <strong>\'%2$s\'</strong>. If you are unable to find anything in these search results, you can try one of these links|1: blog URL, 2: search query'), '<a href="' . get_bloginfo('url') .'/">' . get_bloginfo('name') .'</a>', get_search_query() ); ?>.</p>
    4440
    4541                        <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    46                         <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p>
     42                        <p><?php printf( _c('You are currently browsing the %1$s blog archives|1: blog URL'), '<a href="' . get_bloginfo('url') .'/">' . get_bloginfo('name') . '</a>' ); ?>.</p>
    4743
    4844                        <?php } ?>
    4945
    5046                        </li> <?php }?>
    5147
    52                         <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
     48                        <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
    5349
    54                         <li><h2>Archives</h2>
     50                        <li><h2><?php _e('Archives'); ?></h2>
    5551                                <ul>
    5652                                <?php wp_get_archives('type=monthly'); ?>
    5753                                </ul>
    5854                        </li>
    5955
    60                         <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
     56                        <?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories') . '</h2>'); ?>
    6157
    6258                        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    6359                                <?php wp_list_bookmarks(); ?>
    6460
    65                                 <li><h2>Meta</h2>
     61                                <li><h2><?php _e('Meta'); ?></h2>
    6662                                <ul>
    6763                                        <?php wp_register(); ?>
    6864                                        <li><?php wp_loginout(); ?></li>
    69                                         <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    70                                         <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    71                                         <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
     65                                        <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
     66                                        <li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network'); ?>">XFN</abbr></a></li>
     67                                        <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>
    7268                                        <?php wp_meta(); ?>
    7369                                </ul>
    7470                                </li>
  • header.php

     
    1010<head profile="http://gmpg.org/xfn/11">
    1111<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    1212
    13 <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
     13<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; <?php _e('Blog Archive'); ?> <?php } ?> <?php wp_title(); ?></title>
    1414
    1515<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    1616<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  • index.php

     
    1313                <?php while (have_posts()) : the_post(); ?>
    1414
    1515                        <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    16                                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    17                                 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
     16                                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( __('Permanent Link to %s'), attribute_escape(strip_tags(get_the_title())) ); ?>"><?php the_title(); ?></a></h2>
     17                                <small><?php the_time( get_option('date_format') ) ?> <!-- by <?php the_author() ?> --></small>
    1818
    1919                                <div class="entry">
    20                                         <?php the_content('Read the rest of this entry &raquo;'); ?>
     20                                        <?php the_content( __('Read the rest of this entry') . ' &raquo;'); ?>
    2121                                </div>
    2222
    23                                 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     23                                <p class="postmetadata"><?php the_tags( __('Tags') . ': ', ', ', '<br />'); ?> <?php printf( __('Posted in %s'), get_the_category_list(', ') ) ?> | <?php edit_post_link( __('Edit'), '', ' | '); ?>  <?php comments_popup_link( __('No Comments') .' &#187;', __('1 Comment') . ' &#187;', __('% Comments') . ' &#187;', '', __('Comments Off') ); ?></p>
    2424                        </div>
    2525
    2626                <?php endwhile; ?>
    2727
    2828                <div class="navigation">
    29                         <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    30                         <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     29                        <div class="alignleft"><?php next_posts_link( __('&laquo; Older Entries') ) ?></div>
     30                        <div class="alignright"><?php previous_posts_link( __('Newer Entries &raquo;') ) ?></div>
    3131                </div>
    3232
    3333        <?php else : ?>
    3434
    35                 <h2 class="center">Not Found</h2>
    36                 <p class="center">Sorry, but you are looking for something that isn't here.</p>
     35                <h2 class="center"><?php _e('Not Found'); ?></h2>
     36                <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here'); ?> .</p>
    3737                <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    3838
    3939        <?php endif; ?>
  • footer.php

     
    99<div id="footer">
    1010<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
    1111        <p>
    12                 <?php bloginfo('name'); ?> is proudly powered by
    13                 <a href="http://wordpress.org/">WordPress</a>
    14                 <br /><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
    15                 and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
    16                 <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
     12                <?php printf( _c('%1$s is proudly powered by %2$s|1: blog name, 2: WordPress URL'), get_bloginfo('name'), '<a href="http://wordpress.org/">WordPress</a>' ); ?>.<br />
     13                <?php printf( _c('%1$s and %2$s|1: entries RSS, 2: comments RSS'), '<a href="' . get_bloginfo('rss2_url') . '">' . __("Entries (RSS)") . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __("Comments (RSS)") . '</a>' ); ?>.
    1714        </p>
    1815</div>
    1916</div>
  • search.php

     
    1010
    1111        <?php if (have_posts()) : ?>
    1212
    13                 <h2 class="pagetitle">Search Results</h2>
     13                <h2 class="pagetitle"><?php _e('Search Results'); ?></h2>
    1414
    1515                <div class="navigation">
    16                         <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    17                         <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     16                        <div class="alignleft"><?php next_posts_link( __('&laquo; Older Entries') ) ?></div>
     17                        <div class="alignright"><?php previous_posts_link( __('Newer Entries &raquo;') ) ?></div>
    1818                </div>
    1919
    2020
    2121                <?php while (have_posts()) : the_post(); ?>
    2222
    2323                        <div <?php post_class() ?>>
    24                                 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    25                                 <small><?php the_time('l, F jS, Y') ?></small>
     24                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( __('Permanent Link to %s'), attribute_escape(strip_tags(get_the_title())) ); ?>"><?php the_title(); ?></a></h3>
     25                                <small><?php the_time( get_option('date_format') ) ?></small>
    2626
    27                                 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     27                                <p class="postmetadata"><?php the_tags( __('Tags') . ': ', ', ', '<br />'); ?> <?php printf( __('Posted in %s'), get_the_category_list(', ') ); ?> | <?php edit_post_link( __('Edit'), '', ' | '); ?>  <?php comments_popup_link( __('No Comments') . ' &#187;', __('1 Comment') . ' &#187;', __('% Comments') . ' &#187;', '', __('Comments Off') ); ?></p>
    2828                        </div>
    2929
    3030                <?php endwhile; ?>
    3131
    3232                <div class="navigation">
    33                         <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    34                         <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     33                        <div class="alignleft"><?php next_posts_link( __('&laquo; Older Entries') ) ?></div>
     34                        <div class="alignright"><?php previous_posts_link( __('Newer Entries &raquo;') ) ?></div>
    3535                </div>
    3636
    3737        <?php else : ?>
    3838
    39                 <h2 class="center">No posts found. Try a different search?</h2>
     39                <h2 class="center"><?php _e('No posts found. Try a different search?'); ?></h2>
    4040                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    4141
    4242        <?php endif; ?>
     
    4545
    4646<?php get_sidebar(); ?>
    4747
    48 <?php get_footer(); ?>
    49  Kein Zeilenumbruch am Dateiende.
     48<?php get_footer(); ?>
  • links.php

     
    1313
    1414<div id="content" class="widecolumn">
    1515
    16 <h2>Links:</h2>
     16<h2><?php _e('Links'); ?>:</h2>
    1717<ul>
    1818<?php wp_list_bookmarks(); ?>
    1919</ul>
  • page.php

     
    1212                <div class="post" id="post-<?php the_ID(); ?>">
    1313                <h2><?php the_title(); ?></h2>
    1414                        <div class="entry">
    15                                 <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
     15                                <?php the_content('<p class="serif">' . __('Read the rest of this page') . ' &raquo;</p>'); ?>
    1616
    17                                 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     17                                <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages') . ':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    1818
    1919                        </div>
    2020                </div>
    2121                <?php endwhile; endif; ?>
    22         <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
     22        <?php edit_post_link( __('Edit this entry'), '<p>', '.</p>'); ?>
    2323        </div>
    2424
    2525<?php get_sidebar(); ?>
    2626
    27 <?php get_footer(); ?>
    28  Kein Zeilenumbruch am Dateiende.
     27<?php get_footer(); ?>
  • single.php

     
    2020                        <h2><?php the_title(); ?></h2>
    2121
    2222                        <div class="entry">
    23                                 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
     23                                <?php the_content('<p class="serif">' . __('Read the rest of this entry') . ' &raquo;</p>'); ?>
    2424
    25                                 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     25                                <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages') . ':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    2626                                <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
    2727
    2828                                <p class="postmetadata alt">
    2929                                        <small>
    30                                                 This entry was posted
    31                                                 <?php /* This is commented, because it requires a little adjusting sometimes.
    32                                                         You'll need to download this plugin, and follow the instructions:
    33                                                         http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    34                                                         /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    35                                                 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    36                                                 and is filed under <?php the_category(', ') ?>.
    37                                                 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
     30                                                <?php printf( _c('This entry was posted on %1$s at %2$s and is filed under %3$s. You can follow any responses to this entry through the %4$s feed.|1: date, 2: time, 3: categories, 4: comments feed URL'), get_the_time( get_option('date_format') ), get_the_time( get_option('time_format') ), get_the_category_list(', '), '<a href="' . get_post_comments_feed_link() . '">' . __("RSS 2.0") . '</a>' ); ?>
    3831
    3932                                                <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    4033                                                        // Both Comments and Pings are open ?>
    41                                                         You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
     34                                                        <?php printf( __("You can <a href='#respond'>leave a response</a>, or <a href='%s' rel='trackback'>trackback</a> from your own site"), get_trackback_url() ); ?>.
    4235
    4336                                                <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    4437                                                        // Only Pings are Open ?>
    45                                                         Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
     38                                                        <?php printf( __("Responses are currently closed, but you can <a href='%s' rel='trackback'>trackback</a> from your own site"), get_trackback_url() ); ?>.
    4639
    4740                                                <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    4841                                                        // Comments are open, Pings are not ?>
    49                                                         You can skip to the end and leave a response. Pinging is currently not allowed.
     42                                                        <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed'); ?>.
    5043
    5144                                                <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    5245                                                        // Neither Comments, nor Pings are open ?>
    53                                                         Both comments and pings are currently closed.
     46                                                        <?php _e('Both comments and pings are currently closed'); ?>.
    5447
    55                                                 <?php } edit_post_link('Edit this entry','','.'); ?>
     48                                                <?php } edit_post_link( __('Edit this entry'),'','.'); ?>
    5649
    5750                                        </small>
    5851                                </p>
     
    6457
    6558        <?php endwhile; else: ?>
    6659
    67                 <p>Sorry, no posts matched your criteria.</p>
     60                <p><?php _e('Sorry, no posts matched your criteria'); ?>.</p>
    6861
    6962<?php endif; ?>
    7063
  • archives.php

     
    1414
    1515<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    1616
    17 <h2>Archives by Month:</h2>
     17<h2><?php _e('Archives by Month'); ?>:</h2>
    1818        <ul>
    1919                <?php wp_get_archives('type=monthly'); ?>
    2020        </ul>
    2121
    22 <h2>Archives by Subject:</h2>
     22<h2><?php _e('Archives by Subject'); ?>:</h2>
    2323        <ul>
    2424                 <?php wp_list_categories(); ?>
    2525        </ul>
  • comments-popup.php

     
    1111<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    1212<html xmlns="http://www.w3.org/1999/xhtml">
    1313<head>
    14      <title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title>
     14     <title><?php echo get_option('blogname'); ?> - <?php printf( __('Comments on %s'), get_the_title() ); ?></title>
    1515
    1616        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    1717        <style type="text/css" media="screen">
     
    2424
    2525<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
    2626
    27 <h2 id="comments">Comments</h2>
     27<h2 id="comments"><?php _e('Comments'); ?></h2>
    2828
    29 <p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
     29<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></a></p>
    3030
    3131<?php if ('open' == $post->ping_status) { ?>
    32 <p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
     32<p><?php _e('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is:'); ?> <em><?php trackback_url() ?></em></p>
    3333<?php } ?>
    3434
    3535<?php
     
    4747<?php foreach ($comments as $comment) { ?>
    4848        <li id="comment-<?php comment_ID() ?>">
    4949        <?php comment_text() ?>
    50         <p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
     50        <p><cite><?php comment_type( __('Comment'), __('Trackback'), __('Pingback')); ?> <?php printf( _c('by %1$s &#8212; %2$s @ %3$s|1: author, 2: date, 3: time&link'), get_comment_author_link(), get_comment_date(), '<a href="#comment-' . get_comment_ID() . '">' . get_comment_time() . '</a>' ); ?></cite></p>
    5151        </li>
    5252
    5353<?php } // end for each comment ?>
    5454</ol>
    5555<?php } else { // this is displayed if there are no comments so far ?>
    56         <p>No comments yet.</p>
     56        <p><?php _e('No comments yet.'); ?></p>
    5757<?php } ?>
    5858
    5959<?php if ('open' == $post->comment_status) { ?>
    60 <h2>Leave a comment</h2>
    61 <p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
     60<h2><?php _e('Leave a comment'); ?></h2>
     61<p><?php _e('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed:'); ?> <code><?php echo allowed_tags(); ?></code></p>
    6262
    6363<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    6464<?php if ( $user_ID ) : ?>
    65         <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
     65        <p><?php printf( _c('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>|1: profile URL, 2: user name, 3: logout URL'), get_option('siteurl') . "/wp-admin/profile.php", $user_identity, wp_logout_url(get_permalink()) ); ?></p>
    6666<?php else : ?>
    6767        <p>
    6868          <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    69            <label for="author">Name</label>
     69           <label for="author"><?php _e('Name'); ?></label>
    7070        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    7171        <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    7272        </p>
    7373
    7474        <p>
    7575          <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
    76            <label for="email">E-mail</label>
     76           <label for="email"><?php _e('E-mail'); ?></label>
    7777        </p>
    7878
    7979        <p>
    8080          <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
    81            <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label>
     81           <label for="url"><?php _e('<abbr title="Universal Resource Locator">URL</abbr>'); ?></label>
    8282        </p>
    8383<?php endif; ?>
    8484
    8585        <p>
    86           <label for="comment">Your Comment</label>
     86          <label for="comment"><?php _e('Your Comment'); ?></label>
    8787        <br />
    8888          <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
    8989        </p>
    9090
    9191        <p>
    92           <input name="submit" type="submit" tabindex="5" value="Say It!" />
     92          <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!'); ?>" />
    9393        </p>
    9494        <?php do_action('comment_form', $post->ID); ?>
    9595</form>
    9696<?php } else { // comments are closed ?>
    97 <p>Sorry, the comment form is closed at this time.</p>
     97<p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
    9898<?php }
    9999} // end password check
    100100?>
    101101
    102 <div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>
     102<div><strong><a href="javascript:window.close()"><?php _e('Close this window.'); ?></a></strong></div>
    103103
    104104<?php // if you delete this the sky will fall on your head
    105105endwhile;
     
    107107
    108108<!-- // this is just the end of the motor - don't touch that line either :) -->
    109109<?php //} ?>
    110 <p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p>
     110<p class="credit"><?php timer_stop(1); ?> <cite><?php printf( __('Powered by %s'), '<a href="http://wordpress.org/" title="' . __('Powered by WordPress, state-of-the-art semantic personal publishing platform.') . '"><strong>WordPress</strong></a>' ); ?></cite></p>
    111111<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
    112112<script type="text/javascript">
    113113<!--