Make WordPress Core


Ignore:
Timestamp:
12/02/2010 09:45:47 PM (13 years ago)
Author:
markjaquith
Message:

Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107

File:
1 edited

Legend:

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

    r15978 r16696  
    369369    function upgrade_strings() {
    370370        $this->strings['up_to_date'] = __('The plugin is at the latest version.');
    371         $this->strings['no_package'] = __('Upgrade package not available.');
     371        $this->strings['no_package'] = __('Update package not available.');
    372372        $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    373373        $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
     
    375375        $this->strings['remove_old'] = __('Removing the old version of the plugin&#8230;');
    376376        $this->strings['remove_old_failed'] = __('Could not remove the old plugin.');
    377         $this->strings['process_failed'] = __('Plugin upgrade failed.');
    378         $this->strings['process_success'] = __('Plugin upgraded successfully.');
     377        $this->strings['process_failed'] = __('Plugin update failed.');
     378        $this->strings['process_success'] = __('Plugin updated successfully.');
    379379    }
    380380
     
    609609    function upgrade_strings() {
    610610        $this->strings['up_to_date'] = __('The theme is at the latest version.');
    611         $this->strings['no_package'] = __('Upgrade package not available.');
     611        $this->strings['no_package'] = __('Update package not available.');
    612612        $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    613613        $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
    614614        $this->strings['remove_old'] = __('Removing the old version of the theme&#8230;');
    615615        $this->strings['remove_old_failed'] = __('Could not remove the old theme.');
    616         $this->strings['process_failed'] = __('Theme upgrade failed.');
    617         $this->strings['process_success'] = __('Theme upgraded successfully.');
     616        $this->strings['process_failed'] = __('Theme update failed.');
     617        $this->strings['process_success'] = __('Theme updated successfully.');
    618618    }
    619619
     
    862862    function upgrade_strings() {
    863863        $this->strings['up_to_date'] = __('WordPress is at the latest version.');
    864         $this->strings['no_package'] = __('Upgrade package not available.');
     864        $this->strings['no_package'] = __('Update package not available.');
    865865        $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>&#8230;');
    866866        $this->strings['unpack_package'] = __('Unpacking the update&#8230;');
     
    10181018
    10191019    function __construct($args = array()) {
    1020         $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Upgrade Plugin') );
     1020        $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') );
    10211021        $args = wp_parse_args($args, $defaults);
    10221022
     
    13891389
    13901390    function __construct($args = array()) {
    1391         $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Upgrade Theme') );
     1391        $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') );
    13921392        $args = wp_parse_args($args, $defaults);
    13931393
Note: See TracChangeset for help on using the changeset viewer.