Make WordPress Core


Ignore:
Timestamp:
05/13/2026 03:02:36 AM (3 months ago)
Author:
audrasjb
Message:

I18N: Add translator context to disambiguate translation strings for "Preview".

This changeset disambiguates translation strings for "Preview" by adding a verb|noun context to its occurrences.

Props timse201, audrasjb, anupkankale, mohamedahamed, rafaeldella, motylanogha, wildworks, jorbin, khokansardar, sergeybiryukov.
Fixes #64986.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-custom-image-header.php

    r61638 r62353  
    551551                <?php if ( get_custom_header() || display_header_text() ) : ?>
    552552<tr>
    553 <th scope="row"><?php _e( 'Preview' ); ?></th>
     553<th scope="row"><?php echo esc_html_x( 'Preview', 'noun' ); ?></th>
    554554<td>
    555555                        <?php
Note: See TracChangeset for help on using the changeset viewer.