i18n update
perez [Wed, 17 Dec 2008 09:00:22 +0000 (10:00 +0100)]
archive.php
comments-popup.php
comments.php
index.php
page.php
search.php
searchform.php
sidebar.php
single.php

index 303b299..8cee542 100644 (file)
@@ -21,7 +21,7 @@
 \r
                <p class="postinfo">\r
 <?php _e('Posted on', '005'); ?> <span class="postdate"><?php the_time('F jS, Y') ?></span> <?php _e('by', '005'); ?> <?php the_author() ?><br />\r
-<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?>\r
+<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link(__('No Comments &#187;', '005'), __('1 Comment &#187;', '005'), __('% Comments &#187;', '005')); ?> <?php edit_post_link(__('Edit', '005'), ' &#124; ', ''); ?>\r
                </p>\r
 \r
                <!--\r
index 9cf56fa..f5ec80f 100644 (file)
@@ -18,12 +18,12 @@ foreach ($posts as $post) { start_wp();
 \r
 <h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1>\r
 \r
-<h2 id="comments">Comments</h2>\r
+<h2 id="comments"><?php _e('Comments', '005');?></h2>\r
 \r
-<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>\r
+<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> <?php _e('feed for comments on this post.', '005');?></a></p>\r
 \r
 <?php if ('open' == $post->ping_status) { ?>\r
-<p><a href="<?php trackback_url() ?>" title="trackback URI to this entry"><?php _e('TrackBack <acronym title="Uniform Resource Identifier">URI</acronym>', '005'); ?></a></p>\r
+<p><a href="<?php trackback_url() ?>" title="<?php _e('trackback URI to this entry', '005');?>"><?php _e('TrackBack <acronym title="Uniform Resource Identifier">URI</acronym>', '005'); ?></a></p>\r
 <?php } ?>\r
 \r
 <?php\r
@@ -47,49 +47,49 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos
 <?php } // end for each comment ?>\r
 </ol>\r
 <?php } else { // this is displayed if there are no comments so far ?>\r
-       <p>No comments yet.</p>\r
+       <p><?php _e('No comments yet.', '005');?></p>\r
 <?php } ?>\r
 \r
 <?php if ('open' == $post->comment_status) { ?>\r
-<h2>Leave a comment</h2>\r
-<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>\r
+<h2><?php _e('Leave a comment', '005');?></h2>\r
+<p><?php _e('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed:', '005');?> <code><?php echo allowed_tags(); ?></code></p>\r
 \r
 <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">\r
        <p>\r
          <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />\r
-          <label for="author">Name</label>\r
+          <label for="author"><?php _e('Name', '005');?></label>\r
        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />\r
        <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" />\r
        </p>\r
 \r
        <p>\r
          <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />\r
-          <label for="email">E-mail</label>\r
+          <label for="email"><?php _e('E-mail', '005');?></label>\r
        </p>\r
 \r
        <p>\r
          <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />\r
-          <label for="url"><acronym title="Uniform Resource Identifier">URI</acronym></label>\r
+          <label for="url"><acronym title="Uniform Resource Identifier"><?php _e('URI', '005');?></acronym></label>\r
        </p>\r
 \r
        <p>\r
-         <label for="comment">Your Comment</label>\r
+         <label for="comment"><?php _e('Your Comment', '005');?></label>\r
        <br />\r
          <textarea name="comment" id="comment" cols="40" rows="4" tabindex="4"></textarea>\r
        </p>\r
 \r
        <p>\r
-         <input name="submit" type="submit" tabindex="5" value="Say It!" />\r
+         <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!', '005');?>" />\r
        </p>\r
        <?php do_action('comment_form', $post->ID); ?>\r
 </form>\r
 <?php } else { // comments are closed ?>\r
-<p>Sorry, the comment form is closed at this time.</p>\r
+<p><?php _e('Sorry, the comment form is closed at this time.', '005');?></p>\r
 <?php }\r
 } // end password check\r
 ?>\r
 \r
-<div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>\r
+<div><strong><a href="javascript:window.close()"><?php _e('Close this window.', '005');?></a></strong></div>\r
 \r
 <?php // if you delete this the sky will fall on your head\r
 }\r
@@ -97,7 +97,7 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos
 \r
 <!-- // this is just the end of the motor - don't touch that line either :) -->\r
 <?php //} ?> \r
-<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>\r
+<p class="credit"><?php timer_stop(1); ?> <cite><?php _e('Powered by', '005');?> <a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform', '005');?>"><strong>Wordpress</strong></a></cite></p>\r
 <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>\r
 <script type="text/javascript">\r
 <!--\r
index 568ada1..a2324fc 100644 (file)
@@ -20,7 +20,7 @@ $oddcomment = 'alt';
 <!-- You can start editing here. -->\r
 \r
 <?php if ($comments) : ?>\r
-       <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>\r
+       <h3 id="comments"><?php comments_number(__('No Responses', '005'), __('One Response', '005'), __('% Responses', '005') );?> to &#8220;<?php the_title(); ?>&#8221;</h3>\r
 \r
 <ol class="commentlist">\r
 <?php foreach ($comments as $comment) : ?>\r
@@ -52,7 +52,7 @@ $oddcomment = 'alt';
        <?php else : // comments are closed ?>\r
 \r
        <!-- If comments are closed. -->\r
-<p class="nocomments">Comments are closed.</p>\r
+<p class="nocomments"><?php _e('Comments are closed.', '005');?></p>\r
 \r
        <?php endif; ?>\r
 <?php endif; ?>\r
