Make WordPress Core


Ignore:
Timestamp:
10/12/2021 04:42:19 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Add context for some Media Library filter strings:

  • Audio
  • Video
  • Unattached

This allows for more homogeneous translations in languages where keeping a plural form is important.

Follow-up to [6910], [7397], [8901], [9556], [11749], [13100], [12110], [15491], [15578], [22743], [29426], [29625], [34256], [45651], [46437].

Props jdy68, audrasjb, SergeyBiryukov.
Fixes #54238.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r51737 r51903  
    152152        }
    153153
    154         $type_links['detached'] = '<option value="detached"' . ( $this->detached ? ' selected="selected"' : '' ) . '>' . __( 'Unattached' ) . '</option>';
     154        $type_links['detached'] = '<option value="detached"' . ( $this->detached ? ' selected="selected"' : '' ) . '>' . _x( 'Unattached', 'media items' ) . '</option>';
    155155
    156156        $type_links['mine'] = sprintf(
Note: See TracChangeset for help on using the changeset viewer.