Make WordPress Core

Changeset 38074


Ignore:
Timestamp:
07/17/2016 01:28:13 PM (9 years ago)
Author:
SergeyBiryukov
Message:

I18N: Change unnecessary uppercased words in WP_Upgrader::generic_strings() to lower case.

See #18218.

Location:
trunk/src/wp-admin/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r37714 r38074  
    151151     */
    152152    public function generic_strings() {
    153         $this->strings['bad_request'] = __('Invalid Data provided.');
     153        $this->strings['bad_request'] = __('Invalid data provided.');
    154154        $this->strings['fs_unavailable'] = __('Could not access filesystem.');
    155155        $this->strings['fs_error'] = __('Filesystem error.');
    156         $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.');
    157         $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).');
    158         $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.');
    159         $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress Theme directory.');
     156        $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress root directory.');
     157        $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress content directory (wp-content).');
     158        $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress plugin directory.');
     159        $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress theme directory.');
    160160        /* translators: %s: directory name */
    161161        $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).');
  • trunk/src/wp-admin/includes/plugin.php

    r37985 r38074  
    819819    $plugins_dir = $wp_filesystem->wp_plugins_dir();
    820820    if ( empty( $plugins_dir ) ) {
    821         return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress Plugin directory.' ) );
     821        return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress plugin directory.' ) );
    822822    }
    823823
  • trunk/src/wp-admin/includes/theme.php

    r38073 r38074  
    6161    $themes_dir = $wp_filesystem->wp_themes_dir();
    6262    if ( empty( $themes_dir ) ) {
    63         return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress Theme directory.' ) );
     63        return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress theme directory.' ) );
    6464    }
    6565
Note: See TracChangeset for help on using the changeset viewer.