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/meta-boxes.php

    r62185 r62353  
    7171                                        $preview_button_text = __( 'Preview Changes' );
    7272                                } else {
    73                                         $preview_button_text = __( 'Preview' );
     73                                        $preview_button_text = _x( 'Preview', 'verb' );
    7474                                }
    7575
Note: See TracChangeset for help on using the changeset viewer.