Skip to content

Commit e5f29bd

Browse files
author
Joan He
committed
MAGETWO-85060: Move advanced reporting code from 2.2.2 to develop
- fix error message
1 parent d4439da commit e5f29bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/Analytics/Model/Config/Backend/Vertical.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Vertical extends \Magento\Framework\App\Config\Value
2424
public function beforeSave()
2525
{
2626
if (empty($this->getValue())) {
27-
throw new LocalizedException(__('Please select a vertical.'));
27+
throw new LocalizedException(__('Please select an industry.'));
2828
}
2929

3030
return $this;

app/code/Magento/Analytics/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Time value has an unsupported format","Time value has an unsupported format"
66
"Cron settings can't be saved","Cron settings can't be saved"
77
"There was an error save new configuration value.","There was an error save new configuration value."
8-
"Please select a vertical.","Please select a vertical."
8+
"Please select an industry.","Please select an industry."
99
"--Please Select--","--Please Select--"
1010
"Command was not found.","Command was not found."
1111
"Input data must be string or convertible into string.","Input data must be string or convertible into string."

dev/tests/functional/tests/app/Magento/Analytics/Test/TestCase/SetIndustryTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</variation>
1515
<variation name="SetIndustryEmpty" summary="Navigate to Advanced Reporting admin menu and try to save empty industry" ticketId="MAGETWO-63981">
1616
<data name="industry" xsi:type="string">--Please Select--</data>
17-
<data name="errorMessage" xsi:type="string">Please select a vertical.</data>
17+
<data name="errorMessage" xsi:type="string">Please select an industry.</data>
1818
<constraint name="Magento\Analytics\Test\Constraint\AssertEmptyIndustryCanNotBeSaved" />
1919
</variation>
2020
</testCase>

0 commit comments

Comments
 (0)