WordPress.org

Make WordPress Core

Changeset 12920


Ignore:
Timestamp:
02/01/2010 08:01:14 PM (10 years ago)
Author:
wpmuguru
Message:

minor fixes to populate_options(), UI tweaks, see #11644

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r12904 r12920  
    768768    <table class="form-table">
    769769    <tr>
    770         <th scope="row"><?php _e('Primary Blog'); ?></th>
     770    <?php /* translators: My sites label */ ?>
     771        <th scope="row"><?php _e('Primary Site'); ?></th>
    771772        <td>
    772773        <?php
  • trunk/wp-admin/includes/schema.php

    r12919 r12920  
    181181 */
    182182function populate_options() {
    183     global $wpdb, $wp_db_version;
     183    global $wpdb, $wp_db_version, $current_site;
    184184
    185185    $guessurl = wp_guess_url();
     
    197197    'siteurl' => $guessurl,
    198198    'blogname' => __('My Blog'),
    199     'blogdescription' => __('Just another WordPress weblog'),
     199    /* translators: blog tagline */
     200    'blogdescription' => __('Just another WordPress site'),
    200201    'users_can_register' => 0,
    201202    'admin_email' => 'you@example.com',
     
    320321    // 3.0 multisite
    321322    if ( is_multisite() ) {
     323        /* translators: blog tagline */
    322324        $options[ 'blogdescription' ] = sprintf(__('Just another %s site'), $current_site->site_name );
    323325        $options[ 'permalink_structure' ] = '/%year%/%monthnum%/%day%/%postname%/';
  • trunk/wp-admin/menu.php

    r12916 r12920  
    3434if ( is_multisite() && is_super_admin() ) {
    3535    $menu[1] = array( '', 'read', 'separator0', '', 'wp-menu-separator' );
    36     $menu[2] = array(__('Site Admin'), '10', 'ms-admin.php', '', 'menu-top menu-top-first', 'menu-site', 'div');
     36    /* translators: Network menu item */
     37    $menu[2] = array(__('Network'), '10', 'ms-admin.php', '', 'menu-top menu-top-first', 'menu-site', 'div');
    3738    $submenu[ 'ms-admin.php' ][1] = array( __('Admin'), 'super_admin', 'ms-admin.php' );
    38     $submenu[ 'ms-admin.php' ][5] = array( __('Blogs'), 'super_admin', 'ms-sites.php' );
     39    /* translators: Sites menu item */
     40    $submenu[ 'ms-admin.php' ][5] = array( __('Sites'), 'super_admin', 'ms-sites.php' );
    3941    $submenu[ 'ms-admin.php' ][10] = array( __('Users'), 'super_admin', 'ms-users.php' );
    4042    $submenu[ 'ms-admin.php' ][20] = array( __('Themes'), 'super_admin', 'ms-themes.php' );
Note: See TracChangeset for help on using the changeset viewer.