It's possible to use the t (translate) function so it can be translatable?

Line 491

  else {
    $emailtype = 'page';
    if (!empty($_GET['cid'])) {
      $cid = '?cid='. $_GET['cid'];
    }
    $form_state['values']['path'] .= $cid;
    drupal_set_title(check_plain(variable_get('forward_page_title', t('Forward this page'))));    
  }
CommentFileSizeAuthor
#5 forward.patch988 bytesjustageek
#4 forward.patch910 bytesjustageek

Comments

YK85’s picture

Status: Active » Needs review

+1 for more translatability

maerys’s picture

Assigned: Unassigned » maerys

that would be great!

makangus’s picture

Version: 6.x-1.9 » 6.x-1.6

I did this instead to translate a custom title.

drupal_set_title(check_plain(t(variable_get('forward_page_title', 'Forward this page'))));    
justageek’s picture

Assigned: maerys » Unassigned
Status: Needs review » Patch (to be ported)
StatusFileSize
new910 bytes

I have created a patch file that fixes the 2 spots where the page title is set, both are run through the t() function in the patch.

justageek’s picture

StatusFileSize
new988 bytes

Here is better patch file, first one didn't have correct path desingations in patch file

john.oltman’s picture

Status: Patch (to be ported) » Closed (duplicate)

This was committed to 6.x-1.x-DEV a while back and is a duplicate of #1033660