Fix typos in website code (#9015)

This commit is contained in:
Zach Wasserman 2022-12-13 17:33:23 -06:00 committed by GitHub
parent 53b74e576c
commit fce4bae018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -123,7 +123,7 @@ the account verification message.)`,
)
.timeout(5000)
.intercept(['requestFailed', 'non200Response'], (err)=>{
// If we recieved a non-200 response from the cloud provisioner API, we'll throw a 500 error.
// If we received a non-200 response from the cloud provisioner API, we'll throw a 500 error.
return new Error('When attempting to provision a new user who just signed up ('+emailAddress+'), the cloud provisioner gave a non 200 response. The incomplete user record has not been saved in the database, and the user will be asked to try signing up again. Raw response received from provisioner: '+err.stack);
})
.intercept({name: 'TimeoutError'}, (err)=>{

View file

@ -66,7 +66,7 @@ module.exports = {
).retry();
// Add the results to the allIssuesWithBugLabel array.
allIssuesWithBugLabel = allIssuesWithBugLabel.concat(issuesWithBugLabel);
// If we recieved less results than we requested, we've reached the last page of the results.
// If we received less results than we requested, we've reached the last page of the results.
return issuesWithBugLabel.length !== NUMBER_OF_RESULTS_REQUESTED;
}, 10000);
@ -111,14 +111,14 @@ module.exports = {
baseHeaders
).retry();
// Filter the PRs we recieved from Github using the pull request's merged_at date.
// Filter the PRs we received from Github using the pull request's merged_at date.
let resultsToAdd = closedPullRequests.filter((pullRequest)=>{
return threeWeeksAgo <= new Date(pullRequest.merged_at);
});
// Add the filtered array of PRs to the array of all pull requests merged in the past three weeks.
pullRequestsMergedInThePastThreeWeeks = pullRequestsMergedInThePastThreeWeeks.concat(resultsToAdd);
// Stop when we've recieved results from the third page.
// Stop when we've received results from the third page.
return pageNumberForPaginatedResults === 3;
});
@ -165,7 +165,7 @@ module.exports = {
).retry();
// Add the results to the array of results.
allOpenPullRequests = allOpenPullRequests.concat(pullRequests);
// If we recieved less results than we requested, we've reached the last page of the results.
// If we received less results than we requested, we've reached the last page of the results.
return pullRequests.length !== NUMBER_OF_RESULTS_REQUESTED;
}, 10000);
for(let pullRequest of allOpenPullRequests) {

View file

@ -15,7 +15,7 @@
<p>© 2022 Fleet Device Management Inc. All trademarks, service marks, and company names are the property of their respective owners.</p>
</div>
<div>
<p style="font-size: 12px; color: #3E4771;">You recieved this email because youre subscribed to the Fleet newsletter. <a href="<%= url.resolve(sails.config.custom.baseUrl, '/unsubscribe?emailAddress='+encodeURIComponent(emailAddress)) %>">Unsubscribe</a></p>
<p style="font-size: 12px; color: #3E4771;">You received this email because youre subscribed to the Fleet newsletter. <a href="<%= url.resolve(sails.config.custom.baseUrl, '/unsubscribe?emailAddress='+encodeURIComponent(emailAddress)) %>">Unsubscribe</a></p>
</div>
</div>
</div>

View file

@ -307,7 +307,7 @@
</div>
<div purpose="newsletter-form" class="text-center" v-if="cloudSuccess">
<h4>Great!</h4>
<p>You're all set to recieve updates on Fleet releases.</p>
<p>You're all set to receive updates on Fleet releases.</p>
</div>
<div purpose="newsletter-form" class="d-flex flex-row justify-content-lg-start justify-content-center align-items-center w-100" v-else>
<ajax-form class="w-100" action="createOrUpdateOneNewsletterSubscription" :form-errors.sync="formErrors" :form-data="formData" :form-rules="formRules" :syncing.sync="syncing" :cloud-error.sync="cloudError" @submitted="submittedNewsletterForm()">