WordPress.org

Make WordPress Core

Ticket #4059: Kubrick-L10N.diff

File Kubrick-L10N.diff, 42.3 KB (added by Sewar, 11 years ago)
  • 404.php

     
    22
    33        <div id="content" class="narrowcolumn">
    44
    5                 <h2 class="center">Error 404 - Not Found</h2>
     5                <h2 class="center"><?php _e('Error 404 - Not Found', 'kubrick'); ?></h2>
    66
    77        </div>
    88
  • archive.php

     
    22
    33        <div id="content" class="narrowcolumn">
    44<?php is_tag(); ?>
    5                 <?php if (have_posts()) : ?>
    65
    7                  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    8 <?php /* If this is a category archive */ if (is_category()) { ?>
    9                 <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
    10 <?php } elseif( is_tag() ) { ?>
    11 <h2 class="pagetitle">Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Tag</h2>
    12           <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    13                 <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
     6<?php if (have_posts()) : ?>
     7        <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    148
    15          <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    16                 <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
     9        <?php /* If this is a category archive */ if (is_category()) { ?>
     10                <h2 class="pagetitle"><?php printf(__("Archive for the &#39;%s&#39; category", 'kubrick'), single_cat_title('', false)); ?></h2>
    1711
    18                 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    19                 <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
     12        <?php } elseif( is_tag() ) { ?>
     13                <h2 class="pagetitle"><?php printf(__("Archive for the &#39;%s&#39; tag", 'kubrick'), single_cat_title()); ?></h2>
    2014
    21           <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    22                 <h2 class="pagetitle">Author Archive</h2>
     15        <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
     16                <h2 class="pagetitle"><?php printf(__("Archive for the day %s", 'kubrick'), get_the_time(__('F jS, Y', 'kubrick'))); ?></h2>
    2317
    24                 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    25                 <h2 class="pagetitle">Blog Archives</h2>
     18        <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
     19                <h2 class="pagetitle"><?php printf(__("Archive for the month %s", 'kubrick'), get_the_time(__('F, Y', 'kubrick'))); ?></h2>
    2620
    27                 <?php } ?>
     21        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
     22                <h2 class="pagetitle"><?php printf(__("Archive for the year %s", 'kubrick'), get_the_time(__('Y', 'kubrick'))); ?></h2>
    2823
     24        <?php /* If this is a search */ } elseif (is_search()) { ?>
     25                <h2 class="pagetitle"><?php _e("Search Results", 'kubrick'); ?></h2>
    2926
     27        <?php /* If this is an author archive */ } elseif (is_author()) { ?>
     28                <h2 class="pagetitle"><?php _e("Author Archive", 'kubrick'); ?></h2>
     29
     30        <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
     31                <h2 class="pagetitle"><?php _e("Blog Archives", 'kubrick'); ?></h2>
     32
     33        <?php } ?>
     34
     35
    3036                <div class="navigation">
    31                         <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    32                         <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     37                        <div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries', 'kubrick')) ?></div>
     38                        <div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;', 'kubrick')) ?></div>
    3339                </div>
    3440
    3541                <?php while (have_posts()) : the_post(); ?>
    3642                <div class="post">
    37                                 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    38                                 <small><?php the_time('l, F jS, Y') ?></small>
     43                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title('','',false)); ?>"><?php the_title(); ?></a></h3>
     44                                <small><?php the_time(__('l, F jS, Y', 'kubrick')) ?></small>
    3945
    4046                                <div class="entry">
    4147                                        <?php the_content() ?>
    4248                                </div>
    4349
    44                                 <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>
     50                                <p class="postmetadata"><?php the_tags(__('Tags: ', 'kubrick'), ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?>  <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick')); ?></p>
    4551
    4652                        </div>
    4753
    4854                <?php endwhile; ?>
    4955
    5056                <div class="navigation">
    51                         <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    52                         <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     57                        <div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries', 'kubrick')) ?></div>
     58                        <div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;', 'kubrick')) ?></div>
    5359                </div>
    5460
    5561        <?php else : ?>
    5662
    57                 <h2 class="center">Not Found</h2>
     63                <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
    5864                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    5965
    6066        <?php endif; ?>
     
    6369
    6470<?php get_sidebar(); ?>
    6571
    66 <?php get_footer(); ?>
     72<?php get_footer(); ?>
     73 No newline at end of file
  • archives.php

     
    88
    99<div id="content" class="widecolumn">
    1010
    11 <?php include (TEMPLATEPATH . '/searchform.php'); ?>
     11        <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    1212
    13 <h2>Archives by Month:</h2>
    14         <ul>
    15                 <?php wp_get_archives('type=monthly'); ?>
    16         </ul>
     13        <h2><?php _e("Archives by Month:", 'kubrick'); ?></h2>
     14          <ul>
     15            <?php wp_get_archives('type=monthly'); ?>
     16          </ul>
    1717
    18 <h2>Archives by Subject:</h2>
    19         <ul>
    20                 <?php wp_list_categories(); ?>
    21         </ul>
     18        <h2><?php _e("Archives by Subject:", 'kubrick'); ?></h2>
     19          <ul>
     20            <?php wp_list_categories(); ?>
     21          </ul>
    2222
    2323</div>
    2424
  • attachment.php

     
    22
    33        <div id="content" class="widecolumn">
    44
    5   <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     5        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    66
    77                <div class="navigation">
    88                        <div class="alignleft">&nbsp;</div>
    99                        <div class="alignright">&nbsp;</div>
    1010                </div>
     11
    1112<?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?>
    1213<?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?>
     14
    1315                <div class="post" id="post-<?php the_ID(); ?>">
    1416                        <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     17
    1518                        <div class="entry">
    1619                                <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p>
    1720
    18                                 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
     21                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'kubrick') . '</p>'); ?>
    1922
    20                                 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     23                                <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    2124
    2225                                <p class="postmetadata alt">
    2326                                        <small>
    24                                                 This entry was posted
    25                                                 <?php /* This is commented, because it requires a little adjusting sometimes.
    26                                                         You'll need to download this plugin, and follow the instructions:
    27                                                         http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    28                                                         /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    29                                                 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    30                                                 and is filed under <?php the_category(', ') ?>.
    31                                                 You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
     27                                                <?php printf(__('This entry was posted on %s at %s and is filed under %s.', 'kubrick'), get_the_time(__('l, F jS, Y', 'kubrick')), get_the_time(), get_the_category_list(', '));?>
     28                                                <?php printf(__('You can follow any responses to this entry through the %s feed.', 'kubrick'), '<a href="' . comments_rss('') . '">' . __('RSS 2.0', 'kubrick') . '</a>'); ?>
    3229
    3330                                                <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    34                                                         // Both Comments and Pings are open ?>
    35                                                         You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
     31                                                        // Both Comments and Pings are open
     32                                                        printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false));
    3633
    37                                                 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    38                                                         // Only Pings are Open ?>
    39                                                         Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
     34                                                } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
     35                                                        // Only Pings are Open
     36                                                        printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false));
    4037
    41                                                 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    42                                                         // Comments are open, Pings are not ?>
    43                                                         You can skip to the end and leave a response. Pinging is currently not allowed.
     38                                                } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
     39                                                        // Comments are open, Pings are not
     40                                                        _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'kubrick');
    4441
    45                                                 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    46                                                         // Neither Comments, nor Pings are open ?>
    47                                                         Both comments and pings are currently closed.
     42                                                } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
     43                                                        // Neither Comments, nor Pings are open
     44                                                        _e('Both comments and pings are currently closed.', 'kubrick');
    4845
    49                                                 <?php } edit_post_link('Edit this entry.','',''); ?>
     46                                                } edit_post_link(__('Edit this entry.', 'kubrick'), '', ''); ?>
    5047
    5148                                        </small>
    5249                                </p>
     
    5855
    5956        <?php endwhile; else: ?>
    6057
    61                 <p>Sorry, no attachments matched your criteria.</p>
     58                <p><?php _e('Sorry, no attachments matched your criteria.', 'kubrick'); ?></p>
    6259
    6360<?php endif; ?>
    6461
  • comments-popup.php

     
    44while ( have_posts()) : the_post();
    55?>
    66<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    7 <html xmlns="http://www.w3.org/1999/xhtml">
     7<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    88<head>
    9      <title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title>
     9     <title><?php printf(__('%1$s - Comments on %2$s', 'kubrick'), get_option('blogname'), the_title('', '', false)); ?></title>
    1010
    1111        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    1212        <style type="text/css" media="screen">
     
    1919
    2020<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
    2121
    22 <h2 id="comments">Comments</h2>
     22<h2 id="comments"><?php _e('Comments', 'kubrick'); ?></h2>
    2323
    24 <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>
     24<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.', 'kubrick'); ?></a></p>
    2525
    2626<?php if ('open' == $post->ping_status) { ?>
    27 <p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
     27<p><?php printf(__('The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em>%s</em>', 'kubrick'), trackback_url(false)); ?></p>
    2828<?php } ?>
    2929
    3030<?php
     
    4242<?php foreach ($comments as $comment) { ?>
    4343        <li id="comment-<?php comment_ID() ?>">
    4444        <?php comment_text() ?>
    45         <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>
     45        <p><cite><?php comment_type(__('Comment', 'kubrick'), __('Trackback', 'kubrick'), __('Pingback', 'kubrick')); ?> by <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
    4646        </li>
    4747
    4848<?php } // end for each comment ?>
    4949</ol>
    5050<?php } else { // this is displayed if there are no comments so far ?>
    51         <p>No comments yet.</p>
     51        <p><?php _e('No comments yet.', 'kubrick'); ?></p>
    5252<?php } ?>
    5353
    5454<?php if ('open' == $post->comment_status) { ?>
    55 <h2>Leave a comment</h2>
    56 <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>
     55<h2><?php _e('Leave a comment', 'kubrick'); ?></h2>
     56<p><?php _e('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed:', 'kubrick'); ?> <code><?php echo allowed_tags(); ?></code></p>
    5757
    5858<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    59 <?php if ( $user_ID ) : ?> 
    60         <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>
    61 <?php else : ?> 
     59<?php if ( $user_ID ) : ?>
     60        <p><?php printf(__('Logged in as <a href="%s">%s</a>. <a href="%s" title="Log out of this account">Logout &raquo;</a>', 'kubrick'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity, get_option('siteurl') . '/wp-login.php?action=logout'); ?></p>
     61<?php else : ?>
    6262        <p>
    6363          <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    64            <label for="author">Name</label>
     64           <label for="author"><?php _e('Name', 'kubrick'); ?></label>
    6565        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    6666        <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    6767        </p>
    6868
    6969        <p>
    7070          <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
    71            <label for="email">E-mail</label>
     71           <label for="email"><?php _e('E-mail', 'kubrick'); ?></label>
    7272        </p>
    7373
    7474        <p>
    7575          <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
    76            <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label>
     76           <label for="url"><?php _e('<abbr title="Universal Resource Locator">URL</abbr>', 'kubrick'); ?></label>
    7777        </p>
    7878<?php endif; ?>
    7979
    8080        <p>
    81           <label for="comment">Your Comment</label>
     81          <label for="comment"><?php _e('Your Comment', 'kubrick'); ?></label>
    8282        <br />
    8383          <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
    8484        </p>
    8585
    8686        <p>
    87           <input name="submit" type="submit" tabindex="5" value="Say It!" />
     87          <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!', 'kubrick'); ?>" />
    8888        </p>
    8989        <?php do_action('comment_form', $post->ID); ?>
    9090</form>
    9191<?php } else { // comments are closed ?>
    92 <p>Sorry, the comment form is closed at this time.</p>
     92<p><?php _e('Sorry, the comment form is closed at this time.', 'kubrick'); ?></p>
    9393<?php }
    9494} // end password check
    9595?>
    9696
    97 <div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>
     97<div><strong><a href="javascript:window.close()"><?php _e('Close this window.', 'kubrick'); ?></a></strong></div>
    9898
    9999<?php // if you delete this the sky will fall on your head
    100100endwhile;
     
    102102
    103103<!-- // this is just the end of the motor - don't touch that line either :) -->
    104104<?php //} ?>
    105 <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>
     105<p class="credit"><?php timer_stop(1); ?> <cite><?php _e('Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a>', 'kubrick'); ?></cite></p>
    106106<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
    107107<script type="text/javascript">
    108108<!--
  • comments.php

     
    11<?php // Do not delete these lines
    22        if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    3                 die ('Please do not load this page directly. Thanks!');
     3                wp_die(__('Please do not load this page directly. Thanks!', 'kubrick'));
    44
    5         if (!empty($post->post_password)) { // if there's a password
    6                 if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    7                         ?>
     5        if (!empty($post->post_password)) { // if there's a password
     6            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
     7                                ?>
    88
    9                         <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
     9                                <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'kubrick'); ?><p>
    1010
    11                         <?php
    12                         return;
    13                 }
    14         }
     11                                <?php
     12                                return;
     13            }
     14        }
    1515
    1616        /* This variable is for alternating comment background */
    1717        $oddcomment = 'class="alt" ';
     
    2020<!-- You can start editing here. -->
    2121
    2222<?php if ($comments) : ?>
    23         <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
     23        <h3 id="comments"><?php printf(__('%1$s to &#8220;%2$s&#8221;', 'kubrick'), comments_number(__('No Responses', 'kubrick'), __('One Response', 'kubrick'), __('% Responses', 'kubrick')), the_title('', '', false)); ?></h3>
    2424
    2525        <ol class="commentlist">
    2626
    2727        <?php foreach ($comments as $comment) : ?>
    2828
    2929                <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
    30                         <cite><?php comment_author_link() ?></cite> Says:
     30                        <cite><?php comment_author_link() ?></cite> <?php _e('Says:', 'kubrick'); ?>
    3131                        <?php if ($comment->comment_approved == '0') : ?>
    32                         <em>Your comment is awaiting moderation.</em>
     32                        <em><?php _e('Your comment is awaiting moderation.', 'kubrick'); ?></em>
    3333                        <?php endif; ?>
    3434                        <br />
    3535
    36                         <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
     36                        <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php printf(__('%s at %s', 'kubrick'), get_comment_date(__('F jS, Y', 'kubrick')), get_comment_time()); ?></a> <?php edit_comment_link(__('Edit comment', 'kubrick'),'',''); ?></small>
    3737
    3838                        <?php comment_text() ?>
    3939
     
    5555
    5656         <?php else : // comments are closed ?>
    5757                <!-- If comments are closed. -->
    58                 <p class="nocomments">Comments are closed.</p>
     58                <p class="nocomments"><?php _e('Comments are closed.', 'kubrick') ?></p>
    5959
    6060        <?php endif; ?>
    6161<?php endif; ?>
     
    6363
    6464<?php if ('open' == $post->comment_status) : ?>
    6565
    66 <h3 id="respond">Leave a Reply</h3>
     66<h3 id="respond"><?php _e('Leave a Reply', 'kubrick'); ?></h3>
    6767
    6868<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    69 <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
     69<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'kubrick'), get_option('siteurl') . '/wp-login.php?redirect_to=' . get_permalink()); ?></p>
    7070<?php else : ?>
    7171
    7272<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    7373
    7474<?php if ( $user_ID ) : ?>
    75 
    76 <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>
    77 
     75        <p><?php printf(__('Logged in as <a href="%s">%s</a>. <a href="%s" title="Log out of this account">Logout &raquo;</a>', 'kubrick'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity, get_option('siteurl') . '/wp-login.php?action=logout'); ?></p>
    7876<?php else : ?>
    7977
    8078<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    81 <label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
     79<label for="author"><small><?php _e('Name', 'kubrick'); ?> <?php if ($req) _e('(required)', 'kubrick'); ?></small></label></p>
    8280
    8381<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
    84 <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
     82<label for="email"><small><?php _e('Mail (will not be published)', 'kubrick'); ?> <?php if ($req) _e('(required)', 'kubrick'); ?></small></label></p>
    8583
    8684<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
    87 <label for="url"><small>Website</small></label></p>
     85<label for="url"><small><?php _e('Website', 'kubrick'); ?></small></label></p>
    8886
    8987<?php endif; ?>
    9088
    91 <!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
     89<!--<p><small><?php _e('<strong>XHTML:</strong> You can use these tags:', 'kubrick'); ?> <?php echo allowed_tags(); ?></small></p>-->
    9290
    9391<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
    9492
    95 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
     93<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'kubrick'); ?>" />
    9694<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    9795</p>
    9896<?php do_action('comment_form', $post->ID); ?>
  • footer.php

     
    33<div id="footer">
    44<!-- If you'd like to support WordPress, having the "powered by" link someone on your blog is the best way, it's our only promotion or advertising. -->
    55        <p>
    6                 <?php bloginfo('name'); ?> is proudly powered by
    7                 <a href="http://wordpress.org/">WordPress</a>
    8                 <br /><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
    9                 and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
    10                 <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
     6                <?php printf(__('%s is proudly powered by <a href="http://wordpress.org/">WordPress</a>', 'kubrick'), get_bloginfo('name')); ?>
     7                <br /><?php printf(__('<a href="feed:%s">Entries (RSS)</a> and <a href="feed:%s">Comments (RSS)</a>.', 'kubrick'), get_bloginfo('rss2_url'), get_bloginfo('comments_rss2_url')); ?>
     8                <!-- <?php printf(__('%s queries. %s seconds.', 'kubrick'), get_num_queries(), timer_stop(0)); ?> -->
    119        </p>
    1210</div>
    1311</div>
  • functions.php

     
    77        'after_title' => '</h2>',
    88    ));
    99
     10load_theme_textdomain('kubrick');
     11
    1012function kubrick_head() {
    1113        $head = "<style type='text/css'>\n<!--";
    1214        $output = '';
  • header.php

     
    44<head profile="http://gmpg.org/xfn/11">
    55<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    66
    7 <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
     7<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; <?php _e('Blog Archive', 'kubrick'); ?> <?php } ?> <?php wp_title(); ?></title>
    88
    99<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    1010
  • index.php

     
    77                <?php while (have_posts()) : the_post(); ?>
    88
    99                        <div class="post" id="post-<?php the_ID(); ?>">
    10                                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    11                                 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
     10                                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title('', '', false)); ?>"><?php the_title(); ?></a></h2>
     11                                <small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- <?php printf(__('by %s', 'kubrick'), get_the_author()); ?> --></small>
    1212
    1313                                <div class="entry">
    14                                         <?php the_content('Read the rest of this entry &raquo;'); ?>
     14                                        <?php the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
    1515                                </div>
    1616
    17                                 <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>
     17                                <p class="postmetadata"><?php the_tags(__('Tags: '), ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?>  <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick')); ?></p>
    1818                        </div>
    1919
    2020                <?php endwhile; ?>
    2121
    2222                <div class="navigation">
    23                         <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    24                         <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     23                        <div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries', 'kubrick')) ?></div>
     24                        <div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;', 'kubrick')) ?></div>
    2525                </div>
    2626
    2727        <?php else : ?>
    2828
    29                 <h2 class="center">Not Found</h2>
    30                 <p class="center">Sorry, but you are looking for something that isn't here.</p>
     29                <h2 class="center"><?php _e("Not Found", 'kubrick'); ?></h2>
     30                <p class="center"><?php _e("Sorry, but you are looking for something that isn't here.", 'kubrick'); ?></p>
    3131                <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    3232
    3333        <?php endif; ?>
  • links.php

     
    88
    99<div id="content" class="widecolumn">
    1010
    11 <h2>Links:</h2>
    12 <ul>
    13 <?php get_links_list(); ?>
    14 </ul>
     11        <h2><?php _e('Links:', 'kubrick'); ?></h2>
     12        <ul>
     13        <?php get_links_list(); ?>
     14        </ul>
    1515
    1616</div>
    1717
  • page.php

     
    22
    33        <div id="content" class="narrowcolumn">
    44
    5                 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     5    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    66                <div class="post" id="post-<?php the_ID(); ?>">
    77                <h2><?php the_title(); ?></h2>
    88                        <div class="entry">
    9                                 <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
     9                                <?php the_content('<p class="serif">' . __('Read the rest of this page', 'kubrick') . ' &raquo;</p>'); ?>
    1010
    11                                 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     11                                <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages', 'kubrick') . ':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    1212
    1313                        </div>
    1414                </div>
    15                 <?php endwhile; endif; ?>
    16         <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
     15        <?php endwhile; endif; ?>
     16        <?php edit_post_link(__('Edit this entry.', 'kubrick'), '<p>', '</p>'); ?>
     17       
    1718        </div>
    1819
    1920<?php get_sidebar(); ?>
  • search.php

     
    44
    55        <?php if (have_posts()) : ?>
    66
    7                 <h2 class="pagetitle">Search Results</h2>
     7                <h2 class="pagetitle"><?php _e('Search Results', 'kubrick'); ?></h2>
    88
    99                <div class="navigation">
    10                         <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    11                         <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     10                        <div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries', 'kubrick')) ?></div>
     11                        <div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;', 'kubrick')) ?></div>
    1212                </div>
    1313
    1414
    1515                <?php while (have_posts()) : the_post(); ?>
    1616
    1717                        <div class="post">
    18                                 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    19                                 <small><?php the_time('l, F jS, Y') ?></small>
     18                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title('', '', false)); ?>"><?php the_title(); ?></a></h3>
     19                                <small><?php the_time(__('l, F jS, Y', 'kubrick')) ?></small>
    2020
    21                                 <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>
     21                                <p class="postmetadata"><?php the_tags(__('Tags: ', 'kubrick'), ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?>  <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick')); ?></p>
    2222                        </div>
    2323
    2424                <?php endwhile; ?>
    2525
    2626                <div class="navigation">
    27                         <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    28                         <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     27                        <div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries', 'kubrick')) ?></div>
     28                        <div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;', 'kubrick')) ?></div>
    2929                </div>
    3030
    3131        <?php else : ?>
    3232
    33                 <h2 class="center">No posts found. Try a different search?</h2>
     33                <h2 class="center"><?php _e('No posts found. Try a different search?', 'kubrick'); ?></h2>
    3434                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    3535
    3636        <?php endif; ?>
  • searchform.php

     
    11<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    22<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    3 <input type="submit" id="searchsubmit" value="Search" />
     3<input type="submit" id="searchsubmit" value="<?php _e('Search', 'kubrick'); ?>" />
    44</div>
    55</form>
  • sidebar.php

     
    77                        </li>
    88
    99                        <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
    10                         <li><h2>Author</h2>
     10                        <li><h2><?php _e('Author', 'kubrick'); ?></h2>
    1111                        <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    1212                        </li>
    1313                        -->
     
    1818
    1919                        <?php /* If this is a 404 page */ if (is_404()) { ?>
    2020                        <?php /* If this is a category archive */ } elseif (is_category()) { ?>
    21                         <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
     21                        <p><?php printf(__('You are currently browsing the archives for the &#39;%s&#39; category.', 'kubrick'), single_cat_title('', false)); ?></p>
    2222
    2323                        <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
    24                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    25                         for the day <?php the_time('l, F jS, Y'); ?>.</p>
     24                        <p><?php printf(__('You are currently browsing the <a href="%s">%s</a> weblog archives
     25                        for the day %s.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('l, F jS, Y', 'kubrick'))); ?></p>
    2626
    2727                        <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    28                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    29                         for <?php the_time('F, Y'); ?>.</p>
     28                        <p><?php printf(__('You are currently browsing the <a href="%s">%s</a> weblog archives
     29                        for the month %s.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y', 'kubrick'))); ?></p>
    3030
    3131                        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    32                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    33                         for the year <?php the_time('Y'); ?>.</p>
     32                        <p><?php printf(__('You are currently browsing the <a href="%s">%s</a> weblog archives
     33                        for the year %s.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('Y', 'kubrick'))); ?></p>
    3434
    3535                        <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
    36                         <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    37                         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>
     36                        <p><?php printf(__('You have searched the <a href="%s">%s</a> weblog archives
     37                        for <strong>&#39;%s&#39;</strong>. If you are unable to find anything in these search results, you can try one of these links.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), the_search_query()); ?></p>
    3838
    3939                        <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    40                         <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
     40                        <p><?php printf(__('You are currently browsing the <a href="%s">%s</a> weblog archives.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name')); ?></p>
    4141
    4242                        <?php } ?>
    4343                               
    4444                        </li> <?php }?>
    4545
    46                         <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
     46                        <?php wp_list_pages('title_li=<h2>' . __('Pages', 'kubrick') . '</h2>' ); ?>
    4747
    48                         <li><h2>Archives</h2>
     48                        <li><h2><?php _e('Archives', 'kubrick'); ?></h2>
    4949                                <ul>
    5050                                <?php wp_get_archives('type=monthly'); ?>
    5151                                </ul>
    5252                        </li>
    5353
    54                         <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
     54                        <?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'kubrick') . '</h2>'); ?>
    5555
    5656                        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    5757                                <?php wp_list_bookmarks(); ?>
    5858
    59                                 <li><h2>Meta</h2>
     59                                <li><h2><?php _e('Meta', 'kubrick'); ?></h2>
    6060                                <ul>
    6161                                        <?php wp_register(); ?>
    6262                                        <li><?php wp_loginout(); ?></li>
    63                                         <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>
    64                                         <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    65                                         <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
     63                                        <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', 'kubrick'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>', 'kubrick'); ?></a></li>
     64                                        <li><a href="http://gmpg.org/xfn/"><?php _e('<abbr title="XHTML Friends Network">XFN</abbr>', 'kubrick'); ?></a></li>
     65                                        <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'kubrick'); ?>"><?php _e('WordPress', 'kubrick'); ?></a></li>
    6666                                        <?php wp_meta(); ?>
    6767                                </ul>
    6868                                </li>
  • single.php

     
    55        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    66
    77                <div class="navigation">
    8                         <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
    9                         <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
     8                        <div class="alignleft"><?php previous_post_link(__('&laquo; %link', 'kubrick')) ?></div>
     9                        <div class="alignright"><?php next_post_link(__('%link &raquo;', 'kubrick')) ?></div>
    1010                </div>
    1111
    1212                <div class="post" id="post-<?php the_ID(); ?>">
    13                         <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     13                        <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php __('Permanent Link:', 'kubrick') . ' ' . the_title(); ?>"><?php the_title(); ?></a></h2>
    1414
    1515                        <div class="entry">
    16                                 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
     16                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'kubrick') . '</p>'); ?>
    1717
    18                                 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     18                                <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    1919                                <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
    2020
    2121                                <p class="postmetadata alt">
    2222                                        <small>
    23                                                 This entry was posted
    24                                                 <?php /* This is commented, because it requires a little adjusting sometimes.
    25                                                         You'll need to download this plugin, and follow the instructions:
    26                                                         http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    27                                                         /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    28                                                 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    29                                                 and is filed under <?php the_category(', ') ?>.
    30                                                 You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
     23                                                <?php printf(__('This entry was posted on %s at %s and is filed under %s.', 'kubrick'), get_the_time(__('l, F jS, Y', 'kubrick')), get_the_time(), get_the_category_list(', '));?>
     24                                                <?php printf(__('You can follow any responses to this entry through the %s feed.', 'kubrick'), '<a href="' . comments_rss('') . '">' . __('RSS 2.0', 'kubrick') . '</a>'); ?>
    3125
    3226                                                <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    33                                                         // Both Comments and Pings are open ?>
    34                                                         You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
     27                                                        // Both Comments and Pings are open
     28                                                        printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false));
    3529
    36                                                 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    37                                                         // Only Pings are Open ?>
    38                                                         Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
     30                                                } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
     31                                                        // Only Pings are Open
     32                                                        printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'kubrick'), trackback_url(false));
    3933
    40                                                 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    41                                                         // Comments are open, Pings are not ?>
    42                                                         You can skip to the end and leave a response. Pinging is currently not allowed.
     34                                                } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
     35                                                        // Comments are open, Pings are not
     36                                                        _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'kubrick');
    4337
    44                                                 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    45                                                         // Neither Comments, nor Pings are open ?>
    46                                                         Both comments and pings are currently closed.
     38                                                } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
     39                                                        // Neither Comments, nor Pings are open
     40                                                        _e('Both comments and pings are currently closed.', 'kubrick');
    4741
    48                                                 <?php } edit_post_link('Edit this entry.','',''); ?>
     42                                                } edit_post_link(__('Edit this entry.', 'kubrick'), '', ''); ?>
    4943
    5044                                        </small>
    5145                                </p>
     
    5751
    5852        <?php endwhile; else: ?>
    5953
    60                 <p>Sorry, no posts matched your criteria.</p>
     54                <p><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></p>
    6155
    6256<?php endif; ?>
    6357