Make WordPress Core

Ticket #8652: 8652_textchgs.diff

File 8652_textchgs.diff, 4.2 KB (added by MichaelH, 16 years ago)

Minor text changes, fix caps

  • wp-admin/includes/theme-install.php

     
    249249function install_themes_upload($page = 1) {
    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') ?>
    255255<input type="file" name="themezip" /> <input type="submit"
     
    488488        check_admin_referer('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
    494494        if ( !empty($_FILES) ) {
     
    524524                wp_die($api);
    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);
    530530        echo '</div>';
     
    543543        global $wp_filesystem;
    544544
    545545        if ( empty($download_url) ) {
    546                 show_message( __('No theme Specified') );
     546                show_message( __('No theme specified') );
    547547                return;
    548548        }
    549549
     
    578578
    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) )
    584584                        show_message('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));
     
    598598        global $wp_filesystem;
    599599
    600600        if ( empty($package) ) {
    601                 show_message( __('No theme Specified') );
     601                show_message( __('No theme specified') );
    602602                return;
    603603        }
    604604
     
    669669        // Get the base theme folder
    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 );
    680680        $content_dir = trailingslashit( $content_dir );
     
    769769        //Get the base theme folder
    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 );
    780780        $content_dir = trailingslashit( $content_dir );