mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -6963,7 +6963,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
preg_match( '|<title>([^<]*?)</title>|is', $remote_source, $matchtitle );
|
||||
$title = isset( $matchtitle[1] ) ? $matchtitle[1] : '';
|
||||
if ( empty( $title ) ) {
|
||||
return $this->pingback_error( 32, __( 'We cannot find a title on that page.' ) );
|
||||
return $this->pingback_error( 32, __( 'A title on that page can not be found.' ) );
|
||||
}
|
||||
|
||||
// Remove all script and style tags including their content.
|
||||
|
||||
@@ -490,7 +490,7 @@ function wpmu_validate_user_signup( $user_name, $user_email ) {
|
||||
if ( ! is_email( $user_email ) ) {
|
||||
$errors->add( 'user_email', __( 'Please enter a valid email address.' ) );
|
||||
} elseif ( is_email_address_unsafe( $user_email ) ) {
|
||||
$errors->add( 'user_email', __( 'You cannot use that email address to signup. We are having problems with them blocking some of our email. Please use another email provider.' ) );
|
||||
$errors->add( 'user_email', __( 'You cannot use that email address to signup. There are problems with them blocking some emails from WordPress. Please use another email provider.' ) );
|
||||
}
|
||||
|
||||
if ( strlen( $user_name ) < 4 ) {
|
||||
|
||||
@@ -13,47 +13,46 @@
|
||||
"custom": true,
|
||||
"customDuotone": true,
|
||||
"customGradient": true,
|
||||
"defaultDuotone": true,
|
||||
"defaultGradients": true,
|
||||
"defaultPalette": true,
|
||||
"duotone": [
|
||||
{
|
||||
"name": "Dark grayscale",
|
||||
"name": "Dark grayscale" ,
|
||||
"colors": [ "#000000", "#7f7f7f" ],
|
||||
"slug": "dark-grayscale"
|
||||
},
|
||||
{
|
||||
"name": "Grayscale",
|
||||
"name": "Grayscale" ,
|
||||
"colors": [ "#000000", "#ffffff" ],
|
||||
"slug": "grayscale"
|
||||
},
|
||||
{
|
||||
"name": "Purple and yellow",
|
||||
"name": "Purple and yellow" ,
|
||||
"colors": [ "#8c00b7", "#fcff41" ],
|
||||
"slug": "purple-yellow"
|
||||
},
|
||||
{
|
||||
"name": "Blue and red",
|
||||
"name": "Blue and red" ,
|
||||
"colors": [ "#000097", "#ff4747" ],
|
||||
"slug": "blue-red"
|
||||
},
|
||||
{
|
||||
"name": "Midnight",
|
||||
"name": "Midnight" ,
|
||||
"colors": [ "#000000", "#00a5ff" ],
|
||||
"slug": "midnight"
|
||||
},
|
||||
{
|
||||
"name": "Magenta and yellow",
|
||||
"name": "Magenta and yellow" ,
|
||||
"colors": [ "#c7005a", "#fff278" ],
|
||||
"slug": "magenta-yellow"
|
||||
},
|
||||
{
|
||||
"name": "Purple and green",
|
||||
"name": "Purple and green" ,
|
||||
"colors": [ "#a60072", "#67ff66" ],
|
||||
"slug": "purple-green"
|
||||
},
|
||||
{
|
||||
"name": "Blue and orange",
|
||||
"name": "Blue and orange" ,
|
||||
"colors": [ "#1900d8", "#ffa96b" ],
|
||||
"slug": "blue-orange"
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class WP_Widget_Media_Audio extends WP_Widget_Media {
|
||||
'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should preferably not be longer than ~13 characters long' ),
|
||||
'missing_attachment' => sprintf(
|
||||
/* translators: %s: URL to media library. */
|
||||
__( 'We cannot find that audio file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
__( 'That audio file can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
esc_url( admin_url( 'upload.php' ) )
|
||||
),
|
||||
/* translators: %d: Widget count. */
|
||||
|
||||
@@ -41,7 +41,7 @@ class WP_Widget_Media_Image extends WP_Widget_Media {
|
||||
'edit_media' => _x( 'Edit Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ),
|
||||
'missing_attachment' => sprintf(
|
||||
/* translators: %s: URL to media library. */
|
||||
__( 'We cannot find that image. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
__( 'That image can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
esc_url( admin_url( 'upload.php' ) )
|
||||
),
|
||||
/* translators: %d: Widget count. */
|
||||
|
||||
@@ -41,14 +41,14 @@ class WP_Widget_Media_Video extends WP_Widget_Media {
|
||||
'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ),
|
||||
'missing_attachment' => sprintf(
|
||||
/* translators: %s: URL to media library. */
|
||||
__( 'We cannot find that video. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
__( 'That video can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
esc_url( admin_url( 'upload.php' ) )
|
||||
),
|
||||
/* translators: %d: Widget count. */
|
||||
'media_library_state_multi' => _n_noop( 'Video Widget (%d)', 'Video Widget (%d)' ),
|
||||
'media_library_state_single' => __( 'Video Widget' ),
|
||||
/* translators: %s: A list of valid video file extensions. */
|
||||
'unsupported_file_type' => sprintf( __( 'Sorry, we cannot load the video at the supplied URL. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
|
||||
'unsupported_file_type' => sprintf( __( 'Sorry, the video at the supplied URL can not be loaded. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ abstract class WP_Widget_Media extends WP_Widget {
|
||||
'add_to_widget' => __( 'Add to Widget' ),
|
||||
'missing_attachment' => sprintf(
|
||||
/* translators: %s: URL to media library. */
|
||||
__( 'We cannot find that file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
__( 'That file can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
|
||||
esc_url( admin_url( 'upload.php' ) )
|
||||
),
|
||||
/* translators: %d: Widget count. */
|
||||
|
||||
@@ -1186,7 +1186,7 @@ class wpdb {
|
||||
|
||||
$message .= '<p>' . sprintf(
|
||||
/* translators: %s: Database name. */
|
||||
__( 'We were able to connect to the database server (which means your username and password is okay) but not able to select the %s database.' ),
|
||||
__( 'The database server could be connected to (which means your username and password is okay) but the %s database could not be selected.' ),
|
||||
'<code>' . htmlspecialchars( $db, ENT_QUOTES ) . '</code>'
|
||||
) . "</p>\n";
|
||||
|
||||
@@ -1802,7 +1802,7 @@ class wpdb {
|
||||
|
||||
$message .= '<p>' . sprintf(
|
||||
/* translators: 1: wp-config.php, 2: Database host. */
|
||||
__( 'This either means that the username and password information in your %1$s file is incorrect or we cannot contact the database server at %2$s. This could mean your host’s database server is down.' ),
|
||||
__( 'This either means that the username and password information in your %1$s file is incorrect or that contact with the database server at %2$s could not be established. This could mean your host’s database server is down.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
'<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>'
|
||||
) . "</p>\n";
|
||||
@@ -1961,7 +1961,7 @@ class wpdb {
|
||||
|
||||
$message .= '<p>' . sprintf(
|
||||
/* translators: %s: Database host. */
|
||||
__( 'This means that we lost contact with the database server at %s. This could mean your host’s database server is down.' ),
|
||||
__( 'This means that the contact with the database server at %s was lost. This could mean your host’s database server is down.' ),
|
||||
'<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>'
|
||||
) . "</p>\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user