You are here

function _locale_batch_language_finished in Drupal 7

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

Implements callback_batch_finished().

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 modules/locale/locale.admin.inc
Process the language addition form submission.

File

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