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

See #18218.
Built from https://develop.svn.wordpress.org/trunk@38074


git-svn-id: http://core.svn.wordpress.org/trunk@38015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-07-17 13:29:29 +00:00
parent f429056194
commit 48f9940cfc
4 changed files with 8 additions and 8 deletions

View File

@ -150,13 +150,13 @@ class WP_Upgrader {
* @access public * @access public
*/ */
public function generic_strings() { public function generic_strings() {
$this->strings['bad_request'] = __('Invalid Data provided.'); $this->strings['bad_request'] = __('Invalid data provided.');
$this->strings['fs_unavailable'] = __('Could not access filesystem.'); $this->strings['fs_unavailable'] = __('Could not access filesystem.');
$this->strings['fs_error'] = __('Filesystem error.'); $this->strings['fs_error'] = __('Filesystem error.');
$this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.'); $this->strings['fs_no_root_dir'] = __('Unable to locate WordPress root directory.');
$this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).'); $this->strings['fs_no_content_dir'] = __('Unable to locate WordPress content directory (wp-content).');
$this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.'); $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress plugin directory.');
$this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress Theme directory.'); $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress theme directory.');
/* translators: %s: directory name */ /* translators: %s: directory name */
$this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).'); $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).');

View File

@ -818,7 +818,7 @@ function delete_plugins( $plugins, $deprecated = '' ) {
// Get the base plugin folder. // Get the base plugin folder.
$plugins_dir = $wp_filesystem->wp_plugins_dir(); $plugins_dir = $wp_filesystem->wp_plugins_dir();
if ( empty( $plugins_dir ) ) { if ( empty( $plugins_dir ) ) {
return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress Plugin directory.' ) ); return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress plugin directory.' ) );
} }
$plugins_dir = trailingslashit( $plugins_dir ); $plugins_dir = trailingslashit( $plugins_dir );

View File

@ -60,7 +60,7 @@ function delete_theme($stylesheet, $redirect = '') {
// Get the base plugin folder. // Get the base plugin folder.
$themes_dir = $wp_filesystem->wp_themes_dir(); $themes_dir = $wp_filesystem->wp_themes_dir();
if ( empty( $themes_dir ) ) { if ( empty( $themes_dir ) ) {
return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress Theme directory.' ) ); return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress theme directory.' ) );
} }
$themes_dir = trailingslashit( $themes_dir ); $themes_dir = trailingslashit( $themes_dir );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-beta3-38073'; $wp_version = '4.6-beta3-38074';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.