From 8b90bf1ea8045f590046f71f52d0fae2f43f4bdb Mon Sep 17 00:00:00 2001 From: webchick Date: Fri, 19 Apr 2013 20:38:28 -0700 Subject: [PATCH] Issue #1974628 by amateescu: Fixed Don't call t() on the field and widget label in FieldOverview::buildForm(). --- core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php b/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php index 925caef5b40..c17bfb240a8 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php @@ -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.'))), ),