If you insert %site_slogan in the individual pages pattern, it does not get translated into the actual website slogan and appears as actual string '%site_slogan'.

I reviewed the code and made changes to the module's function page_title_page_get_title() to add the translation for %site_slogan.

....

  $site_name = variable_get('site_name', 'drupal');
  $site_slogan = variable_get('site_slogan', '');

  if ($drupal_title) {
  	$title = t($page_title_individual, array('%page_title' => $page_title, '%site_name' => $site_name, '%site_slogan' => $site_slogan));
  }
  else {
    $title = t($page_title_front, array('%site_name' => $site_name, '%site_slogan' => $site_slogan));
  }
  return $title;
}

Please review and commit this if it's ok.

CommentFileSizeAuthor
page_title.module5.54 KBfreeman-1

Comments

robertdouglass’s picture

Status: Needs review » Fixed

applied, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)