Posted by Yaric3000 on June 8, 2009 at 12:25pm
| Project: | Popups: Add and Reference |
| Version: | 6.x-1.0 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
User can not translate new node creation URL, because it is hard coded instead using t() function. String 97 of popups_reference.module:
$form[$key]['#suffix'] = 'Add New: ' . implode(', ', $links) .'';
It should be the following:
$form[$key]['#suffix'] = '' .t('Add New') .': ' .implode(', ', $links) .'';
The same bug is in line 139:
- $links[] = l("Add $name", $path, $options);
+ $links[] = l(t('Add') ." $name", $path, $options);