Make WordPress Core

Ticket #24: 0000024-translation.patch

File 0000024-translation.patch, 21.7 KB (added by Albert, 20 years ago)
  • index.php

    RCS file: /cvsroot/cafelog/wordpress/index.php,v
    retrieving revision 1.75
    diff -u -r1.75 index.php
     
    100100                <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> 2.0'); ?></a></li>
    101101                <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0'); ?></a></li>
    102102                <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>
    103                 <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress; state-of-the-art semantic personal publishing platform.'); ?>">WP</a></li>
     103                <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WP</a></li>
    104104        </ul>
    105105 </li>
    106106
     
    110110
    111111</div>
    112112
    113 <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform")); ?></cite></p>
     113<p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p>
    114114</body>
    115115</html>
  • wp-comments-popup.php

    RCS file: /cvsroot/cafelog/wordpress/wp-comments-popup.php,v
    retrieving revision 1.12
    diff -u -r1.12 wp-comments-popup.php
     
    100100
    101101<!-- // this is just the end of the motor - don't touch that line either :) -->
    102102<?php //} ?>
    103 <p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>Wordpress</strong></a></cite>"),__("Powered by WordPress; state-of-the-art semantic personal publishing platform.")); ?></p>
     103<p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>Wordpress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p>
    104104<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
    105105<script type="text/javascript">
    106106<!--
  • wp-comments.php

    RCS file: /cvsroot/cafelog/wordpress/wp-comments.php,v
    retrieving revision 1.20
    diff -u -r1.20 wp-comments.php
     
    4545<?php if ( comments_open() ) : ?>
    4646<h2 id="postcomment"><?php _e('Leave a comment'); ?></h2>
    4747
    48 <p><?php _e('Line and paragraph breaks automatic. E-mail address never displayed. <abbr title="HyperText Markup Language">HTML</abbr> allowed:'); ?> <code><?php echo allowed_tags(); ?></code></p>
     48<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>
    4949
    5050<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    5151        <p>
  • wp-login.php

    RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
    retrieving revision 1.24
    diff -u -r1.24 wp-login.php
     
    182182<form name="" action="wp-login.php" method="post" id="lostpass">
    183183<input type="hidden" name="action" value="retrievepassword" />
    184184<label><?php _e('Login:') ?> <input type="text" name="user_login" id="user_login" value="" size="12" /></label><br />
    185 <label><?php _e('Email:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br />
     185<label><?php _e('E-mail:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br />
    186186<input type="submit" name="Submit2" value="OK" class="search">
    187187
    188188</form>
     
    203203        $user_login = $user_data->user_login;
    204204        $user_email = $user_data->user_email;
    205205
    206         if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or email address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));
     206        if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or e-mail address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));
    207207        // Generate something random for a password... md5'ing current time with a rand salt
    208208    $user_pass = substr((MD5("time" . rand(1,16000))), 0, 6);
    209209        // now insert the new pass md5'd into the db
     
    215215        $m = mail($user_email, '[' . get_settings('blogname') . "] Your weblog's login/password", $message);
    216216
    217217        if ($m == false) {
    218                 echo "<p>The email could not be sent.<br />\n";
    219                 echo "Possible reason: your host may have disabled the mail() function...</p>";
     218                echo "<p><?php _e('The e-mail could not be sent.') ?><br />\n";
     219                echo "<?php _e('Possible reason: your host may have disabled the mail() function...') ?></p>";
    220220                die();
    221221        } else {
    222                 echo "<p>The email was sent successfully to $user_login's email address.<br />
    223                 <a href='wp-login.php' title='Check your email first, of course'>Click here to login!</a></p>";
     222                echo "<p><?php _e('The e-mail was sent successfully to $user_login's e-mail address.') ?><br />
     223                <?php _e('<a href='wp-login.php' title=\'Check your e-mail first, of course\'>Click here to login!</a>
     224') ?></p>";
    224225                // send a copy of password change notification to the admin
    225226                mail(get_settings('admin_email'), '[' . get_settings('blogname') . "] Password Lost/Change", "Password Lost and Changed for user: $user_login");
    226227                die();
  • wp-admin/edit-comments.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit-comments.php,v
    retrieving revision 1.25
    diff -u -r1.25 edit-comments.php
     
    3434  <input type="text" name="s" value="<?php if (isset($s)) echo $s; ?>" size="17" />
    3535  <input type="submit" name="submit" value="<?php _e('Search') ?>"  /> 
    3636  <input type="hidden" name="mode" value="<?php echo $mode; ?>" />
    37   <?php _e('(Searches within comment text, email, URI, and IP address.)') ?>
     37  <?php _e('(Searches within comment text, e-mail, URI, and IP address.)') ?>
    3838  </fieldset>
    3939</form>
    4040<p><a href="?mode=view"><?php _e('View Mode') ?></a> | <a href="?mode=edit"><?php _e('Mass Edit Mode') ?></a></p>
     
    7979                                echo '<li style="border-bottom: 1px solid #ccc;">';
    8080                        }
    8181                ?>             
    82         <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('Email:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
     82        <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
    8383               
    8484                <?php comment_text() ?>
    8585
     
    113113  <tr>
    114114    <th scope="col">*</th>
    115115    <th scope="col">' .  __('Name') . '</th>
    116     <th scope="col">' .  __('Email') . '</th>
     116    <th scope="col">' .  __('E-mail') . '</th>
    117117    <th scope="col">' . __('IP') . '</th>
    118118    <th scope="col">' . __('Comment Excerpt') . '</th>
    119119        <th scope="col" colspan="3">' .  __('Actions') . '</th>
  • wp-admin/moderation.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/moderation.php,v
    retrieving revision 1.11
    diff -u -r1.11 moderation.php
     
    151151       
    152152        echo "\n\t<li id='comment-$comment->comment_ID'>";
    153153        ?>
    154                         <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('Email:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
     154                        <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
    155155<?php comment_text() ?>
    156156<p><?php
    157157echo "<a href=\"post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">" . __('Edit') . "</a>";
  • wp-admin/options-discussion.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-discussion.php,v
    retrieving revision 1.16
    diff -u -r1.16 options-discussion.php
     
    11<?php
    22require_once('../wp-includes/wp-l10n.php');
    33
    4 $title = 'Discussion Options';
     4$title = __('Discussion Options');
    55$parent_file = 'options-general.php';
    66
    77function add_magic_quotes($array) {
     
    6868                </ul>
    6969</fieldset>
    7070<fieldset class="options">
    71         <legend><?php _e('Email me whenever:') ?></legend>
     71        <legend><?php _e('E-mail me whenever:') ?></legend>
    7272                <ul>
    7373                        <li>
    7474                                <label for="comments_notify">
     
    9393                        <li>
    9494                                <label for="require_name_email">
    9595                                <input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> />
    96                                 <?php _e('User must fill out name and email') ?> </label>
     96                                <?php _e('User must fill out name and e-mail') ?> </label>
    9797                        </li>
    9898                </ul>
    9999</fieldset>
     
    101101    <legend><?php _e('Comment Moderation') ?></legend>
    102102    <p><?php printf(__('Hold a comment in the queue if it contains more than %s links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_settings('comment_max_links'). '" />' ) ?></p>
    103103
    104     <p><?php _e('When a comment contains any of these words in its content, name, URI,  email, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.') ?></p>
     104    <p><?php _e('When a comment contains any of these words in its content, name, URI, e-mail, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.') ?></p>
    105105                <p>
    106106                        <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea>
    107107                </p>
  • wp-admin/options-misc.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-misc.php,v
    retrieving revision 1.10
    diff -u -r1.10 options-misc.php
     
    11<?php
    22require_once('../wp-includes/wp-l10n.php');
    33
    4 $title = 'Miscellaneous Options';
     4$title = __('Miscellaneous Options');
    55$parent_file = 'options-general.php';
    66
    77function add_magic_quotes($array) {
  • wp-admin/options-permalink.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-permalink.php,v
    retrieving revision 1.34
    diff -u -r1.34 options-permalink.php
     
    8989  <p><code>/archives/2003/05/23/my-cheese-sandwich/</code></p>
    9090  <p> In general for this you must use mod_rewrite, however if you put a filename at the beginning WordPress will attempt to use that to pass the arguments, for example:</p>
    9191  <p><code>/index.php/archives/%year%/%monthnum%/%day%/%postname%/</code> </p>
    92   <p>If you use this option you can ignore the mod_rewrite rules. </p>') ?>
     92  <p>If you use this option you can ignore the mod_rewrite rules.</p>') ?>
    9393  <form name="form" action="options-permalink.php" method="post">
    9494    <p><?php _e('Use the template tags above to create a virtual site structure:') ?></p>
    9595    <p>
  • wp-admin/options-reading.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-reading.php,v
    retrieving revision 1.10
    diff -u -r1.10 options-reading.php
     
    11<?php
    22require_once('../wp-includes/wp-l10n.php');
    33
    4 $title = 'Reading Options';
     4$title = __('Reading Options');
    55$parent_file = 'options-general.php';
    66
    77function add_magic_quotes($array) {
     
    6868                        <tr valign="top">
    6969                <th width="33%" scope="row"><?php _e('Show the most recent:') ?></th>
    7070                                <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php echo get_settings('posts_per_rss'); ?>" size="3" />
    71                                         posts </td>
     71                                        <?php _('posts') ?></td>
    7272                        </tr>
    7373                        <tr valign="top">
    7474                <th scope="row"><?php _e('For each article, show:') ?> </th>
    7575                                <td><label>
    7676                                        <input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?>  />
    77                                         full text</label>                                       <br />
     77                                        <?php _e('full text') ?></label>                                        <br>
    7878                                        <label>
    7979                                        <input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> />
    80                                         summary</label> </td>
     80                                        <?php _('summary') ?></label> </td>
    8181                        </tr>
    8282                </table>
    8383                </fieldset>
  • wp-admin/options-writing.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-writing.php,v
    retrieving revision 1.19
    diff -u -r1.19 options-writing.php
     
    6262          <label for="advanced_edit"></label></td>
    6363      </tr>
    6464      <tr valign="top">
    65         <th width="33%" scope="row"> Size of the writing box:</th>
     65        <th width="33%" scope="row"> <?php _e('Size of the writing box:') ?></th>
    6666        <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php echo get_settings('default_post_edit_rows'); ?>" size="2" style="width: 1.5em; " />
    67           lines </td>
     67         <?php _e('lines') ?></td>
    6868      </tr>
    6969      <tr valign="top">
    7070        <th scope="row"><?php _e('Formatting:') ?></th>
     
    9595        <textarea name="ping_sites" id="ping_sites" style="width: 98%;"><?php echo get_settings('ping_sites'); ?></textarea>
    9696        </fieldset>
    9797    <fieldset class="options">
    98         <legend><?php _e('Writing by Email') ?></legend>
    99         <p><?php printf(__('To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5)) ?></p>
     98        <legend><?php _e('Writing by e-mail') ?></legend>
     99        <p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5)) ?></p>
    100100       
    101101                <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    102102                <tr valign="top">
  • wp-admin/options.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/options.php,v
    retrieving revision 1.24
    diff -u -r1.24 options.php
     
    11<?php
    2 $title = 'Options';
     2require_once('../wp-includes/wp-l10n.php');
     3
     4$title = __('Options');
    35$this_file = 'options.php';
    46$parent_file = 'options-general.php';
    57
  • wp-admin/post.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
    retrieving revision 1.66
    diff -u -r1.66 post.php
     
    511511echo "<p><?php __('<strong>Caution:</strong> You are about to delete the following comment:'); ?></p>\n";
    512512echo "<table border=\"0\">\n";
    513513echo "<tr><td>" . __('Author:') . "</td><td>" . $commentdata["comment_author"] . "</td></tr>\n";
    514 echo "<tr><td>" . __('E-Mail:') . "</td><td>" . $commentdata["comment_author_email"] . "</td></tr>\n";
     514echo "<tr><td>" . __('E-mail:') . "</td><td>" . $commentdata["comment_author_email"] . "</td></tr>\n";
    515515echo "<tr><td>". __('URL:') . "</td><td>" . $commentdata["comment_author_url"] . "</td></tr>\n";
    516516echo "<tr><td>". __('Comment:') . "</td><td>" . stripslashes($commentdata["comment_content"]) . "</td></tr>\n";
    517517echo "</table>\n";
     
    790790
    791791?>
    792792<div class="wrap">
    793           <?php printf(__('<p>Since you&#8217;re a newcomer, you&#8217;ll have to wait for an admin to raise your level to 1, in order to be authorized to post blog items.<br />
    794 You can also <a href="mailto:%s?subject=Blog posting permission">e-mail the admin</a> to ask for a promotion.<br />
    795 When you&#8217;re promoted, just reload this page and you&#8217;ll be able to blog. :)</p>'), get_settings('admin_email')); ?>
     793                <p><?php printf(__('Since you&#8217;re a newcomer, you&#8217;ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />
     794You can also <a href="mailto:%s?subject=Promotion?">e-mail the admin</a> to ask for a promotion.<br />
     795When you&#8217;re promoted, just reload this page and you&#8217;ll be able to blog. :)'), get_settings('admin_email')); ?>
     796                </p>
    796797</div>
    797798<?php
    798799
  • wp-admin/profile.php

    RCS file: /cvsroot/cafelog/wordpress/wp-admin/profile.php,v
    retrieving revision 1.23
    diff -u -r1.23 profile.php
     
    6464                die (__("<strong>ERROR</strong>: please type your e-mail address"));
    6565                return false;
    6666        } else if (!is_email($_POST["newuser_email"])) {
    67                 die (__("<strong>ERROR</strong>: the email address isn't correct"));
     67                die (__("<strong>ERROR</strong>: the e-mail address isn't correct"));
    6868                return false;
    6969        }
    7070
     
    157157 
    158158<p> <strong><?php _e('Nickname:') ?></strong> <?php echo $profiledata->user_nickname ?> </p>
    159159 
    160 <p> <strong><?php _e('Email:') ?></strong> <?php echo make_clickable($profiledata->user_email) ?>
     160<p> <strong><?php _e('E-mail:') ?></strong> <?php echo make_clickable($profiledata->user_email) ?>
    161161</p>
    162162 
    163163<p> <strong><?php _e('Website:') ?></strong> <?php echo $profiledata->user_url ?> </p>
     
    275275      <td><input type="text" name="newuser_nickname" id="newuser_nickname2" value="<?php echo $profiledata->user_nickname ?>" /></td>
    276276    </tr>
    277277    <tr>
    278       <th scope="row"><?php _e('Email:') ?></th>
     278      <th scope="row"><?php _e('E-mail:') ?></th>
    279279      <td><input type="text" name="newuser_email" id="newuser_email2" value="<?php echo $profiledata->user_email ?>" /></td>
    280280    </tr>
    281281    <tr>