You are here

function _locale_batch_language_finished in Drupal 6

Same name and namespace in other branches
  1. 7 includes/locale.inc \_locale_batch_language_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 includes/locale.inc
Process the language addition form submission.

File

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