Changeset 692

Show
Ignore:
Timestamp:
07/19/06 16:21:05 (2 years ago)
Author:
donncha
Message:

Language strings (#8)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-signup.php

    r646 r692  
    4848        } 
    4949        if ( !is_user_logged_in() ) { 
    50                 print '(<strong>Your address will be '
     50                print '(<strong>' . __( 'Your address will be ' )
    5151                if( constant( "VHOST" ) == 'no' ) { 
    52                         print $current_site->domain . $current_site->path . 'blogname'
     52                        print $current_site->domain . $current_site->path . __( 'blogname' )
    5353                } else { 
    54                         print 'domain.' . $current_site->domain . $current_site->path; 
     54                        print __( 'domain.' ) . $current_site->domain . $current_site->path; 
    5555                } 
    56                 print '.</strong> Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)</td> </tr>'; 
     56                print '.</strong>' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)' ) . '</td> </tr>'; 
    5757        } 
    5858 
     
    6363                print '<tr>'; 
    6464        } 
    65 ?><th valign="top" width="120">Blog Title:</th><td><?php 
     65?><th valign="top" width="120"><?php _e('Blog Title:') ?></th><td><?php 
    6666 
    6767        if ( $errmsg = $errors->get_error_message('blog_title') ) { 
     
    7272?> 
    7373<tr> 
    74 <th scope="row"  valign="top">Privacy:</th> 
     74<th scope="row"  valign="top"><?php _e('Privacy:') ?></th> 
    7575<td><label><input type="checkbox" name="blog_public" value="1" checked="checked" /> <?php _e('I would like my blog to appear in search engines like Google and Technorati, and in public listings around this site.'); ?></label></td> 
    7676</tr> 
     
    104104 
    105105        print '<input name="user_name" type="text" id="user_name" value="'.$user_name.'" maxlength="50" style="width:50%; font-size: 30px;" /><br />'; 
    106         print '(Must be at least 4 characters, letters and numbers only.)</td> </tr>'; 
     106        print __('(Must be at least 4 characters, letters and numbers only.)') . '</td> </tr>'; 
    107107 
    108108        // User Email 
     
    112112                print '<tr>'; 
    113113        } 
    114 ?><th valign="top">Email&nbsp;Address:</th><td><?php 
     114?><th valign="top"><?php _e('Email&nbsp;Address:') ?></th><td><?php 
    115115 
    116116        if ( $errmsg = $errors->get_error_message('user_email') ) { 
     
    118118        } 
    119119        print ' 
    120         <input name="user_email" type="text" id="user_email" value="'.wp_specialchars($user_email, 1).'" maxlength="200" /><br /> (We&#8217;ll send your password to this address, so <strong>triple-check it</strong>.)</td> 
     120        <input name="user_email" type="text" id="user_email" value="'.wp_specialchars($user_email, 1).'" maxlength="200" /><br /> ' . __('(We&#8217;ll send your password to this address, so <strong>triple-check it</strong>.)') . '</td> 
    121121        </tr>'; 
    122122 
     
    140140 
    141141        if ( $errors->get_error_code() ) { 
    142                 print "<p>There was a problem, please correct the form below and try again.</p>"
    143         } 
    144  
    145 ?> 
    146 <p>Welcome back, <?php echo $current_user->display_name; ?>. By filling out the form below, you can <strong>add another blog to your account</strong>. There is no limit to the number of blogs you can have, so create to your heart's content, but blog responsibly.</p
    147 <p>Here are the blogs you already have:</p> 
     142                print '<p>'.__('There was a problem, please correct the form below and try again.').'</p>'
     143        } 
     144 
     145?> 
     146<?php printf(__("<p>Welcome back, %s. By filling out the form below, you can <strong>add another blog to your account</strong>. There is no limit to the number of blogs you can have, so create to your heart's content, but blog responsibly.</p>"), $current_user->display_name) ?
     147<p><?php _e('Here are the blogs you already have:') ?></p> 
    148148<ul> 
    149149<?php  
     
    164164<tr> 
    165165<th scope="row"  valign="top">&nbsp;</th> 
    166 <td><input id="submit" type="submit" name="Submit" class="submit" value="Create Blog &raquo;" /></td> 
     166<td><input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Create Blog &raquo;') ?>" /></td> 
    167167</tr> 
    168168</table> 
     
    213213<p> 
    214214<input id="signupblog" type="radio" name="signup_for" value="blog" checked="checked" /> 
    215 <label for="signupblog">Gimme a blog!</label> 
     215<label for="signupblog"><?php _e('Gimme a blog!') ?></label> 
    216216<br /> 
    217217<input id="signupuser" type="radio" name="signup_for" value="user" /> 
    218 <label for="signupuser">Just a username, please.</label> 
     218<label for="signupuser"><?php _e('Just a username, please.') ?></label> 
    219219</p> 
    220220</td> 
     
    222222<tr> 
    223223<th scope="row"  valign="top">&nbsp;</th> 
    224 <td><input id="submit" type="submit" name="Submit" class="submit" value="Next &raquo;" /></td> 
     224<td><input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Next &raquo;') ?>" /></td> 
    225225</tr> 
    226226</table> 
     
    273273<tr> 
    274274<th scope="row"  valign="top">&nbsp;</th> 
    275 <td><input id="submit" type="submit" name="Submit" class="submit" value="Signup &raquo;" /></td> 
     275<td><input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Signup &raquo;') ?>" /></td> 
    276276</tr> 
    277277</table> 
     
    310310<h2><?php printf(__('%s Is Yours'), $domain.$path) ?></h2> 
    311311<p><?php _e('But, before you can start using your blog, <strong>you must activate it</strong>.') ?></p> 
    312 <p><?php printf(__('Check your inbox at <strong>%1$s</strong> and click the link given.  '),  $user_email) ?></p> 
     312<p><?php printf(__('Check your inbox at <strong>%s</strong> and click the link given.  '),  $user_email) ?></p> 
    313313<p><?php _e('If you do not activate your blog within two days, you will have to sign up again.'); ?></p> 
    314314<?php 
     
    338338 
    339339                if ($blog_id) { 
    340 ?><p><em>The blog you were looking for, <strong><?php echo $blog_id ?>.<?php echo $current_site->domain ?></strong> doesn't exist but you can create it now!</em></p><?php 
     340                        printf(__("<p><em>The blog you were looking for, <strong> %1$s.%2$s</strong> doesn't exist but you can create it now!</em></p>"), $blog_id, $current_site->domain); 
    341341                } 
    342342                break;