Changeset 53131
- Timestamp:
- 04/11/2022 11:40:38 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r52978 r53131 449 449 <div id="lost-connection-notice" class="error hidden"> 450 450 <p><span class="spinner"></span> <?php _e( '<strong>Connection lost.</strong> Saving has been disabled until you are reconnected.' ); ?> 451 <span class="hide-if-no-sessionstorage"><?php _e( ' We are backing up this postin your browser, just in case.' ); ?></span>451 <span class="hide-if-no-sessionstorage"><?php _e( 'This post is being backed up in your browser, just in case.' ); ?></span> 452 452 </p> 453 453 </div> -
trunk/src/wp-admin/export.php
r52285 r53131 172 172 173 173 <p><?php _e( 'When you click the button below WordPress will create an XML file for you to save to your computer.' ); ?></p> 174 <p><?php _e( 'This format, which we callWordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.' ); ?></p>174 <p><?php _e( 'This format, which is called WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.' ); ?></p> 175 175 <p><?php _e( 'Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.' ); ?></p> 176 176 -
trunk/src/wp-admin/freedoms.php
r52978 r53131 97 97 printf( 98 98 /* translators: 1: URL to Plugins screen, 2: URL to Themes screen, 3: https://wordpress.org/about/license/ */ 99 __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they do not respect the WordPress license, we do not recommendthem.' ),99 __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they do not respect the WordPress license, it is not recommended to use them.' ), 100 100 $plugins_url, 101 101 $themes_url, -
trunk/src/wp-admin/includes/class-core-upgrader.php
r52576 r53131 158 158 $wp_filesystem->delete( $working_dir, true ); 159 159 WP_Upgrader::release_lock( 'core_updater' ); 160 return new WP_Error( 'copy_failed_for_update_core_file', __( 'The update can not 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' );160 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' ); 161 161 } 162 162 $wp_filesystem->chmod( $wp_dir . 'wp-admin/includes/update-core.php', FS_CHMOD_FILE ); -
trunk/src/wp-admin/includes/class-language-pack-upgrader.php
r49091 r53131 111 111 */ 112 112 public function upgrade_strings() { 113 $this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while we update themas well.' );113 $this->strings['starting_upgrade'] = __( 'Some of your translations need updating. Sit tight for a few more seconds while they are updated as well.' ); 114 114 $this->strings['up_to_date'] = __( 'Your translations are all up to date.' ); 115 115 $this->strings['no_package'] = __( 'Update package not available.' ); -
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r53064 r53131 779 779 // Potential for confusion, and also not useful for them to know at this point. 780 780 if ( 'fail' === $type && ! $newer_version_available ) { 781 $body .= __( ' We tried but were unable to update your siteautomatically.' ) . ' ';781 $body .= __( 'An attempt was made, but your site could not be updated automatically.' ) . ' '; 782 782 } 783 783 … … 845 845 /* translators: %s: WordPress version. */ 846 846 $body .= sprintf( __( 'Your site was running version %s.' ), get_bloginfo( 'version' ) ); 847 $body .= ' ' . __( ' We have some data that describes the error your site encountered.' );847 $body .= ' ' . __( 'Some data that describes the error your site encountered has been put together.' ); 848 848 $body .= ' ' . __( 'Your hosting company, support forum volunteers, or a friendly developer may be able to use this information to help you:' ); 849 849 -
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r52239 r53131 592 592 593 593 /* translators: Default privacy policy heading. */ 594 $strings[] = '<h2>' . __( 'Where we send your data' ) . '</h2>';594 $strings[] = '<h2>' . __( 'Where your data is sent' ) . '</h2>'; 595 595 596 596 if ( $description ) { -
trunk/src/wp-admin/includes/class-wp-upgrader.php
r52997 r53131 163 163 $this->strings['mkdir_failed'] = __( 'Could not create directory.' ); 164 164 $this->strings['incompatible_archive'] = __( 'The package could not be installed.' ); 165 $this->strings['files_not_writable'] = __( 'The update can not be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' );165 $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.' ); 166 166 167 167 $this->strings['maintenance_start'] = __( 'Enabling Maintenance mode…' ); -
trunk/src/wp-admin/includes/dashboard.php
r52980 r53131 1415 1415 * Use endonyms (native locale names) whenever possible. 1416 1416 */ 1417 __( ' We could not locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),1417 __( '%s could not be located. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ), 1418 1418 '<em>{{data.unknownCity}}</em>' 1419 1419 ); -
trunk/src/wp-admin/includes/update-core.php
r53060 r53131 995 995 return new WP_Error( 996 996 'copy_failed_for_version_file', 997 __( 'The update can not be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ),997 __( 'The update can not be installed because some files could not be copied. This is usually due to inconsistent file permissions.' ), 998 998 'wp-includes/version.php' 999 999 ); -
trunk/src/wp-admin/network/settings.php
r51475 r53131 163 163 <input name="new_admin_email" type="email" id="admin_email" aria-describedby="admin-email-desc" class="regular-text" value="<?php echo esc_attr( get_site_option( 'admin_email' ) ); ?>" /> 164 164 <p class="description" id="admin-email-desc"> 165 <?php _e( 'This address is used for admin purposes. If you change this, we will send you an email atyour new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?>165 <?php _e( 'This address is used for admin purposes. If you change this, an email will be sent to your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?> 166 166 </p> 167 167 <?php -
trunk/src/wp-admin/network/upgrade.php
r52978 r53131 139 139 ?> 140 140 <h2><?php _e( 'Database Update Required' ); ?></h2> 141 <p><?php _e( 'WordPress has been updated! Before we send you on your way, we needto individually upgrade the sites in your network.' ); ?></p>141 <p><?php _e( 'WordPress has been updated! Next and final step is to individually upgrade the sites in your network.' ); ?></p> 142 142 <?php endif; ?> 143 143 -
trunk/src/wp-admin/options-general.php
r51475 r53131 112 112 <th scope="row"><label for="new_admin_email"><?php _e( 'Administration Email Address' ); ?></label></th> 113 113 <td><input name="new_admin_email" type="email" id="new_admin_email" aria-describedby="new-admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 114 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this, we will send you an email atyour new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?></p>114 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this, an email will be sent to your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?></p> 115 115 <?php 116 116 $new_admin_email = get_option( 'new_admin_email' ); -
trunk/src/wp-admin/options-privacy.php
r52055 r53131 190 190 </p> 191 191 <p> 192 <?php _e( 'After your Privacy Policy page is set, we suggest that youedit it.' ); ?>193 <?php _e( ' We would also suggest reviewingyour Privacy Policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?>192 <?php _e( 'After your Privacy Policy page is set, you should edit it.' ); ?> 193 <?php _e( 'It is also suggested that you should review your Privacy Policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?> 194 194 </p> 195 195 <p> -
trunk/src/wp-admin/privacy-policy-guide.php
r51657 r53131 66 66 <h3 class="section-title"><?php _e( 'Introduction' ); ?></h3> 67 67 <p><?php _e( 'This text template will help you to create your web site’s privacy policy.' ); ?></p> 68 <p><?php _e( ' We have suggested the sections youwill need. Under each section heading you will find a short summary of what information you should provide, which will help you to get started. Some sections include suggested policy content, others will have to be completed with information from your theme and plugins.' ); ?></p>68 <p><?php _e( 'The template contains a suggestion of sections you most likely will need. Under each section heading you will find a short summary of what information you should provide, which will help you to get started. Some sections include suggested policy content, others will have to be completed with information from your theme and plugins.' ); ?></p> 69 69 <p><?php _e( 'Please edit your privacy policy content, making sure to delete the summaries, and adding any information from your theme and plugins. Once you publish your policy page, remember to add it to your navigation menu.' ); ?></p> 70 70 <p><?php _e( 'It is your responsibility to write a comprehensive privacy policy, to make sure it reflects all national and international legal requirements on privacy, and to keep your policy current and accurate.' ); ?></p> -
trunk/src/wp-admin/setup-config.php
r52978 r53131 159 159 ?> 160 160 <h1 class="screen-reader-text"><?php _e( 'Before getting started' ); ?></h1> 161 <p><?php _e( 'Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.' ); ?></p>161 <p><?php _e( 'Welcome to WordPress. Before getting started, some information on the database is needed. You will need to know the following items before proceeding.' ); ?></p> 162 162 <ol> 163 163 <li><?php _e( 'Database name' ); ?></li> … … 171 171 printf( 172 172 /* translators: %s: wp-config.php */ 173 __( ' We are going to use this informationto create a %s file.' ),173 __( 'This information is being used to create a %s file.' ), 174 174 '<code>wp-config.php</code>' 175 175 ); … … 188 188 printf( 189 189 /* translators: %s: Documentation URL. */ 190 __( 'Need more help? <a href="%s"> We got it</a>.' ),190 __( 'Need more help? <a href="%s">Read the support article on wp-config.php</a>.' ), 191 191 __( 'https://wordpress.org/support/article/editing-wp-config-php/' ) 192 192 ); -
trunk/src/wp-admin/upgrade.php
r50561 r53131 138 138 ?> 139 139 <h1><?php _e( 'Database Update Required' ); ?></h1> 140 <p><?php _e( 'WordPress has been updated! Before we send you on your way, we haveto update your database to the newest version.' ); ?></p>140 <p><?php _e( 'WordPress has been updated! Next and final step is to update your database to the newest version.' ); ?></p> 141 141 <p><?php _e( 'The database update process may take a little while, so please be patient.' ); ?></p> 142 142 <p class="step"><a class="button button-large button-primary" href="upgrade.php?step=1&backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p> -
trunk/src/wp-admin/user-edit.php
r53111 r53131 515 515 <?php if ( $profile_user->ID === $current_user->ID ) : ?> 516 516 <p class="description" id="email-description"> 517 <?php _e( 'If you change this, we will send you an emailat your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?>517 <?php _e( 'If you change this, an email will be sent at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?> 518 518 </p> 519 519 <?php endif; ?> -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r52978 r53131 6964 6964 $title = isset( $matchtitle[1] ) ? $matchtitle[1] : ''; 6965 6965 if ( empty( $title ) ) { 6966 return $this->pingback_error( 32, __( ' We cannot find a title on that page.' ) );6966 return $this->pingback_error( 32, __( 'A title on that page can not be found.' ) ); 6967 6967 } 6968 6968 -
trunk/src/wp-includes/ms-functions.php
r53011 r53131 491 491 $errors->add( 'user_email', __( 'Please enter a valid email address.' ) ); 492 492 } elseif ( is_email_address_unsafe( $user_email ) ) { 493 $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.' ) );493 $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.' ) ); 494 494 } 495 495 -
trunk/src/wp-includes/theme.json
r53130 r53131 14 14 "customDuotone": true, 15 15 "customGradient": true, 16 "defaultDuotone": true,17 16 "defaultGradients": true, 18 17 "defaultPalette": true, 19 18 "duotone": [ 20 19 { 21 "name": "Dark grayscale",20 "name": "Dark grayscale" , 22 21 "colors": [ "#000000", "#7f7f7f" ], 23 22 "slug": "dark-grayscale" 24 23 }, 25 24 { 26 "name": "Grayscale",25 "name": "Grayscale" , 27 26 "colors": [ "#000000", "#ffffff" ], 28 27 "slug": "grayscale" 29 28 }, 30 29 { 31 "name": "Purple and yellow",30 "name": "Purple and yellow" , 32 31 "colors": [ "#8c00b7", "#fcff41" ], 33 32 "slug": "purple-yellow" 34 33 }, 35 34 { 36 "name": "Blue and red",35 "name": "Blue and red" , 37 36 "colors": [ "#000097", "#ff4747" ], 38 37 "slug": "blue-red" 39 38 }, 40 39 { 41 "name": "Midnight",40 "name": "Midnight" , 42 41 "colors": [ "#000000", "#00a5ff" ], 43 42 "slug": "midnight" 44 43 }, 45 44 { 46 "name": "Magenta and yellow",45 "name": "Magenta and yellow" , 47 46 "colors": [ "#c7005a", "#fff278" ], 48 47 "slug": "magenta-yellow" 49 48 }, 50 49 { 51 "name": "Purple and green",50 "name": "Purple and green" , 52 51 "colors": [ "#a60072", "#67ff66" ], 53 52 "slug": "purple-green" 54 53 }, 55 54 { 56 "name": "Blue and orange",55 "name": "Blue and orange" , 57 56 "colors": [ "#1900d8", "#ffa96b" ], 58 57 "slug": "blue-orange" -
trunk/src/wp-includes/widgets/class-wp-widget-media-audio.php
r52978 r53131 42 42 'missing_attachment' => sprintf( 43 43 /* translators: %s: URL to media library. */ 44 __( ' We cannot find that audio file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),44 __( 'That audio file can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ), 45 45 esc_url( admin_url( 'upload.php' ) ) 46 46 ), -
trunk/src/wp-includes/widgets/class-wp-widget-media-image.php
r52978 r53131 42 42 'missing_attachment' => sprintf( 43 43 /* translators: %s: URL to media library. */ 44 __( ' We cannot find that image. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),44 __( 'That image can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ), 45 45 esc_url( admin_url( 'upload.php' ) ) 46 46 ), -
trunk/src/wp-includes/widgets/class-wp-widget-media-video.php
r52978 r53131 42 42 'missing_attachment' => sprintf( 43 43 /* translators: %s: URL to media library. */ 44 __( ' We cannot find that video. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),44 __( 'That video can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ), 45 45 esc_url( admin_url( 'upload.php' ) ) 46 46 ), … … 49 49 'media_library_state_single' => __( 'Video Widget' ), 50 50 /* translators: %s: A list of valid video file extensions. */ 51 '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>' ),51 '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>' ), 52 52 ) 53 53 ); -
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r52978 r53131 75 75 'missing_attachment' => sprintf( 76 76 /* translators: %s: URL to media library. */ 77 __( ' We cannot find that file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),77 __( 'That file can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ), 78 78 esc_url( admin_url( 'upload.php' ) ) 79 79 ), -
trunk/src/wp-includes/wp-db.php
r52978 r53131 1187 1187 $message .= '<p>' . sprintf( 1188 1188 /* translators: %s: Database name. */ 1189 __( ' 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.' ),1189 __( 'The database server could be connected to (which means your username and password is okay) but the %s database could not be selected.' ), 1190 1190 '<code>' . htmlspecialchars( $db, ENT_QUOTES ) . '</code>' 1191 1191 ) . "</p>\n"; … … 1803 1803 $message .= '<p>' . sprintf( 1804 1804 /* translators: 1: wp-config.php, 2: Database host. */ 1805 __( '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.' ),1805 __( '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.' ), 1806 1806 '<code>wp-config.php</code>', 1807 1807 '<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>' … … 1962 1962 $message .= '<p>' . sprintf( 1963 1963 /* translators: %s: Database host. */ 1964 __( 'This means that we lost contact with the database server at %s. This could mean your host’s database server is down.' ),1964 __( 'This means that the contact with the database server at %s was lost. This could mean your host’s database server is down.' ), 1965 1965 '<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>' 1966 1966 ) . "</p>\n"; -
trunk/src/wp-load.php
r50916 r53131 93 93 $die .= '<p>' . sprintf( 94 94 /* translators: %s: Documentation URL. */ 95 __( "Need more help? <a href='%s'> We got it</a>." ),95 __( "Need more help? <a href='%s'>Read the support article on wp-config.php</a>." ), 96 96 __( 'https://wordpress.org/support/article/editing-wp-config-php/' ) 97 97 ) . '</p>'; -
trunk/src/wp-signup.php
r53041 r53131 272 272 <p class="error"><?php echo $errmsg; ?></p> 273 273 <?php } ?> 274 <input name="user_email" type="email" id="user_email" value="<?php echo esc_attr( $user_email ); ?>" maxlength="200" autocomplete="email" /><br /><?php _e( ' We send your registration emailto this address. (Double-check your email address before continuing.)' ); ?>274 <input name="user_email" type="email" id="user_email" value="<?php echo esc_attr( $user_email ); ?>" maxlength="200" autocomplete="email" /><br /><?php _e( 'Your registration email is sent to this address. (Double-check your email address before continuing.)' ); ?> 275 275 <?php 276 276 $errmsg = $errors->get_error_message( 'generic' ); -
trunk/src/wp-trackback.php
r49108 r53131 128 128 $dupe = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_author_url = %s", $comment_post_ID, $comment_author_url ) ); 129 129 if ( $dupe ) { 130 trackback_response( 1, __( ' We already havea ping from that URL for this post.' ) );130 trackback_response( 1, __( 'There is already a ping from that URL for this post.' ) ); 131 131 } 132 132 -
trunk/tests/qunit/index.html
r52978 r53131 122 122 123 123 wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.mime_type = "image"; 124 _.extend( wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.l10n, {"no_media_selected":"No image selected","select_media":"Select Image","change_media":"Change Image","edit_media":"Edit Image","add_to_widget":"Add to Widget","missing_attachment":" We cannot find that image. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Image Widget (%d)","1":"Image Widget (%d)","singular":"Image Widget (%d)","plural":"Image Widget (%d)","context":null,"domain":null},"media_library_state_single":"Image Widget"} );124 _.extend( wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.l10n, {"no_media_selected":"No image selected","select_media":"Select Image","change_media":"Change Image","edit_media":"Edit Image","add_to_widget":"Add to Widget","missing_attachment":"That image can not be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Image Widget (%d)","1":"Image Widget (%d)","singular":"Image Widget (%d)","plural":"Image Widget (%d)","context":null,"domain":null},"media_library_state_single":"Image Widget"} ); 125 125 </script> 126 126 <script src="../../build/wp-admin/js/widgets/media-video-widget.js"></script> … … 129 129 130 130 wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.mime_type = "video"; 131 _.extend( wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.l10n, {"no_media_selected":"No video selected","select_media":"Select Video","change_media":"Change Video","edit_media":"Edit Video","add_to_widget":"Add to Widget","missing_attachment":" We cannot find that video. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Video Widget (%d)","1":"Video Widget (%d)","singular":"Video Widget (%d)","plural":"Video Widget (%d)","context":null,"domain":null},"media_library_state_single":"Video Widget"} );131 _.extend( wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.l10n, {"no_media_selected":"No video selected","select_media":"Select Video","change_media":"Change Video","edit_media":"Edit Video","add_to_widget":"Add to Widget","missing_attachment":"That video can not be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Video Widget (%d)","1":"Video Widget (%d)","singular":"Video Widget (%d)","plural":"Video Widget (%d)","context":null,"domain":null},"media_library_state_single":"Video Widget"} ); 132 132 </script> 133 133 <script src="../../build/wp-admin/js/widgets/media-audio-widget.js"></script> … … 136 136 137 137 wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.mime_type = "audio"; 138 _.extend( wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.l10n, {"no_media_selected":"No audio selected","select_media":"Select File","change_media":"Change Audio","edit_media":"Edit Audio","add_to_widget":"Add to Widget","missing_attachment":" We cannot find that audio file. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Audio Widget (%d)","1":"Audio Widget (%d)","singular":"Audio Widget (%d)","plural":"Audio Widget (%d)","context":null,"domain":null},"media_library_state_single":"Audio Widget"} );138 _.extend( wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.l10n, {"no_media_selected":"No audio selected","select_media":"Select File","change_media":"Change Audio","edit_media":"Edit Audio","add_to_widget":"Add to Widget","missing_attachment":"That audio file can not be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Audio Widget (%d)","1":"Audio Widget (%d)","singular":"Audio Widget (%d)","plural":"Audio Widget (%d)","context":null,"domain":null},"media_library_state_single":"Audio Widget"} ); 139 139 </script> 140 140 <script type='text/javascript' src='../../build/wp-admin/js/widgets/media-gallery-widget.js'></script> … … 636 636 <# if ( data.error && 'missing_attachment' === data.error ) { #> 637 637 <div class="notice notice-error notice-alt notice-missing-attachment"> 638 <p> We cannot find that image. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>638 <p>That image can not be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p> 639 639 </div> 640 640 <# } else if ( data.error ) { #> … … 677 677 <# if ( data.error && 'missing_attachment' === data.error ) { #> 678 678 <div class="notice notice-error notice-alt notice-missing-attachment"> 679 <p> We cannot find that video. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>679 <p>That video can not be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p> 680 680 </div> 681 681 <# } else if ( data.error && 'unsupported_file_type' === data.error ) { #> 682 682 <div class="notice notice-error notice-alt notice-missing-attachment"> 683 <p>Sorry, we cannot load the video at the supplied URL. Please check that the URL is for a supported video file (<code>.mp4</code>, <code>.m4v</code>, <code>.webm</code>, <code>.ogv</code>, <code>.flv</code>) or stream (e.g. YouTube and Vimeo).</p>683 <p>Sorry, the video at the supplied URL can not be loaded. Please check that the URL is for a supported video file (<code>.mp4</code>, <code>.m4v</code>, <code>.webm</code>, <code>.ogv</code>, <code>.flv</code>) or stream (e.g. YouTube and Vimeo).</p> 684 684 </div> 685 685 <# } else if ( data.error ) { #> … … 805 805 <# if ( data.error && 'missing_attachment' === data.error ) { #> 806 806 <div class="notice notice-error notice-alt notice-missing-attachment"> 807 <p> We cannot find that audio file. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>807 <p>That audio file can not be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p> 808 808 </div> 809 809 <# } else if ( data.error ) { #>
Note: See TracChangeset
for help on using the changeset viewer.