Multilingual Multireference
GiorgosK - May 25, 2008 - 11:18
| Project: | Multireference CCK field |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | steve.m |
| Status: | needs review |
Jump to:
Description
In order to make it more complete multilingual some more translations are needed
//in multireference.module line 492 wrapped descriptions with t()
// add description fields
$header = '<td>'. t($field['t_desc']) .'</td><td>'. t($field['t_ref']) .'<td></td>';
if ($field['desc2_provide']) {
$header .= '<td>'. t($field['t_desc2']) .'</td>';
}and also
//in multireference.module line 595 wrapped "add another field" with t()
$form[$fieldname]['item_add'] = array(
'#value' => '<tr><td><a href="#multireference_anchor_'. $fieldname .'" class="multireference_add_fields" next_item="'. $tbl_i .'" field_name="'. $fieldname .'">[+] '.t("add another field").'</a></td></tr>',
);
#1
I added more t() calls. The changes will show up in the -dev build. It only gets built nightly, so check it out sometime tomorrow.