WordPress.org

Make WordPress Core

Ticket #15688: t15688-string-fixes.diff

File t15688-string-fixes.diff, 3.5 KB (added by demetris, 3 years ago)
  • wp-admin/includes/class-wp-plugin-install-list-table.php

     
    209209                        </td> 
    210210                        <td class="vers"><?php echo $version; ?></td> 
    211211                        <td class="vers"> 
    212                                 <div class="star-holder" title="<?php printf( _n( '( based on %s rating )', '( based on %s ratings )', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>"> 
     212                                <div class="star-holder" title="<?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>"> 
    213213                                        <div class="star star-rating" style="width: <?php echo esc_attr( $plugin['rating'] ) ?>px"></div> 
    214214                                        <div class="star star5"><img src="<?php echo admin_url( 'images/star.gif' ); ?>" alt="<?php _e( '5 stars' ) ?>" /></div> 
    215215                                        <div class="star star4"><img src="<?php echo admin_url( 'images/star.gif' ); ?>" alt="<?php _e( '4 stars' ) ?>" /></div> 
  • wp-admin/includes/class-wp-posts-list-table.php

     
    841841                        <label> 
    842842                                <span class="title"><?php _e( 'Parent' ); ?></span> 
    843843        <?php 
    844                 $dropdown_args = array( 'post_type' => $post_type_object->name, 'selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __( 'Main Page ( no parent )' ), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title' ); 
     844                $dropdown_args = array( 'post_type' => $post_type_object->name, 'selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __( 'Main Page (no parent)' ), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title' ); 
    845845                if ( $bulk ) 
    846846                        $dropdown_args['show_option_no_change'] =  __( '&mdash; No Change &mdash;' ); 
    847847                $dropdown_args = apply_filters( 'quick_edit_dropdown_pages_args', $dropdown_args ); 
  • wp-admin/includes/theme.php

     
    393393                } else { 
    394394                        $res = unserialize($request['body']); 
    395395                        if ( ! $res ) 
    396                         $res = new WP_Error('themes_api_failed', __('An unknown error occurred'), $request['body']); 
     396                        $res = new WP_Error('themes_api_failed', __('An unknown error occurred.'), $request['body']); 
    397397                } 
    398398        } 
    399399        //var_dump(array($args, $res)); 
  • wp-admin/maint/repair.php

     
    7878        } 
    7979} else { 
    8080        if ( isset($_GET['referrer']) && 'is_blog_installed' == $_GET['referrer'] ) 
    81                 _e('One or more database tables is unavailable.  To allow WordPress to attempt to repair these tables, press the "Repair Database" button. Repairing can take a while, so please be patient.'); 
     81                _e('One or more database tables are unavailable. To allow WordPress to attempt to repair these tables, press the &#8220;Repair Database&#8221; button. Repairing can take a while, so please be patient.'); 
    8282        else 
    8383                _e('WordPress can automatically look for some common database problems and repair them.  Repairing can take a while, so please be patient.') 
    8484?>