WordPress.org

Make WordPress Core

Changeset 48545


Ignore:
Timestamp:
07/21/2020 04:31:06 PM (14 months ago)
Author:
SergeyBiryukov
Message:

I18N: Add context to some theme strings for consistency.

Props ramiy, ocean90.
Fixes #50709.

Location:
trunk/src/wp-admin/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-theme-installer-skin.php

    r48508 r48545  
    135135            __( 'Activate' ),
    136136            /* translators: %s: Theme name. */
    137             sprintf( __( 'Activate “%s”' ), $name )
     137            sprintf( _x( 'Activate “%s”', 'theme' ), $name )
    138138        );
    139139
  • trunk/src/wp-admin/includes/class-theme-upgrader-skin.php

    r47814 r48545  
    9595                    __( 'Activate' ),
    9696                    /* translators: %s: Theme name. */
    97                     sprintf( __( 'Activate “%s”' ), $name )
     97                    sprintf( _x( 'Activate “%s”', 'theme' ), $name )
    9898                );
    9999            }
  • trunk/src/wp-admin/includes/class-wp-themes-list-table.php

    r47550 r48545  
    213213                $activate_link,
    214214                /* translators: %s: Theme name. */
    215                 esc_attr( sprintf( __( 'Activate “%s”' ), $title ) ),
     215                esc_attr( sprintf( _x( 'Activate “%s”', 'theme' ), $title ) ),
    216216                __( 'Activate' )
    217217            );
Note: See TracChangeset for help on using the changeset viewer.