Changeset 50705
- Timestamp:
- 04/13/2021 05:36:39 PM (4 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-installer-skin.php
r49675 r50705 222 222 223 223 $table = '<table class="update-from-upload-comparison"><tbody>'; 224 $table .= '<tr><th></th><th>' . esc_html ( __( 'Current' )) . '</th>';225 $table .= '<th>' . esc_html ( __( 'Uploaded' )) . '</th></tr>';224 $table .= '<tr><th></th><th>' . esc_html_x( 'Current', 'plugin' ) . '</th>'; 225 $table .= '<th>' . esc_html_x( 'Uploaded', 'plugin' ) . '</th></tr>'; 226 226 227 227 $is_same_plugin = true; // Let's consider only these rows. … … 311 311 '<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>', 312 312 wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'plugin-upload' ), 313 _ _( 'Replace current with uploaded' )313 _x( 'Replace current with uploaded', 'plugin' ) 314 314 ); 315 315 } else { -
trunk/src/wp-admin/includes/class-theme-installer-skin.php
r49675 r50705 246 246 247 247 $table = '<table class="update-from-upload-comparison"><tbody>'; 248 $table .= '<tr><th></th><th>' . esc_html ( __( 'Current' ) ) . '</th><th>' . esc_html( __( 'Uploaded' )) . '</th></tr>';248 $table .= '<tr><th></th><th>' . esc_html_x( 'Current', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>'; 249 249 250 250 $is_same_theme = true; // Let's consider only these rows. … … 346 346 '<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>', 347 347 wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ), 348 _ _( 'Replace current with uploaded' )348 _x( 'Replace current with uploaded', 'theme' ) 349 349 ); 350 350 } else {
Note: See TracChangeset
for help on using the changeset viewer.