Needs review
Project:
Embedded Media Field
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2011 at 11:24 UTC
Updated:
18 Jan 2011 at 11:24 UTC
The field label for emfields is currently set to t('@label', array('@label' => $field['widget']['label'])), which filters the text through check_plain(), but makes it impossible to translate it because the string consists only of a placeholder. The alternative is to pass the label text through check_plain() and then through t(), so that it can be translated like other cck fields.
| Comment | File | Size | Author |
|---|---|---|---|
| emfield_translate_label.patch | 622 bytes | floretan |