Make WordPress Core


Ignore:
Timestamp:
05/13/2026 07:19:52 AM (3 weeks 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.

Reviewed by audrasjb, wildworks.
Merges [62353] to the 7.0 branch.
Props timse201, audrasjb, anupkankale, mohamedahamed, rafaeldella, motylanogha, wildworks, jorbin, khokansardar, sergeybiryukov.
Fixes #64986.

Location:
branches/7.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/wp-admin/customize.php

    r62301 r62355  
    211211            <button type="button" class="customize-controls-preview-toggle">
    212212                <span class="controls"><?php _e( 'Customize' ); ?></span>
    213                 <span class="preview"><?php _e( 'Preview' ); ?></span>
     213                <span class="preview"><?php echo esc_html_x( 'Preview', 'noun' ); ?></span>
    214214            </button>
    215215            <a class="customize-controls-close" href="<?php echo esc_url( $wp_customize->get_return_url() ); ?>">
Note: See TracChangeset for help on using the changeset viewer.