WordPress.org

Make WordPress Core

Changeset 5697


Ignore:
Timestamp:
06/13/07 16:41:21 (8 years ago)
Author:
rob1n
Message:

Translate some strings in the classic theme that were missed. Props nbachiyski. fixes #4451

Location:
trunk/wp-content/themes/classic
Files:
2 edited

Legend:

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

    r4929 r5697  
    5858<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 
    5959<?php if ( $user_ID ) : ?>  
    60     <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p> 
     60<p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php echo attribute_escape(__('Log out of this account')); ?>"><?php _e('Logout &raquo;'); ?></a></p> 
    6161<?php else : ?>  
    6262    <p> 
  • trunk/wp-content/themes/classic/comments.php

    r4495 r5697  
    3636 
    3737<?php if ( get_option('comment_registration') && !$user_ID ) : ?> 
    38 <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> 
     38<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".get_the_permalink());?></p> 
    3939<?php else : ?> 
    4040 
     
    4343<?php if ( $user_ID ) : ?> 
    4444 
    45 <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout &raquo;</a></p> 
     45<p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Logout &raquo;'); ?></a></p> 
    4646 
    4747<?php else : ?> 
    4848 
    4949<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> 
    50 <label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label></p> 
     50<label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> 
    5151 
    5252<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> 
    53 <label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p> 
     53<label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></small></label></p> 
    5454 
    5555<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> 
    56 <label for="url"><small>Website</small></label></p> 
     56<label for="url"><small><?php _e('Website'); ?></small></label></p> 
    5757 
    5858<?php endif; ?> 
    5959 
    60 <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> 
     60<!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></small></p>--> 
    6161 
    6262<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> 
    6363 
    64 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> 
     64<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php echo attribute_escape(__('Submit Comment')); ?>" /> 
    6565<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 
    6666</p> 
Note: See TracChangeset for help on using the changeset viewer.