| @@ -204,10 +204,10 @@ | ||
| 204 | 204 | 'core/image', |
| 205 | 205 | array( |
| 206 | 206 | 'defaultAriaLabel' => __( 'Enlarged image' ), |
| 207 | 207 | 'closeButtonText' => esc_html__( 'Close' ), |
| 208 | - 'prevButtonText' => esc_html_x( 'Previous', 'previous image in lightbox' ), | |
| 209 | - 'nextButtonText' => esc_html_x( 'Next', 'next image in lightbox' ), | |
| 208 | + 'prevButtonText' => esc_html__( 'Previous' ), | |
| 209 | + 'nextButtonText' => esc_html__( 'Next' ), | |
| 210 | 210 | ) |
| 211 | 211 | ); |
| 212 | 212 | |
| 213 | 213 | if ( $alt ) { |
| @@ -322,10 +322,10 @@ | ||
| 322 | 322 | */ |
| 323 | 323 | function gutenberg_block_core_image_print_lightbox_overlay() { |
| 324 | 324 | $dialog_label = esc_attr__( 'Enlarged images' ); |
| 325 | 325 | $close_button_text = esc_attr__( 'Close' ); |
| 326 | - $prev_button_text = esc_attr_x( 'Previous', 'previous image in lightbox' ); | |
| 327 | - $next_button_text = esc_attr_x( 'Next', 'next image in lightbox' ); | |
| 326 | + $prev_button_text = esc_attr__( 'Previous' ); | |
| 327 | + $next_button_text = esc_attr__( 'Next' ); | |
| 328 | 328 | $close_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" focusable="false"><path d="m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"></path></svg>'; |
| 329 | 329 | $prev_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="28" height="28" aria-hidden="true" focusable="false"><path d="M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"></path></svg>'; |
| 330 | 330 | $next_button_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="28" height="28" aria-hidden="true" focusable="false"><path d="M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"></path></svg>'; |
| 331 | 331 | |