Changeset 1014 for trunk/buddypress-theme/buddypress-home/comments.php
- Timestamp:
- 02/02/2009 10:26:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/buddypress-home/comments.php
r851 r1014 7 7 ?> 8 8 9 <p class="nocomments"> This post is password protected. Enter the password to view comments.</p>9 <p class="nocomments"><?php _e( 'This post is password protected. Enter the password to view comments.' ) ?></p> 10 10 11 11 <?php … … 31 31 <div class="comment-details"> 32 32 <?php bp_comment_author_avatar() ?> 33 <p><?php comment_author_link() ?> said:</p>33 <p><?php comment_author_link() ?> <?php _e( 'said:', 'buddypress' ) ?></p> 34 34 </div> 35 35 36 36 <div class="comment-content"> 37 37 <?php if ($comment->comment_approved == '0') : ?> 38 <p><strong> Your comment is awaiting moderation.</strong></p>38 <p><strong><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ) ?></strong></p> 39 39 <?php endif; ?> 40 40 <?php comment_text() ?> 41 41 42 <p class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at<?php comment_time() ?></a> <?php edit_comment_link('Edit',' [ ',' ]'); ?></p>42 <p class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> <?php _e( 'at', 'buddypress' ) ?> <?php comment_time() ?></a> <?php edit_comment_link('Edit',' [ ',' ]'); ?></p> 43 43 </div> 44 44 <div class="clear"></div> … … 60 60 <?php else : // comments are closed ?> 61 61 <!-- If comments are closed. --> 62 <p class="nocomments"> Comments are closed.</p>62 <p class="nocomments"><?php _e( 'Comments are closed.', 'buddypress' ) ?></p> 63 63 <?php endif; ?> 64 64 … … 69 69 <?php if ('open' == $post->comment_status) : ?> 70 70 71 <h3 id="respond"> Leave a Reply</h3>71 <h3 id="respond"><?php _e( 'Leave a Reply', 'buddypress' ) ?></h3> 72 72 73 73 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 74 <p> You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>74 <p><?php printf( __( 'You must be <a href="%s">logged in</a> to post a comment.', 'buddypress' ), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink()) ) ?></p> 75 75 <?php else : ?> 76 76 … … 79 79 <?php if ( $user_ID ) : ?> 80 80 81 <p>Logged in as <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="Log out of this account"> Logout»</a></p>81 <p>Logged in as <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="Log out of this account"><?php _e( 'Logout', 'buddypress' ) ?> »</a></p> 82 82 83 83 <?php else : ?> 84 84 85 85 <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> 86 <label for="author"> Name<?php if ($req) echo "(required)"; ?></label></p>86 <label for="author"><?php _e( 'Name', 'buddypress' ) ?> <?php if ($req) echo "(required)"; ?></label></p> 87 87 88 88 <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> 89 <label for="email"> Mail (will not be published) <?php if ($req) echo "(required)"; ?></label></p>89 <label for="email"><?php _e( 'Mail (will not be published)', 'buddypress' ) ?> <?php if ($req) _e( '(required)', 'buddypress' ); ?></label></p> 90 90 91 91 <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> 92 <label for="url"> Website</label></p>92 <label for="url"><?php _e( 'Website', 'buddypress' ) ?></label></p> 93 93 94 94 <?php endif; ?> … … 98 98 <p><textarea name="comment" id="comment" cols="38" rows="10" tabindex="4"></textarea></p> 99 99 100 <p><input name="submit" type="submit" id="submit" tabindex="5" value=" Submit Comment" />100 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e ( 'Submit Comment', 'buddypress' ) ?>" /> 101 101 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 102 102 </p>
Note: See TracChangeset
for help on using the changeset viewer.