more localization

git-svn-id: http://svn.automattic.com/wordpress/trunk@1067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
alex_t_king 2004-04-13 15:48:11 +00:00
parent d30adf576c
commit e5248743f9
3 changed files with 25 additions and 23 deletions

View File

@ -113,6 +113,6 @@ require('wp-blog-header.php');
</div> </div>
<p class="credit"><!--<?php echo $wpdb->querycount; ?> queries.--> <?php timer_stop(1); ?> || <cite><?php $lang->str('powered_by'); ?> <a href="http://wordpress.org" title="<?php $lang->str('powered_by_title'); ?>"><strong><?php $lang->str('wordpress'); ?></strong></a></cite></p> <p class="credit"><!--<?php echo $wpdb->querycount; ?> queries.--> <?php timer_stop(1); ?> || <?php $lang->str('powered_by_wordpress',$lang->str('powered_by_title','',1)); ?></p>
</body> </body>
</html> </html>

View File

@ -8,7 +8,7 @@ foreach ($posts as $post) { start_wp();
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title><?php echo get_settings('blogname'); ?> - Comments on "<?php the_title() ?>"</title> <title><?php echo get_settings('blogname'); ?> - <?php $lang->str('comments_on',the_title('','',false)); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
<style type="text/css" media="screen"> <style type="text/css" media="screen">
@ -21,12 +21,12 @@ foreach ($posts as $post) { start_wp();
<h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1> <h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1>
<h2 id="comments">Comments</h2> <h2 id="comments"><?php $lang->str('comments'); ?></h2>
<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> <p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><?php $lang->str('comments_rss_post'); ?></a></p>
<?php if ('open' == $post->ping_status) { ?> <?php if ('open' == $post->ping_status) { ?>
<p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p> <p><?php $lang->str('trackback_uri'); ?> <em><?php trackback_url() ?></em></p>
<?php } ?> <?php } ?>
<?php <?php
@ -45,54 +45,54 @@ if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass_'.$c
<?php foreach ($comments as $comment) { ?> <?php foreach ($comments as $comment) { ?>
<li id="comment-<?php comment_ID() ?>"> <li id="comment-<?php comment_ID() ?>">
<?php comment_text() ?> <?php comment_text() ?>
<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> <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>
</li> </li>
<?php } // end for each comment ?> <?php } // end for each comment ?>
</ol> </ol>
<?php } else { // this is displayed if there are no comments so far ?> <?php } else { // this is displayed if there are no comments so far ?>
<p>No comments yet.</p> <p><?php $lang->str('no_comments'); ?></p>
<?php } ?> <?php } ?>
<?php if ('open' == $commentstatus->comment_status) { ?> <?php if ('open' == $commentstatus->comment_status) { ?>
<h2>Leave a Comment</h2> <h2><?php $lang->str('leave_a_comment'); ?></h2>
<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> <p><?php $lang->str('comment_instructions'); ?> <code><?php echo allowed_tags(); ?></code></p>
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<p> <p>
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
<label for="author">Name</label> <label for="author"><?php $lang->str('comment_name'); ?></label>
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" /> <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
</p> </p>
<p> <p>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
<label for="email">Email</label> <label for="email"><?php $lang->str('comment_email'); ?></label>
</p> </p>
<p> <p>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
<label for="url"><acronym title="Uniform Resource Identifier">URI</acronym></label> <label for="url"><?php $lang->str('comment_uri'); ?></label>
</p> </p>
<p> <p>
<label for="comment">Your Comment</label> <label for="comment"><?php $lang->str('comment_body'); ?></label>
<br /> <br />
<textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
</p> </p>
<p> <p>
<input name="submit" type="submit" tabindex="5" value="Say it!" /> <input name="submit" type="submit" tabindex="5" value="<?php $lang->str('say_it'); ?>" />
</p> </p>
</form> </form>
<?php } else { // comments are closed ?> <?php } else { // comments are closed ?>
<p>Sorry, comments are closed at this time.</p> <p><?php $lang->str('comments_closed'); ?></p>
<?php } <?php }
} // end password check } // end password check
?> ?>
<div><strong><a href="javascript:window.close()">Close this window</a>.</strong></div> <div><strong><a href="javascript:window.close()"><?php $lang->str('close_window'); ?></a></strong></div>
<?php // if you delete this the sky will fall on your head <?php // if you delete this the sky will fall on your head
} }
@ -100,7 +100,7 @@ if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass_'.$c
<!-- // this is just the end of the motor - don't touch that line either :) --> <!-- // this is just the end of the motor - don't touch that line either :) -->
<?php //} ?> <?php //} ?>
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p> <p class="credit"><?php timer_stop(1); ?> <?php $lang->str('powered_by_wordpress',$lang->str('powered_by_title','',1)); ?></p>
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
<script type="text/javascript"> <script type="text/javascript">
<!-- <!--

View File

@ -17,16 +17,18 @@ $lang->strings = array(
,"archives" => "Archives:" ,"archives" => "Archives:"
,"by" => "by" ,"by" => "by"
,"categories" => "Categories:" ,"categories" => "Categories:"
,"close_window" => "Close this window."
,"comment_body" => "Your Comment"
,"comment_count_0" => "Comments (0)" ,"comment_count_0" => "Comments (0)"
,"comment_count_1" => "Comments (1)" ,"comment_count_1" => "Comments (1)"
,"comment_count_n" => "Comments (%)" ,"comment_count_n" => "Comments (%)"
,"comments" => "Comments"
,"comments_closed" => "Sorry, the comment form is closed at this time."
,"comments_instruction" => 'Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed:'
,"comment_body" => "Your Comment"
,"comment_email" => "E-mail" ,"comment_email" => "E-mail"
,"comment_name" => "Name" ,"comment_name" => "Name"
,"comment_uri" => '<acronym title="Uniform Resource Identifier">URI</acronym>' ,"comment_uri" => '<acronym title="Uniform Resource Identifier">URI</acronym>'
,"comments" => "Comments"
,"comments_closed" => "Sorry, the comment form is closed at this time."
,"comments_instruction" => 'Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed:'
,"comments_on" => "Comments on __0" // post title
,"comments_password" => "Enter your password to view comments." ,"comments_password" => "Enter your password to view comments."
,"comments_rss_2" => 'Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0' ,"comments_rss_2" => 'Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0'
,"comments_rss_2_title" => "The latest comments to all posts in RSS" ,"comments_rss_2_title" => "The latest comments to all posts in RSS"
@ -40,8 +42,8 @@ $lang->strings = array(
,"no_posts_matched" => "Sorry, no posts matched your criteria." ,"no_posts_matched" => "Sorry, no posts matched your criteria."
,"other" => "Other:" ,"other" => "Other:"
,"pages" => "Pages:" ,"pages" => "Pages:"
,"powered_by" => "Powered by " ,"powered_by_title" => "Powered by WordPress; state-of-the-art semantic personal publishing platform."
,"powered_by_title" => "Powered by WordPress, state-of-the-art semantic personal publishing platform" ,"powered_by_wordpress" => '<cite>Powered by <a href="http://wordpress.org" title="__0"><strong>Wordpress</strong></a></cite>' // powered_by_title
,"register" => "Register" ,"register" => "Register"
,"rss_2" => '<abbr title="Really Simple Syndication">RSS</abbr> 2.0' ,"rss_2" => '<abbr title="Really Simple Syndication">RSS</abbr> 2.0'
,"rss_2_title" => "Syndicate this site using RSS" ,"rss_2_title" => "Syndicate this site using RSS"