Skip to content

Commit e9c7139

Browse files
authored
Merge pull request #6417 from nextcloud/proper-english-nowhave
Improve text: 'you have now' -> 'you now have'
2 parents b6e759b + 8e46e6b commit e9c7139

11 files changed

Lines changed: 17 additions & 17 deletions

lib/public/Mail/IEMailTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*
3737
* $emailTemplate->addHeader();
3838
* $emailTemplate->addHeading('Welcome aboard');
39-
* $emailTemplate->addBodyText('You have now an Nextcloud account, you can add, protect, and share your data.');
39+
* $emailTemplate->addBodyText('You now have an Nextcloud account, you can add, protect, and share your data.');
4040
*
4141
* $emailTemplate->addBodyButtonGroup(
4242
* 'Set your password', 'https://example.org/resetPassword/q1234567890qwertz',

settings/Mailer/NewUserMailHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function generateTemplate(IUser $user, $generatePasswordResetToken = fals
130130
} else {
131131
$emailTemplate->addHeading($this->l10n->t('Welcome aboard %s', [$displayName]));
132132
}
133-
$emailTemplate->addBodyText($this->l10n->t('You have now an %s account, you can add, protect, and share your data.', [$this->themingDefaults->getName()]));
133+
$emailTemplate->addBodyText($this->l10n->t('You now have an %s account, you can add, protect, and share your data.', [$this->themingDefaults->getName()]));
134134
$emailTemplate->addBodyText($this->l10n->t('Your username is: %s', [$userId]));
135135
if ($generatePasswordResetToken) {
136136
$leftButtonText = $this->l10n->t('Set your password');

tests/Settings/Mailer/NewUserMailHelperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
237237
<table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
238238
<tr style="padding:0;text-align:left;vertical-align:top">
239239
<th style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">
240-
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You have now an TestCloud account, you can add, protect, and share your data.</p>
240+
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You now have an TestCloud account, you can add, protect, and share your data.</p>
241241
</th>
242242
<th class="expander" style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0!important;text-align:left;visibility:hidden;width:0"></th>
243243
</tr>
@@ -350,7 +350,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
350350
$expectedTextBody = <<<EOF
351351
Welcome aboard
352352
353-
You have now an TestCloud account, you can add, protect, and share your data.
353+
You now have an TestCloud account, you can add, protect, and share your data.
354354
355355
Your username is: john
356356
@@ -470,7 +470,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
470470
<table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
471471
<tr style="padding:0;text-align:left;vertical-align:top">
472472
<th style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">
473-
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You have now an TestCloud account, you can add, protect, and share your data.</p>
473+
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You now have an TestCloud account, you can add, protect, and share your data.</p>
474474
</th>
475475
<th class="expander" style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0!important;text-align:left;visibility:hidden;width:0"></th>
476476
</tr>
@@ -583,7 +583,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
583583
$expectedTextBody = <<<EOF
584584
Welcome aboard John Doe
585585
586-
You have now an TestCloud account, you can add, protect, and share your data.
586+
You now have an TestCloud account, you can add, protect, and share your data.
587587
588588
Your username is: john
589589

tests/data/emails/new-account-email-custom-text-alternative.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Welcome aboard - text
22

3-
You have now an Nextcloud account, you can add, protect, and share your data. - text
3+
You now have an Nextcloud account, you can add, protect, and share your data. - text
44

55
Your username is: abc
66

tests/data/emails/new-account-email-custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1 class="text-center" style="Margin:0;Margin-bottom:10px;color:inherit;font-fa
7676
<table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
7777
<tr style="padding:0;text-align:left;vertical-align:top">
7878
<th style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">
79-
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You have now an Nextcloud account, you can add, protect, and share your data.</p>
79+
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You now have an Nextcloud account, you can add, protect, and share your data.</p>
8080
</th>
8181
<th class="expander" style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0!important;text-align:left;visibility:hidden;width:0"></th>
8282
</tr>

tests/data/emails/new-account-email-custom.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Welcome aboard
22

3-
You have now an Nextcloud account, you can add, protect, and share your data.
3+
You now have an Nextcloud account, you can add, protect, and share your data.
44

55
Your username is: abc
66

tests/data/emails/new-account-email-single-button.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1 class="text-center" style="Margin:0;Margin-bottom:10px;color:inherit;font-fa
7676
<table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
7777
<tr style="padding:0;text-align:left;vertical-align:top">
7878
<th style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">
79-
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You have now an Nextcloud account, you can add, protect, and share your data.</p>
79+
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You now have an Nextcloud account, you can add, protect, and share your data.</p>
8080
</th>
8181
<th class="expander" style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0!important;text-align:left;visibility:hidden;width:0"></th>
8282
</tr>

tests/data/emails/new-account-email-single-button.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Welcome aboard
22

3-
You have now an Nextcloud account, you can add, protect, and share your data.
3+
You now have an Nextcloud account, you can add, protect, and share your data.
44

55
Your username is: abc
66

tests/data/emails/new-account-email.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1 class="text-center" style="Margin:0;Margin-bottom:10px;color:inherit;font-fa
7676
<table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
7777
<tr style="padding:0;text-align:left;vertical-align:top">
7878
<th style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">
79-
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You have now an Nextcloud account, you can add, protect, and share your data.</p>
79+
<p class="text-left" style="Margin:0;Margin-bottom:10px;color:#777;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;margin-bottom:10px;padding:0;text-align:left">You now have an Nextcloud account, you can add, protect, and share your data.</p>
8080
</th>
8181
<th class="expander" style="Margin:0;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0!important;text-align:left;visibility:hidden;width:0"></th>
8282
</tr>

tests/data/emails/new-account-email.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Welcome aboard
22

3-
You have now an Nextcloud account, you can add, protect, and share your data.
3+
You now have an Nextcloud account, you can add, protect, and share your data.
44

55
Your username is: abc
66

0 commit comments

Comments
 (0)