Skip to content

Commit d6a4d84

Browse files
authored
MAGETWO-66245: [GitHub][PR] magento/magetno2#8676: I can not translate title attribute in xml fil… #8915
2 parents 6a03ab5 + a349c33 commit d6a4d84

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Integration/Helper

1 file changed

+1
-1
lines changed

app/code/Magento/Integration/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function mapResources(array $resources)
2121
foreach ($resources as $resource) {
2222
$item = [];
2323
$item['attr']['data-id'] = $resource['id'];
24-
$item['data'] = $resource['title'];
24+
$item['data'] = __($resource['title']);
2525
$item['children'] = [];
2626
if (isset($resource['children'])) {
2727
$item['state'] = 'open';

0 commit comments

Comments
 (0)