Make WordPress Core


Ignore:
Timestamp:
04/13/2004 03:48:11 PM (21 years ago)
Author:
alex_t_king
Message:

more localization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-popup.php

    r1025 r1067  
    99<html xmlns="http://www.w3.org/1999/xhtml">
    1010<head>
    11     <title><?php echo get_settings('blogname'); ?> - Comments on "<?php the_title() ?>"</title>
     11    <title><?php echo get_settings('blogname'); ?> - <?php $lang->str('comments_on',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">Comments</h2>
     24<h2 id="comments"><?php $lang->str('comments'); ?></h2>
    2525
    26 <p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>">RSS feed for comments on this post.</a></p>
     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>
    2727
    2828<?php if ('open' == $post->ping_status) { ?>
    29 <p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
     29<p><?php $lang->str('trackback_uri'); ?> <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(); ?> 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 $lang->str('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>No comments yet.</p>
     54    <p><?php $lang->str('no_comments'); ?></p>
    5555<?php } ?>
    5656
    5757<?php if ('open' == $commentstatus->comment_status) { ?>
    58 <h2>Leave a Comment</h2>
    59 <p>Line and paragraph breaks automatic, email address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
     58<h2><?php $lang->str('leave_a_comment'); ?></h2>
     59<p><?php $lang->str('comment_instructions'); ?> <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">Name</label>
     64       <label for="author"><?php $lang->str('comment_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">Email</label>
     71       <label for="email"><?php $lang->str('comment_email'); ?></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"><acronym title="Uniform Resource Identifier">URI</acronym></label>
     76       <label for="url"><?php $lang->str('comment_uri'); ?></label>
    7777    </p>
    7878
    7979    <p>
    80       <label for="comment">Your Comment</label>
     80      <label for="comment"><?php $lang->str('comment_body'); ?></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="Say it!" />
     86      <input name="submit" type="submit" tabindex="5" value="<?php $lang->str('say_it'); ?>" />
    8787    </p>
    8888</form>
    8989<?php } else { // comments are closed ?>
    90 <p>Sorry, comments are closed at this time.</p>
     90<p><?php $lang->str('comments_closed'); ?></p>
    9191<?php }
    9292} // end password check
    9393?>
    9494
    95 <div><strong><a href="javascript:window.close()">Close this window</a>.</strong></div>
     95<div><strong><a href="javascript:window.close()"><?php $lang->str('close_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); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p>
     103<p class="credit"><?php timer_stop(1); ?> <?php $lang->str('powered_by_wordpress',$lang->str('powered_by_title','',1)); ?></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.