Make WordPress Core


Ignore:
Timestamp:
04/11/2010 10:41:54 AM (15 years ago)
Author:
dd32
Message:

Tweak new strings for better typography. Props demetris. Fixes #12962

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r14055 r14070  
    323323    // Check if the domain has been used already. We should return an error message.
    324324    if ( domain_exists($domain, $path, $site_id) )
    325         return __('error: Blog URL already taken.');
     325        return __( 'Error: Blog URL already taken.' );
    326326
    327327    // Need to backup wpdb table names, and create a new wp_blogs entry for new blog.
     
    330330
    331331    if ( ! $blog_id = insert_blog($domain, $path, $site_id) )
    332         return __('error: problem creating blog entry');
     332        return __( 'Error: problem creating blog entry.' );
    333333
    334334    switch_to_blog($blog_id);
     
    484484
    485485    if ( strpos( " " . $user_name, "_" ) != false )
    486         $errors->add('user_name', __("Sorry, usernames may not contain the character '_'!"));
     486        $errors->add( 'user_name', __( 'Sorry, usernames may not contain the character “_”!' ) );
    487487
    488488    // all numeric?
     
    569569
    570570    if ( strpos( " " . $blogname, "_" ) != false )
    571         $errors->add('blogname', __("Sorry, blog names may not contain the character '_'!"));
     571        $errors->add( 'blogname', __( 'Sorry, blog names may not contain the character “_”!' ) );
    572572
    573573    // do not allow users to create a blog that conflicts with a page on the main blog.
    574574    if ( !is_subdomain_install() && $wpdb->get_var( $wpdb->prepare( "SELECT post_name FROM " . $wpdb->get_blog_prefix( $current_site->blog_id ) . "posts WHERE post_type = 'page' AND post_name = %s", $blogname ) ) )
    575         $errors->add( 'blogname', __( "Sorry, you may not use that blog name" ) );
     575        $errors->add( 'blogname', __( 'Sorry, you may not use that blog name.' ) );
    576576
    577577    // all numeric?
     
    11541154    if ( ($spaceAllowed-$size) < 0 ) {
    11551155        if ( $echo )
    1156             _e( "Sorry, you have used your space allocation. Please delete some files to upload more files." ); //No space left
     1156            _e( 'Sorry, you have used your space allocation. Please delete some files to upload more files.' ); // No space left
    11571157        return true;
    11581158    } else {
Note: See TracChangeset for help on using the changeset viewer.