@@ -60,28 +60,28 @@ $oddcomment = 'alt';
 \r
 <?php if ('open' == $post->comment_status) : ?>\r
 \r
-               <h3 id="respond">Leave a Reply</h3>\r
+               <h3 id="respond"><?php _e('Leave a Reply', '005');?></h3>\r
 \r
 <?php if ( get_option('comment_registration') && !$user_ID ) : ?>\r
-<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>\r
+<p><?php _e('You must be| logged in to post a comment. ', '005');?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('logged in</a> to post a comment.', '005');?></p>\r
 \r
 <?php else : ?>\r
 \r
 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">\r
 <?php if ( $user_ID ) : ?>\r
 \r
-<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>\r
+<p><?php _e('Logged in as', '005');?> <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="<?php _e('Log out of this account', '005');?>"><?php _e('Logout', '005');?> &raquo;</a></p>\r
 \r
 <?php else : ?>\r
 \r
 <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="30" tabindex="1" />\r
-<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>\r
+<label for="author"><small><?php _e('Name', '005');?> <?php if ($req) echo "(required)"; ?></small></label></p>\r
 \r
 <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="30" tabindex="2" />\r
-<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>\r
+<label for="email"><small><?php _e('Mail (will not be published)', '005');?> <?php if ($req) echo "(required)"; ?></small></label></p>\r
 \r
 <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" />\r
-<label for="url"><small>Website</small></label></p>\r
+<label for="url"><small><?php _e('Website', '005');?></small></label></p>\r
 \r
 <?php endif; ?>\r
 \r
@@ -89,7 +89,7 @@ $oddcomment = 'alt';
 \r
 <p><textarea name="comment" id="comment" cols="70" rows="10" tabindex="4"></textarea></p>\r
 \r
-<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />\r
+<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', '005');?>" />\r
 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />\r
 </p>\r
 \r
index 6146bb7..a07b3ea 100644 (file)
--- a/index.php
+++ b/index.php
                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>\r
                <div class="entry">\r
 \r
-               <?php the_content('Read more...'); ?>\r
+               <?php the_content(__('Read more...', '005')); ?>\r
 \r
                <p class="postinfo">\r
 <?php _e('Posted on', '005'); ?> <span class="postdate"><?php the_time('F jS, Y') ?></span> <?php _e('by', '005'); ?> <?php the_author() ?><br />\r
-<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?>\r
+<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link(__('No Comments &#187;', '005'), __('1 Comment &#187;', '005'), __('% Comments &#187;', '005')); ?> <?php edit_post_link(__('Edit', '005'), ' &#124; ', ''); ?>\r
                </p>\r
 \r
                <!--\r
index e8459b1..f1701b0 100644 (file)
--- a/page.php
+++ b/page.php
@@ -6,8 +6,8 @@
                <div class="entry">\r
 \r
                <?php the_content(); ?>\r
-               <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>\r
-               <?php edit_post_link('Edit', ' &#124; ', ''); ?>\r
+               <?php link_pages(__('<p><strong>Pages:</strong> ', '005'), '</p>', 'number'); ?>\r
+               <?php edit_post_link(__('Edit', '005'), ' &#124; ', ''); ?>\r
 \r
                <!--\r
                <?php trackback_rdf(); ?>\r
index 303b299..8cee542 100644 (file)
@@ -21,7 +21,7 @@
 \r
                <p class="postinfo">\r
 <?php _e('Posted on', '005'); ?> <span class="postdate"><?php the_time('F jS, Y') ?></span> <?php _e('by', '005'); ?> <?php the_author() ?><br />\r
-<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?>\r
+<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link(__('No Comments &#187;', '005'), __('1 Comment &#187;', '005'), __('% Comments &#187;', '005')); ?> <?php edit_post_link(__('Edit', '005'), ' &#124; ', ''); ?>\r
                </p>\r
 \r
                <!--\r
index 348fea4..7ce3e49 100644 (file)
@@ -1,6 +1,6 @@
 <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">\r
 <div>\r
        <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" size="15" />\r
-       <input type="submit" id="searchsubmit" value="Search" />\r
+       <input type="submit" id="searchsubmit" value="<?php _e('Search', '005');?>" />\r
 </div>\r
 </form>
\ No newline at end of file
index af1ac16..08102db 100644 (file)
@@ -28,7 +28,7 @@
                        <li><?php wp_loginout(); ?></li>\r
                        <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS', '005'); ?>" class="feed"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>', '005'); ?></a></li>\r
                        <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('Syndicate comments using RSS', '005'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>', '005'); ?></a></li>\r
-                       <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional"><?php _e('Valid', '005'); ?> <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>\r
+                       <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', '005');?>"><?php _e('Valid', '005'); ?> <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>\r
 \r
                        <?php wp_meta(); ?>\r
                </ul>\r
index 0fae4aa..c7d8305 100644 (file)
@@ -6,10 +6,10 @@
                <div class="entry">\r
 \r
                <?php the_content(); ?>\r
-               <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>\r
+               <?php link_pages(__('<p><strong>Pages:</strong> ', '005'), '</p>', 'number'); ?>\r
                <p class="postinfo">\r
 <?php _e('Posted on', '005'); ?> <span class="postdate"><?php the_time('F jS, Y') ?></span> <?php _e('by', '005'); ?> <?php the_author() ?><br />\r
-<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?>\r
+<?php _e('Filed under&#58;', '005'); ?> <?php the_category(', ') ?> <?php edit_post_link(__('Edit', '005'), ' &#124; ', ''); ?>\r
                </p>\r
 \r
                <!--\r