Commit 541c9673 authored by Dries's avatar Dries
Browse files

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

parent 36cf3224
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment