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:
Sergey Biryukov
2020-07-25 21:32:05 +00:00
parent c88c8db417
commit 609acd89ed
3 changed files with 5 additions and 5 deletions

View File

@@ -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>