I get hundreds of useless strings to translate from path "printmail/%".

Fix:

Index: print_mail.inc
--- print_mail.inc Base (BASE)
+++ print_mail.inc Locally Modified (Based On LOCAL)
@@ -111,7 +111,7 @@
     $form['fld_title'] = array(
       '#type' => 'item',
       '#title' => t('Page to be sent'),
-      '#markup' => l(t($title), $path, array('attributes' => array('title' => t('View page')))),
+      '#markup' => l($title, $path, array('attributes' => array('title' => t('View page')))),
     );
   }
   $form['txt_message'] = array(

Comments

jcnventura’s picture

Status: Active » Needs review
asrob’s picture

Status: Needs review » Reviewed & tested by the community

I tried this one, it seems it works well.

jcnventura’s picture

Status: Reviewed & tested by the community » Needs work

FIxing it like this will break #1273514: Non-node titles not translated.

jcnventura’s picture

Status: Needs work » Fixed

Just committed a fix to this that detects when it's a node or not.

Status: Fixed » Closed (fixed)

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

jcnventura’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Patch (to be ported)

Needs to be ported back to 6.x.

jcnventura’s picture

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

My bad, actually it's already been ported.