function lingotek_update_unmarked_items_finished in Lingotek Translation 7.7        
                          
                  
                        
2 string references to 'lingotek_update_unmarked_items_finished'
  - lingotek_config_unmark_items in ./lingotek.config.inc
 
  
  - lingotek_grid_action_submit in ./lingotek.bulk_grid.inc
 
  - Submit function for The Grid's actions
The action corresponds to the key of the option selected
Often redirects to batch operations or to other pages entirely
 
 
File
 
   - ./lingotek.batch.inc, line 384
 
  - Central location for batch create functions, before control is handed off to individual batch command files.
 
Code
function lingotek_update_unmarked_items_finished($success, $results) {
  if (isset($results['entity_type']) && $results['entity_type'] === 'config') {
    $message = format_plural($results['unmarked'], t('1 config item has been unmarked.'), t('@num config items have been unmarked.', array(
      '@num' => (int) $results['unmarked'],
    )));
  }
  else {
    $message = format_plural($results['unmarked'], t('1 entity has been unmarked.'), t('@num entities have been unmarked.', array(
      '@num' => (int) $results['unmarked'],
    )));
  }
  if ($success) {
    drupal_set_message(filter_xss($message), 'status');
  }
  else {
    $message = format_plural($results['unmarked'], t('Unmarking 1 entity has failed.'), t('Unmarking @num entities has failed.', array(
      '@num' => (int) $results['unmarked'],
    )));
    drupal_set_message(filter_xss($message), 'error');
  }
}