Skip to content

Commit 90ed3b2

Browse files
ENGCOM-9111: #33094 Renamed confusing store select labels - Login As Customer #33097
2 parents 77378a0 + fb1e4e1 commit 90ed3b2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/code/Magento/LoginAsCustomer/Test/Mftf/Section/AdminCustomerConfigSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
<element name="loginAsCustomerSettingsHead" type="text" selector="#login_as_customer_general-head" timeout="30"/>
1414
<element name="enableExtensionLabel" type="text" selector="//span[contains(text(),'Enable Extension') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
1515
<element name="disablePageCacheLabel" type="text" selector="//span[contains(text(),'Disable Page Cache For Admin User') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
16-
<element name="storeViewToLoginToLabel" type="text" selector="//span[contains(text(),'Store View To Login To') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
16+
<element name="storeViewToLoginToLabel" type="text" selector="//span[contains(text(),'Store To Login To') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
1717
</section>
1818
</sections>

app/code/Magento/LoginAsCustomerAdminUi/Controller/Adminhtml/Login/Login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function execute(): ResultInterface
200200
if ($this->config->isStoreManualChoiceEnabled()) {
201201
$storeId = (int)$this->_request->getParam('store_id');
202202
if (empty($storeId)) {
203-
$messages[] = __('Please select a Store View to login in.');
203+
$messages[] = __('Please select a Store to login in.');
204204
return $this->prepareJsonResult($messages);
205205
}
206206
} elseif ($this->share->isGlobalScope()) {

app/code/Magento/LoginAsCustomerAdminUi/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
2020
</field>
2121
<field id="store_view_manual_choice_enabled" translate="label comment" type="select" sortOrder="40" showInDefault="1" canRestore="1">
22-
<label>Store View To Login To</label>
22+
<label>Store To Login To</label>
2323
<source_model>Magento\LoginAsCustomerAdminUi\Model\Config\Source\StoreViewLogin</source_model>
2424
<comment><![CDATA[
2525
Use the "Manual Selection" option on a multi-website setup that has "Share Customer Accounts" enabled globally.

app/code/Magento/LoginAsCustomerAdminUi/view/adminhtml/web/js/confirmation-popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ define([
3636
data: {
3737
showStoreViewOptions: self.showStoreViewOptions,
3838
storeViewOptions: self.storeViewOptions,
39-
label: $t('Store View')
39+
label: $t('Store')
4040
}
4141
}) + content;
4242
}

0 commit comments

Comments
 (0)