Small bug.

//
// In you module this code on string 23-26:                           
//
function bookreview_node_name() {
  return('book review');
}
//
// but needed this:
//
function bookreview_node_name() {
$output = t('book review');
  return $output;
}

Comments

jeremy’s picture

Committed a similar fix. (ie, didn't create $output, just return the translation)

Anonymous’s picture