_locale_batch_system_finished

Versions
6 – 7
_locale_batch_system_finished($success, $results)

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

Related topics

Code

includes/locale.inc, line 3182

<?php
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.'));
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.