Changeset 10128
- Timestamp:
- 08/07/2020 08:09:50 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
r10118 r10128 598 598 __FUNCTION__, 599 599 'error', 600 // translators: %s is the block name. 601 sprintf( __( 'Found blocks with %d different namespaces: %s.', 'wporg-plugins' ), count( $namespaces ), '<code>' . implode( ', ', $namespaces ) . '</code>' ), 600 sprintf( 601 // translators: %1$d is the number of namespaces, %2$s is the list of namespaces. 602 __( 'Found blocks with %1$d different namespaces: %2$s.', 'wporg-plugins' ), 603 count( $namespaces ), 604 '<code>' . implode( ', ', $namespaces ) . '</code>' 605 ), 602 606 $namespaces 603 607 ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
r10118 r10128 327 327 return __( 'Larger plugins will take longer to install. This is more noticeable in the Block Directory, where the user expects blocks to be added immediately. Try reducing your file size by optimizing images & SVGs, only including the assets you need (images, fonts, etc), and using core-provided JavaScript libraries.', 'wporg-plugins' ); 328 328 case 'check_for_multiple_namespaces': 329 return __( 'Block plugins should contain a single main block. Please ensure there are no extraneous blocks included by mistake.' );329 return __( 'Block plugins should contain a single main block. Any children blocks should use the same namespace prefix as the main block. Please ensure there are no extraneous blocks included by mistake.', 'wporg-plugins' ); 330 330 // This is a special case, since multiple values may be collapsed. 331 331 case 'check_block_json_is_valid':
Note: See TracChangeset
for help on using the changeset viewer.