Commit 30116969 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

I18N: Merge duplicate "List view" and "Grid view" strings.

Props ramiy.
Fixes #50757.
Built from https://develop.svn.wordpress.org/trunk@48618


git-svn-id: https://core.svn.wordpress.org/trunk@48380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent d1433872
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -41,8 +41,8 @@ class WP_Media_List_Table extends WP_List_Table {
		$this->detached = ( isset( $_REQUEST['attachment-filter'] ) && 'detached' === $_REQUEST['attachment-filter'] );

		$this->modes = array(
			'list' => __( 'List View' ),
			'grid' => __( 'Grid View' ),
			'list' => __( 'List view' ),
			'grid' => __( 'Grid view' ),
		);

		parent::__construct(
+2 −2
Original line number Diff line number Diff line
@@ -310,10 +310,10 @@ function wp_print_media_templates() {
	<?php // Template for the view switchers, used for example in the Media Grid. ?>
	<script type="text/html" id="tmpl-media-library-view-switcher">
		<a href="<?php echo esc_url( add_query_arg( 'mode', 'list', $_SERVER['REQUEST_URI'] ) ); ?>" class="view-list">
			<span class="screen-reader-text"><?php _e( 'List View' ); ?></span>
			<span class="screen-reader-text"><?php _e( 'List view' ); ?></span>
		</a>
		<a href="<?php echo esc_url( add_query_arg( 'mode', 'grid', $_SERVER['REQUEST_URI'] ) ); ?>" class="view-grid current" aria-current="page">
			<span class="screen-reader-text"><?php _e( 'Grid View' ); ?></span>
			<span class="screen-reader-text"><?php _e( 'Grid view' ); ?></span>
		</a>
	</script>

+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
 *
 * @global string $wp_version
 */
$wp_version = '5.5-beta3-48617';
$wp_version = '5.5-beta3-48618';

/**
 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.