Changeset 692
- Timestamp:
- 07/19/06 16:21:05 (2 years ago)
- Files:
-
- trunk/wp-signup.php (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-signup.php
r646 r692 48 48 } 49 49 if ( !is_user_logged_in() ) { 50 print '(<strong> Your address will be ';50 print '(<strong>' . __( 'Your address will be ' ); 51 51 if( constant( "VHOST" ) == 'no' ) { 52 print $current_site->domain . $current_site->path . 'blogname';52 print $current_site->domain . $current_site->path . __( 'blogname' ); 53 53 } else { 54 print 'domain.'. $current_site->domain . $current_site->path;54 print __( 'domain.' ) . $current_site->domain . $current_site->path; 55 55 } 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>'; 57 57 } 58 58 … … 63 63 print '<tr>'; 64 64 } 65 ?><th valign="top" width="120"> Blog Title:</th><td><?php65 ?><th valign="top" width="120"><?php _e('Blog Title:') ?></th><td><?php 66 66 67 67 if ( $errmsg = $errors->get_error_message('blog_title') ) { … … 72 72 ?> 73 73 <tr> 74 <th scope="row" valign="top"> Privacy:</th>74 <th scope="row" valign="top"><?php _e('Privacy:') ?></th> 75 75 <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> 76 76 </tr> … … 104 104 105 105 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>'; 107 107 108 108 // User Email … … 112 112 print '<tr>'; 113 113 } 114 ?><th valign="top"> Email Address:</th><td><?php114 ?><th valign="top"><?php _e('Email Address:') ?></th><td><?php 115 115 116 116 if ( $errmsg = $errors->get_error_message('user_email') ) { … … 118 118 } 119 119 print ' 120 <input name="user_email" type="text" id="user_email" value="'.wp_specialchars($user_email, 1).'" maxlength="200" /><br /> (We’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’ll send your password to this address, so <strong>triple-check it</strong>.)') . '</td> 121 121 </tr>'; 122 122 … … 140 140 141 141 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> 148 148 <ul> 149 149 <?php … … 164 164 <tr> 165 165 <th scope="row" valign="top"> </th> 166 <td><input id="submit" type="submit" name="Submit" class="submit" value=" Create Blog »" /></td>166 <td><input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Create Blog »') ?>" /></td> 167 167 </tr> 168 168 </table> … … 213 213 <p> 214 214 <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> 216 216 <br /> 217 217 <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> 219 219 </p> 220 220 </td> … … 222 222 <tr> 223 223 <th scope="row" valign="top"> </th> 224 <td><input id="submit" type="submit" name="Submit" class="submit" value=" Next »" /></td>224 <td><input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Next »') ?>" /></td> 225 225 </tr> 226 226 </table> … … 273 273 <tr> 274 274 <th scope="row" valign="top"> </th> 275 <td><input id="submit" type="submit" name="Submit" class="submit" value=" Signup »" /></td>275 <td><input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Signup »') ?>" /></td> 276 276 </tr> 277 277 </table> … … 310 310 <h2><?php printf(__('%s Is Yours'), $domain.$path) ?></h2> 311 311 <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> 313 313 <p><?php _e('If you do not activate your blog within two days, you will have to sign up again.'); ?></p> 314 314 <?php … … 338 338 339 339 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); 341 341 } 342 342 break;
