Skip to content

Commit 8233da2

Browse files
committed
[TASK] Fix translation of attribute store label in getAdditionalData
Attribute labels should be translated in magento admin setting correct translation for stores
1 parent 2f30dde commit 8233da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Product/View/Attributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getAdditionalData(array $excludeAttr = [])
9090

9191
if (is_string($value) && strlen($value)) {
9292
$data[$attribute->getAttributeCode()] = [
93-
'label' => __($attribute->getStoreLabel()),
93+
'label' => $attribute->getStoreLabel(),
9494
'value' => $value,
9595
'code' => $attribute->getAttributeCode(),
9696
];

0 commit comments

Comments
 (0)