Changeset 57714 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 02/26/2024 08:33:46 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r57658 r57714 362 362 </label> 363 363 <input type="file" id="pluginzip" name="pluginzip" accept=".zip" /> 364 <?php submit_button( _ _( 'Install Now' ), '', 'install-plugin-submit', false ); ?>364 <?php submit_button( _x( 'Install Now', 'plugin' ), '', 'install-plugin-submit', false ); ?> 365 365 </form> 366 366 </div> … … 888 888 $button = str_replace( 'class="', 'class="right ', $button ); 889 889 890 if ( ! str_contains( $button, _ _( 'Activate' ) ) ) {890 if ( ! str_contains( $button, _x( 'Activate', 'plugin' ) ) ) { 891 891 $button = str_replace( 'class="', 'id="plugin_install_from_iframe" class="', $button ); 892 892 } … … 955 955 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ), 956 956 esc_attr( $name ), 957 _ _( 'Install Now' )957 _x( 'Install Now', 'plugin' ) 958 958 ); 959 959 … … 970 970 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ), 971 971 esc_attr( $name ), 972 _ _( 'Install Now' )972 _x( 'Install Now', 'plugin' ) 973 973 ); 974 974 } else { … … 992 992 esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $name ) ), 993 993 esc_attr( $name ), 994 _ _( 'Update Now' )994 _x( 'Update Now', 'plugin' ) 995 995 ); 996 996 } else { … … 1012 1012 } elseif ( current_user_can( 'activate_plugin', $status['file'] ) ) { 1013 1013 if ( $compatible_php && $compatible_wp && $all_plugin_dependencies_active ) { 1014 $button_text = _ _( 'Activate' );1014 $button_text = _x( 'Activate', 'plugin' ); 1015 1015 /* translators: %s: Plugin name. */ 1016 1016 $button_label = _x( 'Activate %s', 'plugin' ); … … 1025 1025 1026 1026 if ( is_network_admin() ) { 1027 $button_text = _ _( 'Network Activate' );1027 $button_text = _x( 'Network Activate', 'plugin' ); 1028 1028 /* translators: %s: Plugin name. */ 1029 1029 $button_label = _x( 'Network Activate %s', 'plugin' ); … … 1043 1043 $button = sprintf( 1044 1044 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 1045 is_network_admin() ? _x( 'Network Activate %s', 'plugin' ) : _x( 'Activate', 'plugin' )1045 is_network_admin() ? _x( 'Network Activate', 'plugin' ) : _x( 'Activate', 'plugin' ) 1046 1046 ); 1047 1047 }
Note: See TracChangeset
for help on using the changeset viewer.