Hey

Fine module, a little bug though. The text in the block isn't surrounded by the t() function.

content_complete.module

line: 432

  if ($complete_data['nextfield'] && $complete_data['nextpercent']) {
    $output .= 'Filling out <i>'. l($complete_data['nextfield'], 'node/'. $complete_data['nid'] .'/edit', array(
      'query' => 'content_complete_fieldname='. $complete_data['nextname'] 
    )) .'</i> will bring '. $complete_data['name'] .' to '. t('!complete%.', array(
      '!complete' => $complete_data['nextpercent'] 
    ));
  }

should be replaced by something like:

  if ($complete_data['nextfield'] && $complete_data['nextpercent']) {    
   $output .= t('Filling out <i>!nextfield</i> will bring !completename to !complete%.', array(
    '!nextfield' => l($complete_data['nextfield'], 'node/'. $complete_data['nid'] .'/edit', array('query' => 'content_complete_fieldname='. $complete_data['nextname'])),
    '!completename' => $complete_data['name'], 
    '!complete' => $complete_data['nextpercent']
    ));
  }

Comments

pvhee’s picture

Status: Active » Fixed

Thanks for the fix! Committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.