- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r45926 r45932 99 99 if ( current_user_can( 'install_themes' ) && current_user_can( 'manage_network_themes' ) ) { 100 100 printf( 101 /* translators: 1: URL to Themes tab on Edit Site screen, 2: URL to Add Themes screen */101 /* translators: 1: URL to Themes tab on Edit Site screen, 2: URL to Add Themes screen. */ 102 102 __( 'You only have one theme enabled for this site right now. Visit the Network Admin to <a href="%1$s">enable</a> or <a href="%2$s">install</a> more themes.' ), 103 103 network_admin_url( 'site-themes.php?id=' . $blog_id ), … … 108 108 } elseif ( current_user_can( 'manage_network_themes' ) ) { 109 109 printf( 110 /* translators: %s: URL to Themes tab on Edit Site screen */110 /* translators: %s: URL to Themes tab on Edit Site screen. */ 111 111 __( 'You only have one theme enabled for this site right now. Visit the Network Admin to <a href="%s">enable</a> more themes.' ), 112 112 network_admin_url( 'site-themes.php?id=' . $blog_id ) … … 119 119 if ( current_user_can( 'install_themes' ) ) { 120 120 printf( 121 /* translators: %s: URL to Add Themes screen */121 /* translators: %s: URL to Add Themes screen. */ 122 122 __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), 123 123 admin_url( 'theme-install.php' ) … … 129 129 // Fallthrough. 130 130 printf( 131 /* translators: %s: network title*/131 /* translators: %s: Network title. */ 132 132 __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), 133 133 get_site_option( 'site_name' ) … … 207 207 '<a href="%s" class="activatelink" title="%s">%s</a>', 208 208 $activate_link, 209 /* translators: %s: theme name*/209 /* translators: %s: Theme name. */ 210 210 esc_attr( sprintf( __( 'Activate “%s”' ), $title ) ), 211 211 __( 'Activate' ) … … 224 224 '<a class="submitdelete deletion" href="%s" onclick="return confirm( \'%s\' );">%s</a>', 225 225 wp_nonce_url( 'themes.php?action=delete&stylesheet=' . urlencode( $stylesheet ), 'delete-theme_' . $stylesheet ), 226 /* translators: %s: theme name*/226 /* translators: %s: Theme name. */ 227 227 esc_js( sprintf( __( "You are about to delete this theme '%s'\n 'Cancel' to stop, 'OK' to delete." ), $title ) ), 228 228 __( 'Delete' ) … … 255 255 <div class="theme-author"> 256 256 <?php 257 /* translators: %s: theme author*/257 /* translators: %s: Theme author. */ 258 258 printf( __( 'By %s' ), $author ); 259 259 ?> … … 277 277 if ( $theme->parent() ) { 278 278 printf( 279 /* translators: %s: link to documentation on child themes*/279 /* translators: %s: Link to documentation on child themes. */ 280 280 ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>', 281 281 __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ),
Note: See TracChangeset
for help on using the changeset viewer.