Make WordPress Core


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-popup.php

    r1067 r1080  
    99<html xmlns="http://www.w3.org/1999/xhtml">
    1010<head>
    11     <title><?php echo get_settings('blogname'); ?> - <?php $lang->str('comments_on',the_title('','',false)); ?></title>
     11     <title><?php echo get_settings('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title>
    1212
    1313    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
     
    2222<h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1>
    2323
    24 <h2 id="comments"><?php $lang->str('comments'); ?></h2>
     24<h2 id="comments"><?php _e("Comments"); ?></h2>
    2525
    26 <p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><?php $lang->str('comments_rss_post'); ?></a></p>
     26<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><?php _e("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."); ?></a></p>
    2727
    2828<?php if ('open' == $post->ping_status) { ?>
    29 <p><?php $lang->str('trackback_uri'); ?> <em><?php trackback_url() ?></em></p>
     29<p><?php _e("The <acronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>
    3030<?php } ?>
    3131
     
    4646    <li id="comment-<?php comment_ID() ?>">
    4747    <?php comment_text() ?>
    48     <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></p>
     48    <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></p>
    4949    </li>
    5050
     
    5252</ol>
    5353<?php } else { // this is displayed if there are no comments so far ?>
    54     <p><?php $lang->str('no_comments'); ?></p>
     54    <p><?php _e("No comments yet."); ?></p>
    5555<?php } ?>
    5656
    5757<?php if ('open' == $commentstatus->comment_status) { ?>
    58 <h2><?php $lang->str('leave_a_comment'); ?></h2>
    59 <p><?php $lang->str('comment_instructions'); ?> <code><?php echo allowed_tags(); ?></code></p>
     58<h2><?php _e("Leave a comment"); ?></h2>
     59<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>
    6060
    6161<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    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"><?php $lang->str('comment_name'); ?></label>
     64       <label for="author"><?php _e("Name"); ?></label>
    6565    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    6666    <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
     
    6969    <p>
    7070      <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
    71        <label for="email"><?php $lang->str('comment_email'); ?></label>
     71       <label for="email"><?php _e("E-mail"); ?></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"><?php $lang->str('comment_uri'); ?></label>
     76       <label for="url"><?php _e("<acronym title=\"Uniform Resource Identifier\">URI</acronym>"); ?></label>
    7777    </p>
    7878
    7979    <p>
    80       <label for="comment"><?php $lang->str('comment_body'); ?></label>
     80      <label for="comment"><?php _e("Your Comment"); ?></label>
    8181    <br />
    8282      <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
     
    8484
    8585    <p>
    86       <input name="submit" type="submit" tabindex="5" value="<?php $lang->str('say_it'); ?>" />
     86      <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
    8787    </p>
    8888</form>
    8989<?php } else { // comments are closed ?>
    90 <p><?php $lang->str('comments_closed'); ?></p>
     90<p><?php _e("Sorry, the comment form is closed at this time."); ?></p>
    9191<?php }
    9292} // end password check
    9393?>
    9494
    95 <div><strong><a href="javascript:window.close()"><?php $lang->str('close_window'); ?></a></strong></div>
     95<div><strong><a href="javascript:window.close()"><?php _e("Close this window."); ?></a></strong></div>
    9696
    9797<?php // if you delete this the sky will fall on your head
     
    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 $lang->str('powered_by_wordpress',$lang->str('powered_by_title','',1)); ?></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">
Note: See TracChangeset for help on using the changeset viewer.