1.20.x locale.bulk.inc locale_translate_batch_finished($success, $results)

Finished callback of system page locale import batch.

File

modules/locale/locale.bulk.inc, line 282
Mass import-export and batch import functionality for Gettext .po files.

Code

function locale_translate_batch_finished($success, $results) {
  if ($success) {
    backdrop_set_message(format_plural(count($results), 'One translation file imported.', '@count translation files imported.'));
  }
}