Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
image_align_left: "Left",
image_align_right: "Right",
link_title: "Insert/edit link",
link_url: "Link URL",
link_url: "Link To",
link_target: "Target",
link_target_same: "Open link in the same window",
link_target_blank: "Open link in a new window",
Expand Down Expand Up @@ -473,7 +473,7 @@
wp_more_alt: "More...",
wp_page_alt: "Next page...",
add_media: "Add Media",
add_image: "Add an Image",
add_image: "Add Image",
add_video: "Add Video",
add_audio: "Add Audio",
editgallery: "Edit Gallery",
Expand Down Expand Up @@ -511,6 +511,6 @@
s130: "130%",
img_title: "Title",
caption: "Caption",
alt: "Alternative Text"
alt: "Alt Text"
});
}());
2 changes: 1 addition & 1 deletion src/wp-admin/includes/class-custom-background.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function admin_load() {
'<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' .
'<p>' . __( 'To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the &#8220;Choose Image&#8221; button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' .
'<p>' . __( 'You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' .
'<p>' . __( 'Do not forget to click on the Save Changes button when you are finished.' ) . '</p>',
'<p>' . __( 'Do not forget to use the Save Changes button when you are finished.' ) . '</p>',
)
);

Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/includes/class-custom-image-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function help() {
) .
'</p>' .
'<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' .
'<p>' . __( 'Do not forget to click &#8220;Save Changes&#8221; when you are done!' ) . '</p>',
'<p>' . __( 'Do not forget to use the &#8220;Save Changes&#8221; button when you are done!' ) . '</p>',
)
);

