Changeset 14173
- Timestamp:
- 04/21/2010 10:58:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r14123 r14173 49 49 $this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.'); 50 50 $this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress Theme directory.'); 51 /* translators: %s: directory name */ 51 52 $this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).'); 52 53 … … 1056 1057 $this->upgrader->strings['skin_update_failed_error'] = __('An error occured while updating %1$s: <strong>%2$s</strong>.'); 1057 1058 $this->upgrader->strings['skin_update_failed'] = __('The update of %1$s failed.'); 1058 $this->upgrader->strings['skin_update_successful'] = __('%1$s updated successfully. <a onclick="%2$s" href="#" class="hide-if-no-js"><span>Show Details</span><span class="hidden">Hide Details</span>.</a>');1059 $this->upgrader->strings['skin_update_successful'] = __('%1$s updated successfully.').' <a onclick="%2$s" href="#" class="hide-if-no-js"><span>'.__('Show Details').'</span><span class="hidden">'.__('Hide Details').'</span>.</a>'; 1059 1060 } 1060 1061 … … 1110 1111 if ( $this->error || ! $this->result ) { 1111 1112 if ( $this->error ) 1112 echo '<div class="error"><p>' . sprintf($this->upgrader->strings['skin_update_failed '], $title, $this->error) . '</p></div>';1113 echo '<div class="error"><p>' . sprintf($this->upgrader->strings['skin_update_failed_error'], $title, $this->error) . '</p></div>'; 1113 1114 else 1114 1115 echo '<div class="error"><p>' . sprintf($this->upgrader->strings['skin_update_failed'], $title) . '</p></div>';
Note: See TracChangeset
for help on using the changeset viewer.