Changeset 45932 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r45926 r45932 175 175 trigger_error( 176 176 sprintf( 177 /* translators: %s: support forums URL*/177 /* translators: %s: Support forums URL. */ 178 178 __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ), 179 179 __( 'https://wordpress.org/support/forums/' ) … … 188 188 'plugins_api_failed', 189 189 sprintf( 190 /* translators: %s: support forums URL*/190 /* translators: %s: Support forums URL. */ 191 191 __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ), 192 192 __( 'https://wordpress.org/support/forums/' ) … … 203 203 'plugins_api_failed', 204 204 sprintf( 205 /* translators: %s: support forums URL*/205 /* translators: %s: Support forums URL. */ 206 206 __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ), 207 207 __( 'https://wordpress.org/support/forums/' ) … … 301 301 $tags, 302 302 array( 303 /* translators: %s: number of plugins*/303 /* translators: %s: Number of plugins. */ 304 304 'single_text' => __( '%s plugin' ), 305 /* translators: %s: number of plugins*/305 /* translators: %s: Number of plugins. */ 306 306 'multiple_text' => __( '%s plugins' ), 307 307 ) … … 401 401 case 'install_plugins_beta': 402 402 printf( 403 /* translators: %s: URL to "Features as Plugins" page */403 /* translators: %s: URL to "Features as Plugins" page. */ 404 404 '<p>' . __( 'You are using a development version of WordPress. These feature plugins are also under development. <a href="%s">Learn more</a>.' ) . '</p>', 405 405 'https://make.wordpress.org/core/handbook/about/release-cycle/features-as-plugins/' … … 651 651 <li><strong><?php _e( 'Last Updated:' ); ?></strong> 652 652 <?php 653 /* translators: %s: Human-readable time difference */653 /* translators: %s: Human-readable time difference. */ 654 654 printf( __( '%s ago' ), human_time_diff( strtotime( $api->last_updated ) ) ); 655 655 ?> … … 659 659 <strong><?php _e( 'Requires WordPress Version:' ); ?></strong> 660 660 <?php 661 /* translators: %s: version number*/661 /* translators: %s: Version number. */ 662 662 printf( __( '%s or higher' ), $api->requires ); 663 663 ?> … … 669 669 <strong><?php _e( 'Requires PHP Version:' ); ?></strong> 670 670 <?php 671 /* translators: %s: version number*/671 /* translators: %s: Version number. */ 672 672 printf( __( '%s or higher' ), $api->requires_php ); 673 673 ?> … … 679 679 $active_installs_millions = floor( $api->active_installs / 1000000 ); 680 680 printf( 681 /* translators: %s: number of millions*/681 /* translators: %s: Number of millions. */ 682 682 _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ), 683 683 number_format_i18n( $active_installs_millions ) … … 712 712 <?php 713 713 printf( 714 /* translators: %s: number of ratings*/714 /* translators: %s: Number of ratings. */ 715 715 _n( '(based on %s rating)', '(based on %s ratings)', $api->num_ratings ), 716 716 number_format_i18n( $api->num_ratings ) … … 731 731 $aria_label = esc_attr( 732 732 sprintf( 733 /* translators: 1: number of stars (used to determine singular/plural), 2: number of reviews*/733 /* translators: 1: Number of stars (used to determine singular/plural), 2: Number of reviews. */ 734 734 _n( 735 735 'Reviews with %1$d star: %2$s. Opens in a new tab.', … … 749 749 "https://wordpress.org/support/plugin/{$api->slug}/reviews/?filter={$key}", 750 750 $aria_label, 751 /* translators: %s: number of stars*/751 /* translators: %s: Number of stars. */ 752 752 sprintf( _n( '%d star', '%d stars', $key ), $key ) 753 753 ); … … 800 800 if ( current_user_can( 'update_php' ) ) { 801 801 printf( 802 /* translators: %s: "Update PHP" page URL*/802 /* translators: %s: URL to Update PHP page. */ 803 803 ' ' . __( '<a href="%s" target="_blank">Click here to learn more about updating PHP</a>.' ), 804 804 esc_url( wp_get_update_php_url() ) … … 821 821 if ( current_user_can( 'update_core' ) ) { 822 822 printf( 823 /* translators: %s: "Update WordPress" screen URL*/823 /* translators: %s: URL to WordPress Updates screen. */ 824 824 ' ' . __( '<a href="%s" target="_parent">Click here to update WordPress</a>.' ), 825 825 self_admin_url( 'update-core.php' ) … … 873 873 break; 874 874 case 'newer_installed': 875 /* translators: %s: Plugin version */875 /* translators: %s: Plugin version. */ 876 876 echo '<a class="button button-primary right disabled">' . sprintf( __( 'Newer Version (%s) Installed' ), $status['version'] ) . '</a>'; 877 877 break;
Note: See TracChangeset
for help on using the changeset viewer.