Changeset 48520
- Timestamp:
- 07/20/2020 11:12:33 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/updates.js
r48479 r48520 814 814 sprintf( 815 815 /* translators: %s: Plugin name. */ 816 817 816 _x( 'Install %s now', 'plugin' ), 817 pluginName 818 818 ) 819 819 ) -
trunk/src/wp-admin/import.php
r48115 r48520 157 157 esc_attr( $data[0] ), 158 158 /* translators: %s: Importer name. */ 159 esc_attr( sprintf( _ _( 'Install %s now' ), $data[0] ) ),159 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $data[0] ) ), 160 160 __( 'Install Now' ) 161 161 ); -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r48105 r48520 529 529 esc_url( $status['url'] ), 530 530 /* translators: %s: Plugin name and version. */ 531 esc_attr( sprintf( _ _( 'Install %s now' ), $name ) ),531 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ), 532 532 esc_attr( $name ), 533 533 __( 'Install Now' ) … … 551 551 esc_url( $status['url'] ), 552 552 /* translators: %s: Plugin name and version. */ 553 esc_attr( sprintf( _ _( 'Update %s now' ), $name ) ),553 esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $name ) ), 554 554 esc_attr( $name ), 555 555 __( 'Update Now' ) -
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r48292 r48520 324 324 esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ), 325 325 /* translators: %s: Theme name. */ 326 esc_attr( sprintf( _ _( 'Install %s' ), $name ) ),326 esc_attr( sprintf( _x( 'Install %s', 'theme' ), $name ) ), 327 327 __( 'Install Now' ) 328 328 ); -
trunk/src/wp-admin/includes/deprecated.php
r48121 r48520 1380 1380 ' <a href="' . $ilink . '" class="thickbox open-plugin-details-modal" aria-label="' . 1381 1381 /* translators: %s: Plugin name. */ 1382 esc_attr( sprintf( _ _( 'Install %s' ), $raw_title ) ) . '">(' . __( 'Install' ) . ')</a></li>';1382 esc_attr( sprintf( _x( 'Install %s', 'plugin' ), $raw_title ) ) . '">(' . __( 'Install' ) . ')</a></li>'; 1383 1383 1384 1384 $feed->__destruct(); -
trunk/src/wp-admin/includes/theme.php
r48109 r48520 241 241 'aria-label="%s" id="update-theme" data-slug="%s"', 242 242 /* translators: %s: Theme name. */ 243 esc_attr( sprintf( _ _( 'Update %s now' ), $theme_name ) ),243 esc_attr( sprintf( _x( 'Update %s now', 'theme' ), $theme_name ) ), 244 244 $stylesheet 245 245 ) -
trunk/src/wp-admin/includes/update.php
r48316 r48520 510 510 'class="update-link" aria-label="%s"', 511 511 /* translators: %s: Plugin name. */ 512 esc_attr( sprintf( _ _( 'Update %s now' ), $plugin_name ) )512 esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $plugin_name ) ) 513 513 ) 514 514 ); … … 695 695 'class="update-link" aria-label="%s"', 696 696 /* translators: %s: Theme name. */ 697 esc_attr( sprintf( _ _( 'Update %s now' ), $theme['Name'] ) )697 esc_attr( sprintf( _x( 'Update %s now', 'theme' ), $theme['Name'] ) ) 698 698 ) 699 699 ); -
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.