I18N: Capitalize translator comments consistently, add trailing punctuation.
Includes minor code layout fixes. See #44360. Built from https://develop.svn.wordpress.org/trunk@45932 git-svn-id: http://core.svn.wordpress.org/trunk@45743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -133,7 +133,7 @@ function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) {
|
||||
|
||||
printf(
|
||||
'<p>(<strong>%s</strong>) %s</p>',
|
||||
/* translators: %s: site address */
|
||||
/* translators: %s: Site address. */
|
||||
sprintf( __( 'Your address will be %s.' ), $site ),
|
||||
__( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' )
|
||||
);
|
||||
@@ -338,7 +338,7 @@ function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) {
|
||||
$blog_title = $filtered_results['blog_title'];
|
||||
$errors = $filtered_results['errors'];
|
||||
|
||||
/* translators: %s: Network's site name. */
|
||||
/* translators: %s: Network title. */
|
||||
echo '<h2>' . sprintf( __( 'Get <em>another</em> %s site in seconds' ), get_network()->site_name ) . '</h2>';
|
||||
|
||||
if ( $errors->has_errors() ) {
|
||||
@@ -518,14 +518,14 @@ function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $
|
||||
?>
|
||||
<h2>
|
||||
<?php
|
||||
/* translators: %s: site name */
|
||||
/* translators: %s: Site title. */
|
||||
printf( __( 'The site %s is yours.' ), $site );
|
||||
?>
|
||||
</h2>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: link to new site, 2: login URL, 3: username */
|
||||
/* translators: 1: Link to new site, 2: Login URL, 3: Username. */
|
||||
__( '%1$s is your new site. <a href="%2$s">Log in</a> as “%3$s” using your existing password.' ),
|
||||
sprintf(
|
||||
'<a href="%s">%s</a>',
|
||||
@@ -592,7 +592,7 @@ function signup_user( $user_name = '', $user_email = '', $errors = '' ) {
|
||||
|
||||
<h2>
|
||||
<?php
|
||||
/* translators: %s: name of the network */
|
||||
/* translators: %s: Name of the network. */
|
||||
printf( __( 'Get your own %s account in seconds' ), get_network()->site_name );
|
||||
?>
|
||||
</h2>
|
||||
@@ -665,14 +665,14 @@ function confirm_user_signup( $user_name, $user_email ) {
|
||||
?>
|
||||
<h2>
|
||||
<?php
|
||||
/* translators: %s: username */
|
||||
/* 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
|
||||
/* translators: %s: email address */
|
||||
/* translators: %s: Email address. */
|
||||
printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' );
|
||||
?>
|
||||
</p>
|
||||
@@ -822,7 +822,7 @@ function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $use
|
||||
?>
|
||||
<h2>
|
||||
<?php
|
||||
/* translators: %s: site address */
|
||||
/* translators: %s: Site address. */
|
||||
printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" )
|
||||
?>
|
||||
</h2>
|
||||
@@ -830,7 +830,7 @@ function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $use
|
||||
<p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.' ); ?></p>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: email address */
|
||||
/* translators: %s: Email address. */
|
||||
printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' );
|
||||
?>
|
||||
</p>
|
||||
@@ -843,7 +843,7 @@ function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $use
|
||||
<li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ); ?></p></li>
|
||||
<li>
|
||||
<?php
|
||||
/* translators: %s: email address */
|
||||
/* translators: %s: Email address. */
|
||||
printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email );
|
||||
?>
|
||||
</li>
|
||||
@@ -922,7 +922,7 @@ if ( current_user_can( 'manage_network' ) ) {
|
||||
|
||||
echo ' ';
|
||||
|
||||
/* translators: %s: network settings URL */
|
||||
/* translators: %s: URL to Network Settings screen. */
|
||||
printf( __( 'To change or disable registration go to your <a href="%s">Options page</a>.' ), esc_url( network_admin_url( 'settings.php' ) ) );
|
||||
echo '</div>';
|
||||
}
|
||||
@@ -934,7 +934,7 @@ if ( 'none' === $active_signup ) {
|
||||
_e( 'Registration has been disabled.' );
|
||||
} elseif ( 'blog' === $active_signup && ! is_user_logged_in() ) {
|
||||
$login_url = wp_login_url( network_site_url( 'wp-signup.php' ) );
|
||||
/* translators: %s: login URL */
|
||||
/* translators: %s: Login URL. */
|
||||
printf( __( 'You must first <a href="%s">log in</a>, and then you can create a new site.' ), $login_url );
|
||||
} else {
|
||||
$stage = isset( $_POST['stage'] ) ? $_POST['stage'] : 'default';
|
||||
@@ -983,13 +983,13 @@ if ( 'none' === $active_signup ) {
|
||||
|
||||
if ( 'blog' === $active_signup || 'all' === $active_signup ) {
|
||||
printf(
|
||||
/* translators: %s: site address */
|
||||
/* translators: %s: Site address. */
|
||||
'<p><em>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</em></p>',
|
||||
'<strong>' . $newblog . '</strong>'
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: %s: site address */
|
||||
/* translators: %s: Site address. */
|
||||
'<p><em>' . __( 'The site you were looking for, %s, does not exist.' ) . '</em></p>',
|
||||
'<strong>' . $newblog . '</strong>'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user