Administration: Remove self-reference ("we") in WordPress Admin.
This changes updates many strings to remove self-references to an undefined "we" collective across the WordPress Administration. The goal of this change is to better match the guidelines and recommendations set forth in the make/core handbook, specifically: > the word "we" should be avoided (…) unless its made very clear which group is speaking. Props johnbillion, shital-patel, audrasjb, marybaum, SergeyBiryukov, peterwilsoncc, johnjamesjacoby, kebbet, costdev, chaion07, davidbaumwald. Fixes #46057. Built from https://develop.svn.wordpress.org/trunk@53131 git-svn-id: http://core.svn.wordpress.org/trunk@52720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -157,7 +157,7 @@ class Core_Upgrader extends WP_Upgrader {
|
||||
if ( ! $wp_filesystem->copy( $working_dir . '/wordpress/wp-admin/includes/update-core.php', $wp_dir . 'wp-admin/includes/update-core.php', true ) ) {
|
||||
$wp_filesystem->delete( $working_dir, true );
|
||||
WP_Upgrader::release_lock( 'core_updater' );
|
||||
return new WP_Error( 'copy_failed_for_update_core_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-admin/includes/update-core.php' );
|
||||
return new WP_Error( 'copy_failed_for_update_core_file', __( 'The update can not be installed because some files could not be copied. This is usually due to inconsistent file permissions.' ), 'wp-admin/includes/update-core.php' );
|
||||
}
|
||||
$wp_filesystem->chmod( $wp_dir . 'wp-admin/includes/update-core.php', FS_CHMOD_FILE );
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ class Language_Pack_Upgrader extends WP_Upgrader {
|
||||
* @since 3.7.0
|
||||
*/
|
||||
public function upgrade_strings() {
|
||||
$this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while we update them as well.' );
|
||||
$this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while they are updated as well.' );
|
||||
$this->strings['up_to_date'] = __( 'Your translations are all up to date.' );
|
||||
$this->strings['no_package'] = __( 'Update package not available.' );
|
||||
/* translators: %s: Package URL. */
|
||||
|
||||
@@ -778,7 +778,7 @@ class WP_Automatic_Updater {
|
||||
// Don't show this message if there is a newer version available.
|
||||
// Potential for confusion, and also not useful for them to know at this point.
|
||||
if ( 'fail' === $type && ! $newer_version_available ) {
|
||||
$body .= __( 'We tried but were unable to update your site automatically.' ) . ' ';
|
||||
$body .= __( 'An attempt was made, but your site could not be updated automatically.' ) . ' ';
|
||||
}
|
||||
|
||||
$body .= __( 'Updating is easy and only takes a few moments:' );
|
||||
@@ -844,7 +844,7 @@ class WP_Automatic_Updater {
|
||||
$body .= "\n***\n\n";
|
||||
/* translators: %s: WordPress version. */
|
||||
$body .= sprintf( __( 'Your site was running version %s.' ), get_bloginfo( 'version' ) );
|
||||
$body .= ' ' . __( 'We have some data that describes the error your site encountered.' );
|
||||
$body .= ' ' . __( 'Some data that describes the error your site encountered has been put together.' );
|
||||
$body .= ' ' . __( 'Your hosting company, support forum volunteers, or a friendly developer may be able to use this information to help you:' );
|
||||
|
||||
// If we had a rollback and we're still critical, then the rollback failed too.
|
||||
|
||||
@@ -591,7 +591,7 @@ final class WP_Privacy_Policy_Content {
|
||||
}
|
||||
|
||||
/* translators: Default privacy policy heading. */
|
||||
$strings[] = '<h2>' . __( 'Where we send your data' ) . '</h2>';
|
||||
$strings[] = '<h2>' . __( 'Where your data is sent' ) . '</h2>';
|
||||
|
||||
if ( $description ) {
|
||||
/* translators: Privacy policy tutorial. */
|
||||
|
||||
@@ -162,7 +162,7 @@ class WP_Upgrader {
|
||||
$this->strings['folder_exists'] = __( 'Destination folder already exists.' );
|
||||
$this->strings['mkdir_failed'] = __( 'Could not create directory.' );
|
||||
$this->strings['incompatible_archive'] = __( 'The package could not be installed.' );
|
||||
$this->strings['files_not_writable'] = __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' );
|
||||
$this->strings['files_not_writable'] = __( 'The update can not be installed because some files could not be copied. This is usually due to inconsistent file permissions.' );
|
||||
|
||||
$this->strings['maintenance_start'] = __( 'Enabling Maintenance mode…' );
|
||||
$this->strings['maintenance_end'] = __( 'Disabling Maintenance mode…' );
|
||||
|
||||
@@ -1414,7 +1414,7 @@ function wp_print_community_events_templates() {
|
||||
* that they match the expected location before including them.
|
||||
* Use endonyms (native locale names) whenever possible.
|
||||
*/
|
||||
__( 'We could not locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
|
||||
__( '%s could not be located. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
|
||||
'<em>{{data.unknownCity}}</em>'
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -994,7 +994,7 @@ function update_core( $from, $to ) {
|
||||
|
||||
return new WP_Error(
|
||||
'copy_failed_for_version_file',
|
||||
__( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ),
|
||||
__( 'The update can not be installed because some files could not be copied. This is usually due to inconsistent file permissions.' ),
|
||||
'wp-includes/version.php'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user