Skip to content

Commit 79e11cb

Browse files
author
Stanislav Idolov
authored
ENGCOM-2608: [Backport] fix: change "My Dashboard" to "My Account", fixes #16007 #17253
2 parents efab494 + 334a651 commit 79e11cb

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

app/code/Magento/Customer/etc/frontend/page_types.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<type id="customer_account_createpassword" label="Reset a Password"/>
1212
<type id="customer_account_edit" label="Customer Account Edit Form"/>
1313
<type id="customer_account_forgotpassword" label="Customer Forgot Password Form"/>
14-
<type id="customer_account_index" label="Customer My Account Dashboard"/>
14+
<type id="customer_account_index" label="Customer My Account"/>
1515
<type id="customer_account_login" label="Customer Account Login Form"/>
1616
<type id="customer_account_logoutsuccess" label="Customer Account Logout Success"/>
1717
<type id="customer_address_form" label="Customer My Account Address Edit Form"/>

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,8 @@ Type,Type
512512
"Send Welcome Email From","Send Welcome Email From"
513513
Addresses,Addresses
514514
"Are you sure you want to delete this item?","Are you sure you want to delete this item?"
515-
"Account Dashboard","Account Dashboard"
516515
"Edit Account Information","Edit Account Information"
517516
"Password forgotten","Password forgotten"
518-
"My Dashboard","My Dashboard"
519517
"You are signed out","You are signed out"
520518
"No Password","No Password"
521519
"Weak","Weak"

app/code/Magento/Customer/view/frontend/layout/customer_account.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<block class="Magento\Framework\View\Element\Html\Links" name="customer_account_navigation" before="-" template="Magento_Customer::account/navigation.phtml">
1616
<block class="Magento\Framework\View\Element\Html\Link\Current" name="customer-account-navigation-account-link">
1717
<arguments>
18-
<argument name="label" xsi:type="string" translate="true">Account Dashboard</argument>
18+
<argument name="label" xsi:type="string" translate="true">My Account</argument>
1919
<argument name="path" xsi:type="string">customer/account</argument>
2020
</arguments>
2121
</block>

app/code/Magento/Customer/view/frontend/layout/customer_account_index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<referenceBlock name="page.main.title">
1212
<action method="setPageTitle">
13-
<argument translate="true" name="title" xsi:type="string">My Dashboard</argument>
13+
<argument translate="true" name="title" xsi:type="string">My Account</argument>
1414
</action>
1515
</referenceBlock>
1616
<referenceContainer name="content">

app/design/frontend/Magento/blank/i18n/en_US.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Summary,Summary
2-
"Account Dashboard","Account Dashboard"
32
"Account Information","Account Information"
43
"Address Book","Address Book"
54
Menu,Menu

app/design/frontend/Magento/luma/Magento_Customer/layout/customer_account.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<referenceContainer name="sidebar.main">
1111
<block class="Magento\Framework\View\Element\Template" name="customer_account_navigation_block" template="Magento_Theme::html/collapsible.phtml" before="-">
1212
<arguments>
13-
<argument name="block_title" translate="true" xsi:type="string">Account Dashboard</argument>
13+
<argument name="block_title" translate="true" xsi:type="string">My Account</argument>
1414
<argument name="block_css" xsi:type="string">block-collapsible-nav</argument>
1515
</arguments>
1616
<block class="Magento\Framework\View\Element\Html\Links" name="customer_account_navigation" before="-">
@@ -19,7 +19,7 @@
1919
</arguments>
2020
<block class="Magento\Framework\View\Element\Html\Link\Current" name="customer-account-navigation-account-link">
2121
<arguments>
22-
<argument name="label" xsi:type="string" translate="true">Account Dashboard</argument>
22+
<argument name="label" xsi:type="string" translate="true">My Account</argument>
2323
<argument name="path" xsi:type="string">customer/account</argument>
2424
</arguments>
2525
</block>

app/design/frontend/Magento/luma/i18n/en_US.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ Password:,Password:
4242
"Placed on <span class=""no-link"">%created_at</span>","Placed on <span class=""no-link"">%created_at</span>"
4343
"Your shipping confirmation is below. Thank you again for your business.","Your shipping confirmation is below. Thank you again for your business."
4444
"Your Shipment #%shipment_id for Order #%order_id","Your Shipment #%shipment_id for Order #%order_id"
45+
"Update to your %store_name shipment","Update to your %store_name shipment"
46+
"Address Book","Address Book"
47+
"Account Information","Account Information"

dev/tests/functional/tests/app/Magento/Customer/Test/Constraint/AssertCustomerDefaultAddresses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AssertCustomerDefaultAddresses extends AbstractConstraint
2424
*/
2525
public function processAssert(CustomerAccountIndex $customerAccountIndex, Address $address)
2626
{
27-
$customerAccountIndex->getAccountMenuBlock()->openMenuItem('Account Dashboard');
27+
$customerAccountIndex->getAccountMenuBlock()->openMenuItem('My Account');
2828
sleep(6);
2929
$defaultBillingAddress = explode(
3030
"\n",

dev/tests/functional/tests/app/Magento/Customer/Test/Constraint/AssertCustomerRedirectToDashboard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AssertCustomerRedirectToDashboard extends AbstractConstraint
1717
/**
1818
* Dashboard Message on account index page.
1919
*/
20-
const DASHBOARD_MESSAGE = 'My Dashboard';
20+
const DASHBOARD_MESSAGE = 'My Account';
2121

2222
/**
2323
* Constraint severeness

dev/tests/functional/tests/app/Magento/Customer/Test/TestStep/LogoutCustomerOnFrontendStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function run()
4949
{
5050
$this->customerAccount->open();
5151
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
52-
if ($this->cmsIndex->getTitleBlock()->getTitle() != 'Customer Login') {
52+
if ($this->cmsIndex->getTitleBlock()->getTitle() === 'My Account') {
5353
$this->cmsIndex->getLinksBlock()->openLink('Sign Out');
5454
$this->cmsIndex->getCmsPageBlock()->waitUntilTextIsVisible('Home Page');
5555
$this->cmsIndex->getCmsPageBlock()->waitPageInit();

0 commit comments

Comments
 (0)