function _locale_batch_language_finished

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

Finished callback of language addition locale import batch. Inform the user of translation files imported.

Related topics

1 string reference to '_locale_batch_language_finished'
locale_languages_predefined_form_submit in drupal-7.x/modules/locale/locale.admin.inc
Process the language addition form submission.

File

drupal-7.x/includes/locale.inc, line 2335
Administration functions for locale.module.

Code

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