Expand Down Expand Up @@ -764,7 +764,7 @@ public function step_1() {
<th scope="row"><?php _e( 'Header Text' ); ?></th>
<td>
<p>
<label><input type="checkbox" name="display-header-text" id="display-header-text"<?php checked( display_header_text() ); ?> /> <?php _e( 'Show header text with your image.' ); ?></label>
<label><input type="checkbox" name="display-header-text" id="display-header-text"<?php checked( display_header_text() ); ?> /> <?php _e( 'Show header text.' ); ?></label>
</p>
</td>
</tr>
Expand Down
8 changes: 4 additions & 4 deletions src/wp-admin/includes/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ function get_attachment_fields_to_edit( $post, $errors = null ) {
'input' => 'textarea',
),
'url' => array(
'label' => __( 'Link URL' ),
'label' => __( 'Link To' ),
'input' => 'html',
'html' => image_link_input_fields( $post, get_option( 'image_default_link_type' ) ),
'helps' => __( 'Enter a link URL or click above for presets.' ),
Expand Down Expand Up @@ -1482,7 +1482,7 @@ function get_attachment_fields_to_edit( $post, $errors = null ) {

$form_fields['image_alt'] = array(
'value' => $alt,
'label' => __( 'Alternative Text' ),
'label' => __( 'Alt Text' ),
'helps' => __( 'Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;' ),
);

Expand Down Expand Up @@ -2979,7 +2979,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {

<tr class="image-only">
<th scope="row" class="label">
<label for="alt"><span class="alignleft">' . __( 'Alternative Text' ) . '</span> ' . wp_required_field_indicator() . '</label>
<label for="alt"><span class="alignleft">' . __( 'Alt Text' ) . '</span> ' . wp_required_field_indicator() . '</label>
</th>
<td class="field"><input id="alt" name="alt" value="" type="text" required />
<p class="help">' . __( 'Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;' ) . '</p></td>
Expand Down Expand Up @@ -3236,7 +3236,7 @@ function edit_form_image_editor( $post ) {
<div class="wp_attachment_details edit-form-section">
<?php if ( str_starts_with( $post->post_mime_type, 'image' ) ) : ?>
<p class="attachment-alt-text">
<label for="attachment_alt"><strong><?php _e( 'Alternative Text' ); ?></strong></label><br />
<label for="attachment_alt"><strong><?php _e( 'Alt Text' ); ?></strong></label><br />
<textarea class="widefat" name="_wp_attachment_image_alt" id="attachment_alt" aria-describedby="alt-text-description"><?php echo esc_attr( $alt_text ); ?></textarea>
</p>
<p class="attachment-alt-text-description" id="alt-text-description">
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-nav-menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public function enqueue_scripts() {
'itemsFound' => __( 'Number of items found: %d' ),
/* translators: %d: Number of additional menu items found. */
'itemsFoundMore' => __( 'Additional items found: %d' ),
'itemsLoadingMore' => __( 'Loading more results... please wait.' ),
'itemsLoadingMore' => __( 'Loading more results&hellip; please wait.' ),
'reorderModeOn' => __( 'Reorder mode enabled' ),
'reorderModeOff' => __( 'Reorder mode closed' ),
'reorderLabelOn' => esc_attr__( 'Reorder menu items' ),
Expand Down
6 changes: 3 additions & 3 deletions src/wp-includes/media-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function wp_print_media_templates() {
<# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
<# if ( 'image' === data.type ) { #>
<span class="setting alt-text has-description" data-setting="alt">
<label for="attachment-details-two-column-alt-text" class="name"><?php _e( 'Alternative Text' ); ?></label>
<label for="attachment-details-two-column-alt-text" class="name"><?php _e( 'Alt Text' ); ?></label>
<textarea id="attachment-details-two-column-alt-text" aria-describedby="alt-text-description" {{ maybeReadOnly }}>{{ data.alt }}</textarea>
</span>
<p class="description" id="alt-text-description"><?php echo $alt_text_description; ?></p>
Expand Down Expand Up @@ -1071,7 +1071,7 @@ function wp_print_media_templates() {
</div>

<span class="setting alt-text has-description">
<label for="embed-image-settings-alt-text" class="name"><?php _e( 'Alternative Text' ); ?></label>
<label for="embed-image-settings-alt-text" class="name"><?php _e( 'Alt Text' ); ?></label>
<textarea id="embed-image-settings-alt-text" data-setting="alt" aria-describedby="alt-text-description"></textarea>
</span>
<p class="description" id="alt-text-description"><?php echo $alt_text_description; ?></p>
Expand Down Expand Up @@ -1134,7 +1134,7 @@ function wp_print_media_templates() {
<div class="embed-media-settings">
<div class="column-settings">
<span class="setting alt-text has-description">
<label for="image-details-alt-text" class="name"><?php _e( 'Alternative Text' ); ?></label>
<label for="image-details-alt-text" class="name"><?php _e( 'Alt Text' ); ?></label>
<textarea id="image-details-alt-text" data-setting="alt" aria-describedby="alt-text-description">{{ data.model.alt }}</textarea>
</span>
<p class="description" id="alt-text-description"><?php echo $alt_text_description; ?></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ public function get_item_schema() {
$schema = parent::get_item_schema();

$schema['properties']['alt_text'] = array(
'description' => __( 'Alternative text to display when attachment is not displayed.' ),
'description' => __( 'Alt text to display when attachment is not displayed.' ),
'type' => 'string',
'context' => array( 'view', 'edit', 'embed' ),
'arg_options' => array(
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/widgets/class-wp-widget-media-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function get_instance_schema() {
'type' => 'string',
'default' => '',
'sanitize_callback' => 'sanitize_text_field',
'description' => __( 'Alternative Text' ),
'description' => __( 'Alt Text' ),
),
'link_type' => array(
'type' => 'string',
Expand Down
2 changes: 1 addition & 1 deletion tests/qunit/fixtures/customize-menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ window._wpCustomizeNavMenusSettings = {
'itemDeleted': 'Menu item deleted',
'itemsFound': 'Number of items found: %d',
'itemsFoundMore': 'Additional items found: %d',
'itemsLoadingMore': 'Loading more results... please wait.',
'itemsLoadingMore': 'Loading more results&hellip; please wait.',
'menuAdded': 'Menu created',
'menuDeleted': 'Menu deleted',
'menuLocation': '(Currently set to: %s)',
Expand Down
Loading