_locale_batch_language_finished
function _locale_batch_language_finished
_locale_batch_language_finished($success, $results)
Implements callback_batch_finished().
Finished callback of language addition locale import batch. Inform the user of translation files imported.
Related topics
File
- includes/locale.inc, line 2382
- 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.')); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!locale.inc/function/_locale_batch_language_finished/7.x