mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 12:50:18 +01:00
Update the text on the Manage Themes page for when there is only 1 theme available. Props jane & IRC people for strings. Fixes #12916
git-svn-id: http://svn.automattic.com/wordpress/trunk@14046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8437d9fd37
commit
ae66313f01
@ -257,7 +257,12 @@ foreach ( $cols as $col => $theme_name ) {
|
||||
<?php } // end foreach $table ?>
|
||||
</table>
|
||||
<?php } else { ?>
|
||||
<p><?php _e('You only have one theme installed at the moment so there is nothing to show you here. Maybe you should download some more to try out.'); ?></p>
|
||||
<p><?php
|
||||
if ( current_user_can('install_themes') )
|
||||
_e('You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org theme repository at any time: just click on the <em><a href="theme-install.php">Install Themes</a></em> tab above.');
|
||||
else
|
||||
printf(__('Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.'), get_site_option('site_name'));
|
||||
?></p>
|
||||
<?php } // end if $theme_total?>
|
||||
<br class="clear" />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user