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: http://core.svn.wordpress.org/trunk@48380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c88c8db417
commit
609acd89ed
|
@ -41,8 +41,8 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||||
$this->detached = ( isset( $_REQUEST['attachment-filter'] ) && 'detached' === $_REQUEST['attachment-filter'] );
|
$this->detached = ( isset( $_REQUEST['attachment-filter'] ) && 'detached' === $_REQUEST['attachment-filter'] );
|
||||||
|
|
||||||
$this->modes = array(
|
$this->modes = array(
|
||||||
'list' => __( 'List View' ),
|
'list' => __( 'List view' ),
|
||||||
'grid' => __( 'Grid View' ),
|
'grid' => __( 'Grid view' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
parent::__construct(
|
parent::__construct(
|
||||||
|
|
|
@ -310,10 +310,10 @@ function wp_print_media_templates() {
|
||||||
<?php // Template for the view switchers, used for example in the Media Grid. ?>
|
<?php // Template for the view switchers, used for example in the Media Grid. ?>
|
||||||
<script type="text/html" id="tmpl-media-library-view-switcher">
|
<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">
|
<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>
|
||||||
<a href="<?php echo esc_url( add_query_arg( 'mode', 'grid', $_SERVER['REQUEST_URI'] ) ); ?>" class="view-grid current" aria-current="page">
|
<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>
|
</a>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue