Changeset 10110
- Timestamp:
- 07/31/2020 09:25:36 PM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-block-plugin-checker.php
r10109 r10110 658 658 sprintf( 659 659 /* translators: %s is a list of block names. */ 660 __( 'More than one top 660 __( 'More than one top-level block was found: %s', 'wporg-plugins' ), 661 661 implode( ', ', $list ) 662 662 ), -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
r10102 r10110 63 63 <?php else : ?> 64 64 <div class="wrap block-validator"> 65 <p><?php _e( 'Please log in to use the validator.', 'wporg-plugins' ); ?></p>65 <p><?php _e( 'Please log in to use the block plugin checker.', 'wporg-plugins' ); ?></p> 66 66 </div> 67 67 <?php endif; … … 141 141 ?> 142 142 <div class="notice notice-error notice-alt"> 143 <p><?php _e( 'Some problems were found. They need to be addressed in orderfor your plugin to be included in the Block Directory.', 'wporg-plugins' ); ?></p>143 <p><?php _e( 'Some problems were found. They need to be addressed for your plugin to be included in the Block Directory.', 'wporg-plugins' ); ?></p> 144 144 </div> 145 145 <?php elseif ( $checker->slug ) : ?> … … 276 276 return [ 277 277 __( 'Plugins should include a GPL-compatible license in either readme.txt or the plugin headers.', 'wporg-plugins' ), 278 sprintf( '<a href="https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#1-plugins-must-be-compatible-with-the-gnu-general-public-license">%s</a>', __( 'Learn more about readmes.', 'wporg-plugins' ) ),278 sprintf( '<a href="https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#1-plugins-must-be-compatible-with-the-gnu-general-public-license">%s</a>', __( 'Learn more about licenses.', 'wporg-plugins' ) ), 279 279 ]; 280 280 case 'check_plugin_headers': … … 287 287 ]; 288 288 if ( 'warning' === $result->type ) { 289 $details[] = '<em>' . __( 'If this is a different version of your ownplugin, you can ignore this warning.', 'wporg-plugins' ) . '</em>';289 $details[] = '<em>' . __( 'If this is a different version of your plugin, you can ignore this warning.', 'wporg-plugins' ) . '</em>'; 290 290 } 291 291 return $details; 292 292 case 'check_for_blocks': 293 293 return [ 294 __( ' In order to work in the Block Directory, a plugin must register a block. Generally one per plugin (multiple blocks may be permitted if those blocks are interdependent, such as a list block that contains list item blocks).', 'wporg-plugins' ),294 __( 'To work in the Block Directory, a plugin must register a block. Generally one per plugin (multiple blocks may be permitted if those blocks are interdependent, such as a list block that contains list item blocks).', 'wporg-plugins' ), 295 295 __( 'If your plugin doesn’t register a block, it probably belongs in the main Plugin Directory rather than the Block Directory.', 'wporg-plugins' ), 296 296 sprintf( '<a href="https://developer.wordpress.org/block-editor/tutorials/create-block/">%s</a>', __( 'Learn how to create a block.' ) ), … … 308 308 return __( 'This block.json file is invalid. The Block Directory needs to be able to read this file.', 'wporg-plugins' ); 309 309 case 'check_php_size': 310 return __( 'Block plugins should keep the PHP code to a mi mmum. If you need a lot of PHP code, your plugin probably belongs in the main Plugin Directory rather than the Block Directory.', 'wporg-plugins' );310 return __( 'Block plugins should keep the PHP code to a minimum. If you need a lot of PHP code, your plugin probably belongs in the main Plugin Directory rather than the Block Directory.', 'wporg-plugins' ); 311 311 case 'check_for_standard_block_name': 312 312 return [
Note: See TracChangeset
for help on using the changeset viewer.