Skip to content

Commit 01c05c4

Browse files
author
Oleksii Korshenko
committed
MAGETWO-67042: Fix grammar mistakes with subscriptions - fixes #7498 #9080
- Merge Pull Request #9080 from sambolek/magento2:issue-7498
2 parents 5fede8c + e9c9459 commit 01c05c4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

app/code/Magento/Customer/Block/Account/Dashboard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ public function getManageNewsletterUrl()
170170
public function getSubscriptionText()
171171
{
172172
if ($this->getSubscriptionObject()->isSubscribed()) {
173-
return __('You subscribe to our newsletter.');
173+
return __('You are subscribed to our newsletter.');
174174
}
175175

176-
return __('You don\'t subscribe to our newsletter.');
176+
return __('You aren\'t subscribed to our newsletter.');
177177
}
178178

179179
/**

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"Sign Out","Sign Out"
22
"Sign In","Sign In"
3-
"You subscribe to our newsletter.","You subscribe to our newsletter."
4-
"You don\'t subscribe to our newsletter.","You don\'t subscribe to our newsletter."
3+
"You are subscribed to our newsletter.","You are subscribed to our newsletter."
4+
"You aren't subscribed to our newsletter.","You aren't subscribed to our newsletter."
55
"You have not set a default shipping address.","You have not set a default shipping address."
66
"You have not set a default billing address.","You have not set a default billing address."
77
"Address Book","Address Book"
@@ -308,7 +308,7 @@ Change,Change
308308
"Contact Information","Contact Information"
309309
"Change Password","Change Password"
310310
Newsletters,Newsletters
311-
"You subscribe to ""General Subscription"".","You subscribe to ""General Subscription""."
311+
"You are subscribed to ""General Subscription"".","You are subscribed to ""General Subscription""."
312312
or,or
313313
"Default Addresses","Default Addresses"
314314
"Change Billing Address","Change Billing Address"

app/code/Magento/Customer/view/frontend/templates/account/dashboard/info.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
<div class="box-content">
3939
<p>
4040
<?php if ($block->getIsSubscribed()): ?>
41-
<?php echo $block->escapeHtml(__('You subscribe to "General Subscription".')) ?>
41+
<?php echo $block->escapeHtml(__('You are subscribed to "General Subscription".')) ?>
4242
<?php else: ?>
43-
<?php echo $block->escapeHtml(__('You don\'t subscribe to our newsletter.')) ?>
43+
<?php echo $block->escapeHtml(__('You aren\'t subscribed to our newsletter.')) ?>
4444
<?php endif; ?>
4545
</p>
4646
<?php /* Extensions placeholder */ ?>

0 commit comments

Comments
 (0)