Skip to content

Commit

Permalink
👌 🌐 Make "Code" translatable
Browse files Browse the repository at this point in the history
Make "Code" string translateable. Translation for "Code" is already
contained in i18n/en_US.csv (Line 101).
  • Loading branch information
Andreas Schrammel committed Mar 19, 2018
1 parent 1e5745d commit 8004cc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ public function render(\Magento\Framework\DataObject $row)
'">' .
$this->escapeHtml($row->getData($this->getColumn()->getIndex())) .
'</a><br />'
. '(Code: ' . $row->getGroupCode() . ')';
. '(' . __('Code') . ': ' . $row->getGroupCode() . ')';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ public function render(\Magento\Framework\DataObject $row)
'">' .
$this->escapeHtml($row->getData($this->getColumn()->getIndex())) .
'</a><br />' .
'(Code: ' . $row->getStoreCode() . ')';
'(' . __('Code') . ': ' . $row->getStoreCode() . ')';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public function render(\Magento\Framework\DataObject $row)
'">' .
$this->escapeHtml($row->getData($this->getColumn()->getIndex())) .
'</a><br />' .
'(Code: ' . $row->getCode() . ')';
'(' . __('Code') . ': ' . $row->getCode() . ')';
}
}

0 comments on commit 8004cc5

Please sign in to comment.