function l10n_update_manual_status in Localization update 7.2
Page callback: Checks for translation updates and displays the status.
Manually checks the translation status without the use of cron.
1 string reference to 'l10n_update_manual_status'
- l10n_update_menu in ./
l10n_update.module - Implements hook_menu().
File
- ./
l10n_update.admin.inc, line 13 - Admin settings and update page.
Code
function l10n_update_manual_status() {
module_load_include('compare.inc', 'l10n_update');
// Check the translation status of all translatable projects in all languages.
// First we clear the cached list of projects. Although not strictly
// necessary, this is helpful in case the project list is out of sync.
l10n_update_flush_projects();
l10n_update_check_projects();
// Execute a batch if required. A batch is only used when remote files
// are checked.
if (batch_get()) {
batch_process('admin/config/regional/translate/update');
}
drupal_goto('admin/config/regional/translate/update');
}