1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PM-1877] Spellcheck (#5237)

* Bug fix: "vaule" -> "value"

* Bug fix: "aria-descibedby" -> "aria-describedby"

* Bug fix: "chararacter" -> "character"

* Fix typos in comments

* Fix typos in documentation

* Fix typo in test description

* Fix typos in sample data: "childen" -> "children"

* Fix typos in sample data: "pargraphs" -> "paragraphs"

* Fixes to test data: "Additinoal", "Informaion" -> "Additional", "Information"

* Fix typo in test data: "dolhpin" -> "dolphin"

* Fix typo in local variable: "attachement" -> "attachment"

* Fix typo in method name: "detachOrganizastion" -> "detachOrganization"

* Fix typo in method name: "getNewlyAddedDomians" -> "getNewlyAddedDomains"

* Fix typo: "EncyptedMessageResponse" -> "EncryptedMessageResponse"

* Fix typo: "miliseconds" -> "milliseconds"

* Fix typo: "authResponsePushNotifiction" -> "authResponsePushNotification"

* Fix typo: "getPushNotifcationObs" -> "getPushNotificationObs"

* Fix typo: "ExpriationDate" -> "ExpirationDate"

* Fix typo: "OrganizationUserResetPasswordDetailsReponse" -> "OrganizationUserResetPasswordDetailsResponse"

* Fix typo: "DISPLAY_TITLE_ATTRIBUE" -> "DISPLAY_TITLE_ATTRIBUTE"

* Fix typo: "credentialretreivalCommandHandler" -> "credentialRetrievalCommandHandler"

* Fix typo: "buildLoginCredntials" -> "buildLoginCredentials"

* Fix typo: "_mappedCredentialsColums" -> "_mappedCredentialsColumns"

* Fix typo: "_mappedPersonalInfoAsIdentiyColumns" -> "_mappedPersonalInfoAsIdentityColumns"

* Fix typo in input name: "StroageGbAdjustment" -> "StorageGbAdjustment"

* Fix typo in const: "encryptionAlogrithm" -> "encryptionAlgorithm"

---------

Co-authored-by: Daniel James Smith <djsmith@web.de>
This commit is contained in:
Jim Hays
2023-04-26 06:16:07 -04:00
committed by GitHub
parent ab25c69cdf
commit 9f7bf1132b
50 changed files with 81 additions and 81 deletions

View File

@@ -5,7 +5,7 @@ export function registerAlarms() {
}
/**
* Creates staggered alarms that periodically (1min) raise OnAlarm events. The staggering is calculated based on the numnber of alarms passed in.
* Creates staggered alarms that periodically (1min) raise OnAlarm events. The staggering is calculated based on the number of alarms passed in.
* @param numberOfAlarms Number of named alarms, that shall be registered
* @example
* // alarmsToBeCreated(2) results in 2 alarms separated by 30 seconds

View File

@@ -146,7 +146,7 @@ export class CipherContextMenuHandler {
const authStatus = await this.authService.getAuthStatus();
await MainContextMenuHandler.removeAll();
if (authStatus !== AuthenticationStatus.Unlocked) {
// Should I pass in the auth status or even have two seperate methods for this
// Should I pass in the auth status or even have two separate methods for this
// on MainContextMenuHandler
await this.mainContextMenuHandler.noAccess();
return;

View File

@@ -440,7 +440,7 @@
// get proper page title. maybe they are using the special meta tag?
var theTitle = document.querySelector('[data-onepassword-title]')
if (theTitle && theTitle.dataset[DISPLAY_TITLE_ATTRIBUE]) {
if (theTitle && theTitle.dataset[DISPLAY_TITLE_ATTRIBUTE]) {
pageDetails.displayTitle = theTitle.dataset.onepasswordTitle;
}

View File

@@ -44,7 +44,7 @@ export default class AutofillField {
*/
"label-top": string;
/**
* The contatenated `innerText` or `textContent` of all elements that are HTML labels for the field
* The concatenated `innerText` or `textContent` of all elements that are HTML labels for the field
*/
"label-tag": string;
/**

View File

@@ -80,7 +80,7 @@ export class ExcludedDomainsComponent implements OnInit, OnDestroy {
async submit() {
const savedDomains: { [name: string]: null } = {};
const newExcludedDomains = this.getNewlyAddedDomians(this.excludedDomains);
const newExcludedDomains = this.getNewlyAddedDomains(this.excludedDomains);
for (const domain of this.excludedDomains) {
const resp = newExcludedDomains.filter((e) => e.uri === domain.uri);
if (resp.length === 0) {
@@ -109,7 +109,7 @@ export class ExcludedDomainsComponent implements OnInit, OnDestroy {
return index;
}
getNewlyAddedDomians(domain: ExcludedDomain[]): ExcludedDomain[] {
getNewlyAddedDomains(domain: ExcludedDomain[]): ExcludedDomain[] {
const result = this.excludedDomains.filter(
(newDomain) =>
!this.existingExcludedDomains.some((oldDomain) => newDomain.uri === oldDomain.uri)

View File

@@ -420,7 +420,7 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
autofillCommand = (await browser.commands.getAll()).find(
(c) => c.name === "autofill_login"
).shortcut;
// Firefox is returing Ctrl instead of Cmd for the modifier key on macOS if
// Firefox is returning Ctrl instead of Cmd for the modifier key on macOS if
// the command is the default one set on installation.
if (
(await browser.runtime.getPlatformInfo()).os === "mac" &&

View File

@@ -12,7 +12,7 @@ export default class VaultTimeoutService extends BaseVaultTimeoutService {
}
}
// This is a work-around to safari adding an arbitary delay to setTimeout and
// This is a work-around to safari adding an arbitrary delay to setTimeout and
// setIntervals. It works by calling the native extension which sleeps for 10s,
// efficiently replicating setInterval.
async checkSafari() {

View File

@@ -94,7 +94,7 @@ export class SendAddEditComponent extends BaseAddEditComponent {
}
async ngOnInit() {
// File visilibity
// File visibility
this.isFirefox = this.platformUtilsService.isFirefox();
this.inPopout = this.popupUtilsService.inPopout(window);
this.inSidebar = this.popupUtilsService.inSidebar(window);