Changeset 48520 for trunk/src/wp-admin/theme-install.php
- Timestamp:
- 07/20/2020 11:12:33 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/theme-install.php
r48111 r48520 324 324 <?php 325 325 /* translators: %s: Theme name. */ 326 $aria_label = sprintf( _ _( 'Install %s' ), '{{ data.name }}' );326 $aria_label = sprintf( _x( 'Install %s', 'theme' ), '{{ data.name }}' ); 327 327 ?> 328 328 <a class="button button-primary theme-install" data-name="{{ data.name }}" data-slug="{{ data.id }}" href="{{ data.install_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Install' ); ?></a> … … 331 331 <?php 332 332 /* translators: %s: Theme name. */ 333 $aria_label = sprintf( _ _( 'Cannot Install %s' ), '{{ data.name }}' );333 $aria_label = sprintf( _x( 'Cannot Install %s', 'theme' ), '{{ data.name }}' ); 334 334 ?> 335 335 <a class="button button-primary disabled" data-name="{{ data.name }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _ex( 'Cannot Install', 'theme' ); ?></a>
Note: See TracChangeset
for help on using the changeset viewer.