Make WordPress Core


Ignore:
Timestamp:
07/20/2020 11:12:33 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Add context to some plugin and theme strings for consistency.

Props ramiy, audrasjb.
Fixes #50710.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update.php

    r48316 r48520  
    510510                        'class="update-link" aria-label="%s"',
    511511                        /* translators: %s: Plugin name. */
    512                         esc_attr( sprintf( __( 'Update %s now' ), $plugin_name ) )
     512                        esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $plugin_name ) )
    513513                    )
    514514                );
     
    695695                'class="update-link" aria-label="%s"',
    696696                /* translators: %s: Theme name. */
    697                 esc_attr( sprintf( __( 'Update %s now' ), $theme['Name'] ) )
     697                esc_attr( sprintf( _x( 'Update %s now', 'theme' ), $theme['Name'] ) )
    698698            )
    699699        );
Note: See TracChangeset for help on using the changeset viewer.