You are here

function _locale_batch_system_finished in Drupal 7

Same name and namespace in other branches
  1. 6 includes/locale.inc \_locale_batch_system_finished()

Implements callback_batch_finished().

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

Related topics

File

includes/locale.inc, line 2373
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.'));
  }
}