Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2012 at 12:25 UTC
Updated:
10 Sep 2012 at 15:22 UTC
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
Comment #1
jcnventuraComment #2
asrobI tried this one, it seems it works well.
Comment #3
jcnventuraFIxing it like this will break #1273514: Non-node titles not translated.
Comment #4
jcnventuraJust committed a fix to this that detects when it's a node or not.
Comment #6
jcnventuraNeeds to be ported back to 6.x.
Comment #7
jcnventuraMy bad, actually it's already been ported.