| @@ 29-39 (lines=11) @@ | ||
| 26 | * @since 2.8.0 |
|
| 27 | * @access public |
|
| 28 | */ |
|
| 29 | public function upgrade_strings() { |
|
| 30 | $this->strings['up_to_date'] = __('WordPress is at the latest version.'); |
|
| 31 | $this->strings['locked'] = __('Another update is currently in progress.'); |
|
| 32 | $this->strings['no_package'] = __('Update package not available.'); |
|
| 33 | $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…'); |
|
| 34 | $this->strings['unpack_package'] = __('Unpacking the update…'); |
|
| 35 | $this->strings['copy_failed'] = __('Could not copy files.'); |
|
| 36 | $this->strings['copy_failed_space'] = __('Could not copy files. You may have run out of disk space.' ); |
|
| 37 | $this->strings['start_rollback'] = __( 'Attempting to roll back to previous version.' ); |
|
| 38 | $this->strings['rollback_was_required'] = __( 'Due to an error during updating, WordPress has rolled back to your previous version.' ); |
|
| 39 | } |
|
| 40 | ||
| 41 | /** |
|
| 42 | * Upgrade WordPress core. |
|
| @@ 49-59 (lines=11) @@ | ||
| 46 | * @since 2.8.0 |
|
| 47 | * @access public |
|
| 48 | */ |
|
| 49 | public function upgrade_strings() { |
|
| 50 | $this->strings['up_to_date'] = __('The plugin is at the latest version.'); |
|
| 51 | $this->strings['no_package'] = __('Update package not available.'); |
|
| 52 | $this->strings['downloading_package'] = __('Downloading update from <span class="code">%s</span>…'); |
|
| 53 | $this->strings['unpack_package'] = __('Unpacking the update…'); |
|
| 54 | $this->strings['remove_old'] = __('Removing the old version of the plugin…'); |
|
| 55 | $this->strings['remove_old_failed'] = __('Could not remove the old plugin.'); |
|
| 56 | $this->strings['process_failed'] = __('Plugin update failed.'); |
|
| 57 | $this->strings['process_success'] = __('Plugin updated successfully.'); |
|
| 58 | $this->strings['process_bulk_success'] = __('Plugins updated successfully.'); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Initialize the install strings. |
|