Skip to content

Commit 31bf43d

Browse files
authored
Translation in adminhtml Import form
use built-in __() method
1 parent a4a9c2f commit 31bf43d

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit

1 file changed

+2
-2
lines changed

app/code/Magento/ImportExport/Block/Adminhtml/Import/Edit/Form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ protected function _prepareForm()
126126
'class' => $behaviorCode,
127127
'disabled' => true,
128128
'values' => [
129-
ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_STOP_ON_ERROR => 'Stop on Error',
130-
ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_SKIP_ERRORS => 'Skip error entries'
129+
ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_STOP_ON_ERROR => __('Stop on Error'),
130+
ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_SKIP_ERRORS => __('Skip error entries')
131131
],
132132
'after_element_html' => $this->getDownloadSampleFileHtml(),
133133
]

0 commit comments

Comments
 (0)