Changeset 45932 for trunk/src/wp-admin/plugins.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugins.php
r45926 r45932 334 334 foreach ( $plugin_info as $plugin ) { 335 335 if ( $plugin['is_uninstallable'] ) { 336 /* translators: 1: plugin name, 2: plugin author*/336 /* translators: 1: Plugin name, 2: Plugin author. */ 337 337 echo '<li>', sprintf( __( '%1$s by %2$s (will also <strong>delete its data</strong>)' ), '<strong>' . $plugin['Name'] . '</strong>', '<em>' . $plugin['AuthorName'] . '</em>' ), '</li>'; 338 338 $data_to_delete = true; 339 339 } else { 340 /* translators: 1: plugin name, 2: plugin author*/340 /* translators: 1: Plugin name, 2: Plugin author. */ 341 341 echo '<li>', sprintf( _x( '%1$s by %2$s', 'plugin' ), '<strong>' . $plugin['Name'] . '</strong>', '<em>' . $plugin['AuthorName'] ) . '</em>', '</li>'; 342 342 } … … 442 442 '<p>' . __( 'The search for installed plugins will search for terms in their name, description, or author.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>' . 443 443 '<p>' . sprintf( 444 /* translators: %s: WordPress Plugin Directory URL */444 /* translators: %s: WordPress Plugin Directory URL. */ 445 445 __( 'If you would like to see more plugins to choose from, click on the “Add New” button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ), 446 446 __( 'https://wordpress.org/plugins/' ) … … 455 455 '<p>' . __( 'Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.' ) . '</p>' . 456 456 '<p>' . sprintf( 457 /* translators: WP_PLUGIN_DIR constant value */457 /* translators: WP_PLUGIN_DIR constant value. */ 458 458 __( 'If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ), 459 459 '<code>' . WP_PLUGIN_DIR . '</code>' … … 486 486 echo '<div id="message" class="error"><p>'; 487 487 printf( 488 /* translators: 1: plugin file, 2: error message*/488 /* translators: 1: Plugin file, 2: Error message. */ 489 489 __( 'The plugin %1$s has been deactivated due to an error: %2$s' ), 490 490 '<code>' . esc_html( $plugin_file ) . '</code>', … … 503 503 } elseif ( isset( $_GET['charsout'] ) ) { 504 504 $errmsg = sprintf( 505 /* translators: %d: number of characters*/505 /* translators: %d: Number of characters. */ 506 506 _n( 507 507 'The plugin generated %d character of <strong>unexpected output</strong> during activation.', … … 547 547 <?php 548 548 printf( 549 /* translators: %s: error message*/549 /* translators: %s: Error message. */ 550 550 __( 'Plugin could not be deleted due to an error: %s' ), 551 551 $delete_result->get_error_message() … … 596 596 597 597 if ( strlen( $s ) ) { 598 /* translators: %s: search keywords*/598 /* translators: %s: Search query. */ 599 599 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( urldecode( $s ) ) ); 600 600 }
Note: See TracChangeset
for help on using the changeset viewer.