Skip to content

Commit

Permalink
[TASK] Fix translation of attribute store label in getAdditionalData
Browse files Browse the repository at this point in the history
Attribute labels should be translated in magento admin setting correct translation for stores
  • Loading branch information
c-walter committed Jan 22, 2019
1 parent 2f30dde commit 8233da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Block/Product/View/Attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
];
Expand Down

0 comments on commit 8233da2

Please sign in to comment.