mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 09:03:09 +01:00
Add missing translator comments after [34293].
See #31851. git-svn-id: https://develop.svn.wordpress.org/trunk@34298 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
310dc18167
commit
f90ee7b348
@ -1046,18 +1046,26 @@ We hope you enjoy your new site. Thanks!
|
||||
|
||||
if ( ! $vhost_ok ) {
|
||||
$msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>';
|
||||
|
||||
$msg .= '<p>' . sprintf(
|
||||
/* translators: %s: host name */
|
||||
__( 'The installer attempted to contact a random hostname (%s) on your domain.' ),
|
||||
'<code>' . $hostname . '</code>'
|
||||
);
|
||||
if ( ! empty ( $errstr ) )
|
||||
if ( ! empty ( $errstr ) ) {
|
||||
/* translators: %s: error message */
|
||||
$msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
|
||||
}
|
||||
$msg .= '</p>';
|
||||
|
||||
$msg .= '<p>' . sprintf(
|
||||
/* translators: %s: asterisk symbol (*) */
|
||||
__( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a %s hostname record pointing at your web server in your DNS configuration tool.' ),
|
||||
'<code>*</code>'
|
||||
) . '</p>';
|
||||
|
||||
$msg .= '<p>' . __( 'You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.' ) . '</p>';
|
||||
|
||||
return new WP_Error( 'no_wildcard_dns', $msg );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user