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-includes/class-wp-customize-manager.php

    r61767 r62353  
    43344334                                                        <a class="button customize-notice-go-back-button" href="{{ data.returnUrl }}"><?php _e( 'Go back' ); ?></a>
    43354335                                                <# } #>
    4336                                                 <a class="button customize-notice-preview-button" href="{{ data.frontendPreviewUrl }}"><?php _e( 'Preview' ); ?></a>
     4336                                                <a class="button customize-notice-preview-button" href="{{ data.frontendPreviewUrl }}"><?php echo esc_html_x( 'Preview', 'verb' ); ?></a>
    43374337                                                <# if ( data.allowOverride ) { #>
    43384338                                                        <button class="button button-primary wp-tab-last customize-notice-take-over-button"><?php _e( 'Take over' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.