Make WordPress Core

Changeset 13750


Ignore:
Timestamp:
03/18/2010 05:46:25 PM (15 years ago)
Author:
nacin
Message:

Change "Blog" to "Site" in the Settings panels.

Location:
trunk/wp-admin
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-discussion.php

    r13672 r13750  
    1010require_once('admin.php');
    1111
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
     12if ( ! current_user_can( 'manage_options' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __('Discussion Settings');
     
    152152<h3><?php _e('Avatars') ?></h3>
    153153
    154 <p><?php _e('An avatar is an image that follows you from weblog to weblog appearing beside your name when you comment on avatar enabled sites.  Here you can enable the display of avatars for people who comment on your blog.'); ?></p>
     154<p><?php _e('An avatar is an image that follows you from weblog to weblog appearing beside your name when you comment on avatar enabled sites.  Here you can enable the display of avatars for people who comment on your site.'); ?></p>
    155155
    156156<?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?>
  • trunk/wp-admin/options-general.php

    r13705 r13750  
    1010require_once('./admin.php');
    1111
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
     12if ( ! current_user_can( 'manage_options' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __('General Settings');
     
    6565<table class="form-table">
    6666<tr valign="top">
    67 <th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th>
     67<th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th>
    6868<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
    6969</tr>
     
    7171<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
    7272<td><input name="blogdescription" type="text" id="blogdescription"  value="<?php form_option('blogdescription'); ?>" class="regular-text" />
    73 <span class="description"><?php _e('In a few words, explain what this blog is about.') ?></span></td>
     73<span class="description"><?php _e('In a few words, explain what this site is about.') ?></span></td>
    7474</tr>
    7575<?php if ( !is_multisite() ) { ?>
     
    7979</tr>
    8080<tr valign="top">
    81 <th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th>
     81<th scope="row"><label for="home"><?php _e('Site address (URL)') ?></label></th>
    8282<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
    83 <span class="description"><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>
     83<span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>
    8484</tr>
    8585<tr valign="top">
     
    323323?>
    324324    <tr valign="top">
    325         <th width="33%" scope="row"><?php _e('Blog language:') ?></th>
     325        <th width="33%" scope="row"><?php _e('Site language:') ?></th>
    326326        <td>
    327327            <select name="WPLANG" id="WPLANG">
  • trunk/wp-admin/options-media.php

    r13545 r13750  
    1010require_once('admin.php');
    1111
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
     12if ( ! current_user_can( 'manage_options' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __('Media Settings');
  • trunk/wp-admin/options-permalink.php

    r13706 r13750  
    1010require_once('admin.php');
    1111
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
     12if ( ! current_user_can( 'manage_options' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __('Permalink Settings');
  • trunk/wp-admin/options-privacy.php

    r11855 r13750  
    1010require_once('./admin.php');
    1111
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
     12if ( ! current_user_can( 'manage_options' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __('Privacy Settings');
     
    2828<table class="form-table">
    2929<tr valign="top">
    30 <th scope="row"><?php _e('Blog Visibility') ?> </th>
    31 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Blog Visibility') ?> </span></legend>
    32 <p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
    33 <label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers');?></label></p>
    34 <p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
    35 <label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p>
     30<th scope="row"><?php _e('Site Visibility') ?> </th>
     31<td><fieldset><legend class="screen-reader-text"><span><?php _e('Site Visibility') ?> </span></legend>
     32<input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
     33<label for="blog-public"><?php _e('I would like my site to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers');?></label><br/>
     34<input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
     35<label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label>
    3636<?php do_action('blog_privacy_selector'); ?>
    3737</fieldset></td>
  • trunk/wp-admin/options-reading.php

    r12918 r13750  
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13     wp_die( __( 'You do not have sufficient permissions to manage options for this blog.' ) );
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __( 'Reading Settings' );
     
    7676<th scope="row"><label for="blog_charset"><?php _e( 'Encoding for pages and feeds' ); ?></label></th>
    7777<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option( 'blog_charset' ); ?>" class="regular-text" />
    78 <span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your blog (UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></td>
     78<span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></td>
    7979</tr>
    8080<?php do_settings_fields( 'reading', 'default' ); ?>
  • trunk/wp-admin/options-writing.php

    r13416 r13750  
    1010require_once('admin.php');
    1111
    12 if ( ! current_user_can('manage_options') )
    13     wp_die(__('You do not have sufficient permissions to manage options for this blog.'));
     12if ( ! current_user_can( 'manage_options' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    1515$title = __('Writing Settings');
     
    126126<?php else : ?>
    127127
    128     <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog&#8217;s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p>
     128    <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your site&#8217;s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p>
    129129
    130130<?php endif; ?>
  • trunk/wp-admin/plugins.php

    r13733 r13750  
    1010require_once('admin.php');
    1111
    12 if ( ! current_user_can('activate_plugins') )
    13     wp_die(__('You do not have sufficient permissions to manage plugins for this blog.'));
     12if ( ! current_user_can( 'activate_plugins' ) )
     13    wp_die( __( 'You do not have sufficient permissions to manage plugins for this blog.' ) );
    1414
    1515if ( isset($_POST['clear-recent-list']) )
Note: See TracChangeset for help on using the changeset viewer.