Don't use <strong>
in translatable strings in wp-signup.php
.
Add translator commments. Props ramiy. Fixes #34502. git-svn-id: https://develop.svn.wordpress.org/trunk@35451 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a18f309761
commit
7e3cac2095
@ -581,9 +581,11 @@ function validate_user_signup() {
|
||||
*/
|
||||
function confirm_user_signup($user_name, $user_email) {
|
||||
?>
|
||||
<h2><?php printf( __( '%s is your new username' ), $user_name) ?></h2>
|
||||
<h2><?php /* translators: %s: username */
|
||||
printf( __( '%s is your new username' ), $user_name) ?></h2>
|
||||
<p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ) ?></p>
|
||||
<p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.' ), $user_email ); ?></p>
|
||||
<p><?php /* translators: %s: email address */
|
||||
printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p>
|
||||
<p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p>
|
||||
<?php
|
||||
/** This action is documented in wp-signup.php */
|
||||
@ -724,10 +726,12 @@ function validate_blog_signup() {
|
||||
*/
|
||||
function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) {
|
||||
?>
|
||||
<h2><?php printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
|
||||
<h2><?php /* translators: %s: site address */
|
||||
printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
|
||||
|
||||
<p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.' ) ?></p>
|
||||
<p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.' ), $user_email) ?></p>
|
||||
<p><?php /* translators: %s: email address */
|
||||
printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p>
|
||||
<p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.' ); ?></p>
|
||||
<h2><?php _e( 'Still waiting for your email?' ); ?></h2>
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user