mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -368,14 +368,14 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
|
||||
function upgrade_strings() {
|
||||
$this->strings['up_to_date'] = __('The plugin is at the latest version.');
|
||||
$this->strings['no_package'] = __('Upgrade package not available.');
|
||||
$this->strings['no_package'] = __('Update package not available.');
|
||||
$this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…');
|
||||
$this->strings['unpack_package'] = __('Unpacking the update…');
|
||||
$this->strings['deactivate_plugin'] = __('Deactivating the plugin…');
|
||||
$this->strings['remove_old'] = __('Removing the old version of the plugin…');
|
||||
$this->strings['remove_old_failed'] = __('Could not remove the old plugin.');
|
||||
$this->strings['process_failed'] = __('Plugin upgrade failed.');
|
||||
$this->strings['process_success'] = __('Plugin upgraded successfully.');
|
||||
$this->strings['process_failed'] = __('Plugin update failed.');
|
||||
$this->strings['process_success'] = __('Plugin updated successfully.');
|
||||
}
|
||||
|
||||
function install_strings() {
|
||||
@@ -608,13 +608,13 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
|
||||
function upgrade_strings() {
|
||||
$this->strings['up_to_date'] = __('The theme is at the latest version.');
|
||||
$this->strings['no_package'] = __('Upgrade package not available.');
|
||||
$this->strings['no_package'] = __('Update package not available.');
|
||||
$this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…');
|
||||
$this->strings['unpack_package'] = __('Unpacking the update…');
|
||||
$this->strings['remove_old'] = __('Removing the old version of the theme…');
|
||||
$this->strings['remove_old_failed'] = __('Could not remove the old theme.');
|
||||
$this->strings['process_failed'] = __('Theme upgrade failed.');
|
||||
$this->strings['process_success'] = __('Theme upgraded successfully.');
|
||||
$this->strings['process_failed'] = __('Theme update failed.');
|
||||
$this->strings['process_success'] = __('Theme updated successfully.');
|
||||
}
|
||||
|
||||
function install_strings() {
|
||||
@@ -861,7 +861,7 @@ class Core_Upgrader extends WP_Upgrader {
|
||||
|
||||
function upgrade_strings() {
|
||||
$this->strings['up_to_date'] = __('WordPress is at the latest version.');
|
||||
$this->strings['no_package'] = __('Upgrade package not available.');
|
||||
$this->strings['no_package'] = __('Update package not available.');
|
||||
$this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…');
|
||||
$this->strings['unpack_package'] = __('Unpacking the update…');
|
||||
$this->strings['copy_failed'] = __('Could not copy files.');
|
||||
@@ -1017,7 +1017,7 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
|
||||
}
|
||||
|
||||
function __construct($args = array()) {
|
||||
$defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Upgrade Plugin') );
|
||||
$defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') );
|
||||
$args = wp_parse_args($args, $defaults);
|
||||
|
||||
$this->plugin = $args['plugin'];
|
||||
@@ -1388,7 +1388,7 @@ class Theme_Upgrader_Skin extends WP_Upgrader_Skin {
|
||||
}
|
||||
|
||||
function __construct($args = array()) {
|
||||
$defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Upgrade Theme') );
|
||||
$defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') );
|
||||
$args = wp_parse_args($args, $defaults);
|
||||
|
||||
$this->theme = $args['theme'];
|
||||
|
||||
Reference in New Issue
Block a user