Make WordPress Core


Ignore:
Timestamp:
06/13/2007 04:41:21 PM (17 years ago)
Author:
rob1n
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.