Issue #1974628 by amateescu: Fixed Don't call t() on the field and widget label in FieldOverview::buildForm().

8.0.x
webchick 2013-04-19 20:38:28 -07:00
parent 3999722cb6
commit 8b90bf1ea8
1 changed files with 2 additions and 2 deletions

View File

@ -131,13 +131,13 @@ class FieldOverview extends OverviewBase {
),
'type' => array(
'#type' => 'link',
'#title' => t($field_types[$field['type']]['label']),
'#title' => $field_types[$field['type']]['label'],
'#href' => $admin_field_path . '/field-settings',
'#options' => array('attributes' => array('title' => t('Edit field settings.'))),
),
'widget_type' => array(
'#type' => 'link',
'#title' => t($widget_types[$instance['widget']['type']]['label']),
'#title' => $widget_types[$instance['widget']['type']]['label'],
'#href' => $admin_field_path . '/widget-type',
'#options' => array('attributes' => array('title' => t('Change widget type.'))),
),