- Patch #165685 by dww: improve strings for messages when fetching updates.

6.x
Dries Buytaert 2007-08-11 07:05:11 +00:00
parent 36cf322479
commit 541c9673b4
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ function update_manual_status() {
drupal_set_message(t('Fetched information about all available new releases and updates.'));
}
else {
drupal_set_message(t('Unable to fetch any information on available new releases and updates.'), 'error');
drupal_set_message(t('Unable to fetch any information about available new releases and updates.'), 'error');
}
drupal_goto('admin/logs/updates');
}
@ -47,10 +47,10 @@ function _update_refresh() {
$frequency = variable_get('update_check_frequency', 1);
cache_set('update_info', $available, 'cache_update', time() + (60 * 60 * 24 * $frequency));
variable_set('update_last_check', time());
watchdog('update', 'Fetched information on all available new releases and updates.', array(), WATCHDOG_NOTICE, l('view', 'admin/logs/updates'));
watchdog('update', 'Fetched information about all available new releases and updates.', array(), WATCHDOG_NOTICE, l('view', 'admin/logs/updates'));
}
else {
watchdog('update', 'Unable to fetch any information on available new releases and updates.', array(), WATCHDOG_ERROR, l('view', 'admin/logs/updates'));
watchdog('update', 'Unable to fetch any information about available new releases and updates.', array(), WATCHDOG_ERROR, l('view', 'admin/logs/updates'));
}
return $available;
}