WordPress.org

Make WordPress Core

Changeset 14046


Ignore:
Timestamp:
04/10/10 03:27:22 (4 years ago)
Author:
dd32
Message:

Update the text on the Manage Themes page for when there is only 1 theme available. Props jane & IRC people for strings. Fixes #12916

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r14039 r14046  
    258258</table> 
    259259<?php } else { ?> 
    260 <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> 
     260<p><?php 
     261    if ( current_user_can('install_themes') ) 
     262        _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.'); 
     263    else 
     264        printf(__('Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.'), get_site_option('site_name')); 
     265    ?></p> 
    261266<?php } // end if $theme_total?> 
    262267<br class="clear" /> 
Note: See TracChangeset for help on using the changeset viewer.