Markup and gettext fixes. Props sorich87. fixes #14731
git-svn-id: http://svn.automattic.com/wordpress/trunk@16653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ce490df051
commit
b28a8c0061
|
@ -80,12 +80,11 @@ function show_blog_form($blogname = '', $blog_title = '', $errors = '') {
|
||||||
echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="60" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
|
echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="60" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
|
||||||
|
|
||||||
if ( !is_user_logged_in() ) {
|
if ( !is_user_logged_in() ) {
|
||||||
print '(<strong>' . __( 'Your address will be ' );
|
|
||||||
if ( !is_subdomain_install() )
|
if ( !is_subdomain_install() )
|
||||||
print $current_site->domain . $current_site->path . __( 'sitename' );
|
$site = $current_site->domain . $current_site->path . __( 'sitename' );
|
||||||
else
|
else
|
||||||
print __( 'domain.' ) . $site_domain . $current_site->path;
|
$site = __( 'domain' ) . '.' . $site_domain . $current_site->path;
|
||||||
echo '.</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';
|
echo '<p>(<strong>' . sprintf( __('Your address will be %s.'), $site ) . '</strong>) ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed, so choose carefully!' ) . '</p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blog Title
|
// Blog Title
|
||||||
|
|
Loading…
Reference in New Issue