Make WordPress Core

Changeset 10667


Ignore:
Timestamp:
02/27/2009 08:23:30 PM (18 years ago)
Author:
ryan
Message:

Text tweaks. Props MichaelH. see #8652

File:
1 edited

Legend:

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

    r10656 r10667  
    250250        ?>
    251251<h4><?php _e('Install a theme in .zip format') ?></h4>
    252 <p><?php _e('If you have a theme in a .zip format, You may install it by uploading it here.') ?></p>
     252<p><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.') ?></p>
    253253<form method="post" enctype="multipart/form-data"
    254254        action="<?php echo admin_url('theme-install.php?tab=do_upload') ?>"><?php wp_nonce_field( 'theme-upload') ?>
    … …  
    489489
    490490        echo '<div class="wrap">';
    491         echo '<h2>', sprintf( __('Installing Theme from file: %s'), basename($filename) ), '</h2>';
     491        echo '<h2>', sprintf( __('Installing theme from file: %s'), basename($filename) ), '</h2>';
    492492
    493493        //Handle a newly uploaded file, Else assume it was
    … …  
    525525
    526526        echo '<div class="wrap">';
    527         echo '<h2>', sprintf( __('Installing Theme: %s'), $api->name . ' ' . $api->version ), '</h2>';
     527        echo '<h2>', sprintf( __('Installing theme: %s'), $api->name . ' ' . $api->version ), '</h2>';
    528528
    529529        do_theme_install($api->download_link, $api);
    … …  
    544544
    545545        if ( empty($download_url) ) {
    546                 show_message( __('No theme Specified') );
     546                show_message( __('No theme specified') );
    547547                return;
    548548        }
    … …  
    579579                $install_actions = apply_filters('install_theme_complete_actions', array(
    580580                //'activate_theme' => '<a href="' . wp_nonce_url('themes.php?action=activate&amp;theme=' . $theme_file, 'activate-theme_' . $theme_file) . '" title="' . attribute_escape(__('Activate this theme')) . '" target="_parent">' . __('Activate Theme') . '</a>',
    581                         'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attribute_escape(__('Goto themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>'
     581                        'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . attribute_escape(__('Return to Themes page')) . '" target="_parent">' . __('Return to Themes page') . '</a>'
    582582                        ), $theme_information, $theme_file);
    583583                        if ( ! empty($install_actions) )
    … …  
    599599
    600600        if ( empty($package) ) {
    601                 show_message( __('No theme Specified') );
     601                show_message( __('No theme specified') );
    602602                return;
    603603        }
    … …  
    670670        $themes_dir = $wp_filesystem->wp_themes_dir();
    671671        if ( empty($themes_dir) )
    672                 return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress Theme directory.'));
     672                return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress themes directory.'));
    673673
    674674        // And the same for the Content directory.
    675675        $content_dir = $wp_filesystem->wp_content_dir();
    676676        if ( empty($content_dir) )
    677                 return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress Content directory (wp-content).'));
     677                return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress content directory (wp-content).'));
    678678
    679679        $themes_dir = trailingslashit( $themes_dir );
    … …  
    770770        $themes_dir = $wp_filesystem->wp_themes_dir();
    771771        if ( empty($themes_dir) )
    772                 return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress Theme directory.'));
     772                return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress themes directory.'));
    773773
    774774        //And the same for the Content directory.
    775775        $content_dir = $wp_filesystem->wp_content_dir();
    776776        if ( empty($content_dir) )
    777                 return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress Content directory (wp-content).'));
     777                return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress content directory (wp-content).'));
    778778
    779779        $themes_dir = trailingslashit( $themes_dir );
Note: See TracChangeset for help on using the changeset viewer.