From 2d857952c527b71d25fbfef8e79975c46e2f5187 Mon Sep 17 00:00:00 2001
From: Dane Powell <git@danepowell.com>
Date: Fri, 21 Aug 2015 16:13:43 -0500
Subject: [PATCH] Issue #2555635 by Dane Powell: Fixed field titles not
 translated.

---
 paragraphs.field_widget.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/paragraphs.field_widget.inc b/paragraphs.field_widget.inc
index a51dc0a..e3b5740 100644
--- a/paragraphs.field_widget.inc
+++ b/paragraphs.field_widget.inc
@@ -84,7 +84,7 @@ function paragraphs_field_multiple_value_form($field, $instance, $langcode, $ite
         '#field_parents' => $parents,
         '#columns' => array_keys($field['columns']),
         // For multiple fields, title and description are handled by the wrapping table.
-        '#title' => $multiple ? '' : $title,
+        '#title' => $multiple ? '' : t($title),
         '#description' => $multiple ? '' : $description,
         '#delta' => $delta,
         '#weight' => $delta,
@@ -138,7 +138,7 @@ function paragraphs_field_multiple_value_form($field, $instance, $langcode, $ite
       '#theme' => 'paragraphs_field_multiple_value_form',
       '#field_name' => $field['field_name'],
       '#cardinality' => $field['cardinality'],
-      '#title' => $title,
+      '#title' => t($title),
       '#required' => $instance['required'],
       '#description' => $description,
       '#prefix' => '<div id="' . $wrapper_id . '">',
-- 
2.1.4

