From 8233da21ed4323d98b3445e2864cc758be02e7fb Mon Sep 17 00:00:00 2001 From: Christian Walter Date: Tue, 22 Jan 2019 11:08:17 +0100 Subject: [PATCH] [TASK] Fix translation of attribute store label in getAdditionalData Attribute labels should be translated in magento admin setting correct translation for stores --- app/code/Magento/Catalog/Block/Product/View/Attributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/Block/Product/View/Attributes.php b/app/code/Magento/Catalog/Block/Product/View/Attributes.php index cb59d86a74512..b096874081eb9 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Attributes.php +++ b/app/code/Magento/Catalog/Block/Product/View/Attributes.php @@ -90,7 +90,7 @@ public function getAdditionalData(array $excludeAttr = []) if (is_string($value) && strlen($value)) { $data[$attribute->getAttributeCode()] = [ - 'label' => __($attribute->getStoreLabel()), + 'label' => $attribute->getStoreLabel(), 'value' => $value, 'code' => $attribute->getAttributeCode(), ];