function _locale_batch_system_finished

7.x locale.inc _locale_batch_system_finished($success, $results)
6.x locale.inc _locale_batch_system_finished($success, $results)

Finished callback of system page locale import batch. Inform the user of translation files imported.

Related topics

1 string reference to '_locale_batch_system_finished'
locale_batch_by_component in drupal-6.x/includes/locale.inc
Prepare a batch to run when installing modules or enabling themes. This batch will import translations for the newly added components in all the languages already set up on the site.

File

drupal-6.x/includes/locale.inc, line 2640
Administration functions for locale.module.

Code

function _locale_batch_system_finished($success, $results) {
  if ($success) {
    drupal_set_message(format_plural(count($results), 'One translation file imported for the newly installed modules.', '@count translation files imported for the newly installed modules.'));
  }
}