Changeset 1066
- Timestamp:
- 04/13/2004 03:31:35 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r1065 r1066 49 49 50 50 <div class="feedback"> 51 <?php link_pages('<br /> Pages:', '<br />', 'number'); ?>52 <?php comments_popup_link( 'Comments (0)', 'Comments (1)', 'Comments (%)'); ?>51 <?php link_pages('<br />'.$lang->str('pages','',1).' ', '<br />', 'number'); ?> 52 <?php comments_popup_link($lang->str('comment_count_0','',1), $lang->str('comment_count_1','',1), $lang->str('comment_count_n','',1)); ?> 53 53 </div> 54 54 -
trunk/wp-comments.php
r1025 r1066 6 6 if (!empty($post->post_password)) { // if there's a password 7 7 if ($HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie 8 echo("<p>Enter your password to view comments.<p>"); 9 return; 8 ?> 9 <p><?php $lang->str('comments_password'); ?><p> 10 <?php 11 return; 10 12 } 11 13 } … … 20 22 <!-- You can start editing here. --> 21 23 22 <h2 id="comments"><?php comments_number( 'Comments'); ?>24 <h2 id="comments"><?php comments_number($lang->str('comments','',1)); ?> 23 25 <?php if ('open' == $post->comment_status) { ?> 24 <a href="#postcomment" title=" Leave a comment">»</a>26 <a href="#postcomment" title="<?php $lang->str('leave_a_comment'); ?>">»</a> 25 27 <?php } ?> 26 28 </h2> 27 29 <?php if ('open' == $post->ping_status) { ?> 28 <p> The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is:<em><?php trackback_url() ?></em></p>30 <p><?php $lang->str('trackback_uri'); ?> <em><?php trackback_url() ?></em></p> 29 31 <?php } ?> 30 32 … … 35 37 <li id="comment-<?php comment_ID() ?>"> 36 38 <?php comment_text() ?> 37 <p><cite><?php comment_type(); ?> by <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link('Edit This', ' |'); ?></p>39 <p><cite><?php comment_type(); ?> <?php $lang->str('by'); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link($lang->str('edit_this', '', 1), ' |'); ?></p> 38 40 </li> 39 41 … … 41 43 </ol> 42 44 <?php } else { // this is displayed if there are no comments so far ?> 43 <p> No comments yet.</p>45 <p><?php $lang->str('no_comments'); ?></p> 44 46 <?php } ?> 45 <p><?php comments_rss_link( '<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></p>46 <h2 id="postcomment"> Leave a Comment</h2>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 49 <?php if ('open' == $post->comment_status) { ?> 48 <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>50 <p><?php $lang->str('comments_instructions'); ?> <code><?php echo allowed_tags(); ?></code></p> 49 51 50 52 <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 51 53 <p> 52 54 <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> 53 <label for="author"> Name</label>55 <label for="author"><?php $lang->str('comment_name'); ?></label> 54 56 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 55 57 <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" /> … … 58 60 <p> 59 61 <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /> 60 <label for="email"> Email</label>62 <label for="email"><?php $lang->str('comment_email'); ?></label> 61 63 </p> 62 64 63 65 <p> 64 66 <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> 65 <label for="url">< acronym title="Uniform Resource Identifier">URI</acronym></label>67 <label for="url"><?php $lang->str('comment_uri'); ?></label> 66 68 </p> 67 69 68 70 <p> 69 <label for="comment"> Your Comment</label>71 <label for="comment"><?php $lang->str('comment_body'); ?></label> 70 72 <br /> 71 73 <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> … … 73 75 74 76 <p> 75 <input name="submit" type="submit" tabindex="5" value=" Say it!" />77 <input name="submit" type="submit" tabindex="5" value="<?php $lang->str('say_it'); ?>" /> 76 78 </p> 77 79 </form> 78 80 <?php } else { // comments are closed ?> 79 <p> Sorry, the comment form is closed at this time.</p>81 <p><?php $lang->str('comments_closed'); ?></p> 80 82 <?php } ?> 81 83 -
trunk/wp-includes/languages/english.php
r1065 r1066 16 16 17 17 ,"archives" => "Archives:" 18 ,"by" => "by" 18 19 ,"categories" => "Categories:" 20 ,"comment_count_0" => "Comments (0)" 21 ,"comment_count_1" => "Comments (1)" 22 ,"comment_count_n" => "Comments (%)" 23 ,"comments" => "Comments" 24 ,"comments_closed" => "Sorry, the comment form is closed at this time." 25 ,"comments_instruction" => 'Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed:' 26 ,"comment_body" => "Your Comment" 27 ,"comment_email" => "E-mail" 28 ,"comment_name" => "Name" 29 ,"comment_uri" => '<acronym title="Uniform Resource Identifier">URI</acronym>' 30 ,"comments_password" => "Enter your password to view comments." 19 31 ,"comments_rss_2" => 'Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0' 20 32 ,"comments_rss_2_title" => "The latest comments to all posts in RSS" 33 ,"comments_rss_post" => '<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.' 34 ,"edit_this" => "Edit This" 21 35 ,"filed_under" => "Filed under:" 36 ,"leave_a_comment" => "Leave a comment" 22 37 ,"login" => "Login" 23 38 ,"meta" => "Meta:" 39 ,"no_comments" => "No comments yet." 24 40 ,"no_posts_matched" => "Sorry, no posts matched your criteria." 25 41 ,"other" => "Other:" 42 ,"pages" => "Pages:" 26 43 ,"powered_by" => "Powered by " 27 44 ,"powered_by_title" => "Powered by WordPress, state-of-the-art semantic personal publishing platform" … … 29 46 ,"rss_2" => '<abbr title="Really Simple Syndication">RSS</abbr> 2.0' 30 47 ,"rss_2_title" => "Syndicate this site using RSS" 48 ,"say_it" => "Say It!" 31 49 ,"search" => "Search:" 32 ,"search_buttom" => "search" 50 ,"search_button" => "search" 51 ,"trackback_uri" => 'The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is:' 33 52 ,"valid_xhtml" => 'Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>' 34 53 ,"valid_xhtml_title" => "This page validates as XHTML 1.0 Transitional"
Note: See TracChangeset
for help on using the changeset viewer.