Make WordPress Core

Changeset 1080 for trunk/wp-comments.php


Ignore:
Timestamp:
04/16/2004 01:56:04 AM (21 years ago)
Author:
rboren
Message:

gettext l10n.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments.php

    r1066 r1080  
    77            if ($HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $post->post_password) {  // and it doesn't match the cookie
    88?>
    9 <p><?php $lang->str('comments_password'); ?><p>
     9<p><?php e_("Enter your password to view comments."); ?><p>
    1010<?php
    1111                return;
     
    2222<!-- You can start editing here. -->
    2323
    24 <h2 id="comments"><?php comments_number($lang->str('comments','',1)); ?>
     24<h2 id="comments"><?php comments_number(__("Comments")); ?>
    2525<?php if ('open' == $post->comment_status) { ?>
    26 <a href="#postcomment" title="<?php $lang->str('leave_a_comment'); ?>">&raquo;</a>
     26<a href="#postcomment" title="<?php _e("Leave a comment"); ?>">&raquo;</a>
    2727<?php } ?>
    2828</h2>
    2929<?php if ('open' == $post->ping_status) { ?>
    30 <p><?php $lang->str('trackback_uri'); ?> <em><?php trackback_url() ?></em></p>
     30<p><?php _e("The <acronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>
    3131<?php } ?>
    3232
     
    3737    <li id="comment-<?php comment_ID() ?>">
    3838    <?php comment_text() ?>
    39     <p><cite><?php comment_type(); ?> <?php $lang->str('by'); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link($lang->str('edit_this', '', 1), ' |'); ?></p>
     39    <p><cite><?php comment_type(); ?> <?php _e("by"); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
    4040    </li>
    4141
     
    4343</ol>
    4444<?php } else { // this is displayed if there are no comments so far ?>
    45     <p><?php $lang->str('no_comments'); ?></p>
     45    <p><?php _e("No comments yet."); ?></p>
    4646<?php } ?>
    47 <p><?php comments_rss_link($lang->str('comments_rss_post', '', 1)); ?></p>
    48 <h2 id="postcomment"><?php $lang->str('leave_a_comment'); ?></h2>
     47<p><?php comments_rss_link(__("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post.")); ?></p>
     48<h2 id="postcomment"><?php _e("Leave a comment"); ?></h2>
    4949<?php if ('open' == $post->comment_status) { ?>
    50 <p><?php $lang->str('comments_instructions'); ?> <code><?php echo allowed_tags(); ?></code></p>
     50<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>
    5151
    5252<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    5353    <p>
    5454      <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    55        <label for="author"><?php $lang->str('comment_name'); ?></label>
     55       <label for="author"><?php _e("Name"); ?></label>
    5656    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    5757    <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
     
    6060    <p>
    6161      <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
    62        <label for="email"><?php $lang->str('comment_email'); ?></label>
     62       <label for="email"><?php _e("E-mail"); ?></label>
    6363    </p>
    6464
    6565    <p>
    6666      <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
    67        <label for="url"><?php $lang->str('comment_uri'); ?></label>
     67       <label for="url"><?php _e("<acronym title=\"Uniform Resource Identifier\">URI</acronym>"); ?></label>
    6868    </p>
    6969
    7070    <p>
    71       <label for="comment"><?php $lang->str('comment_body'); ?></label>
     71      <label for="comment"><?php _e("Your Comment"); ?></label>
    7272    <br />
    7373      <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
     
    7575
    7676    <p>
    77       <input name="submit" type="submit" tabindex="5" value="<?php $lang->str('say_it'); ?>" />
     77      <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
    7878    </p>
    7979</form>
    8080<?php } else { // comments are closed ?>
    81 <p><?php $lang->str('comments_closed'); ?></p>
     81<p><?php _e("Sorry, the comment form is closed at this time."); ?></p>
    8282<?php } ?>
    8383
Note: See TracChangeset for help on using the changeset viewer.