Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: fix various typos #7463

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/vericrypt/src/components/errors-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ErrorsListProps = {
export function ErrorsList(props: ErrorsListProps) {
return (
<Accordion
title={`${props.errors.length} errors occured`}
title={`${props.errors.length} errors occurred`}
sx={{ bg: "errorBg", borderRadius: "default", mt: 2 }}
color="#E53935"
>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/at-rest-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The flow will be as follows:
5. Use the database password to init the db & keep the user's encryption key in memory. (we have 2 choices here: either keep the encryption key in memory or keep the pin in memory)
6. If not enabled, we will ask the keystore to give us the database password + user's encryption key

We should store both the database password and the user's encryption key in a keychain. If user sets a pin, we can just double encrypt these values. This will keep things simple and seemless.
We should store both the database password and the user's encryption key in a keychain. If user sets a pin, we can just double encrypt these values. This will keep things simple and seamless.

Q: How to find out if app lock is enabled?

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/common/sqlite/VFS.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class Base {
}

/**
* Handle asynchronous operation. This implementation will be overriden on
* Handle asynchronous operation. This implementation will be overridden on
* registration by an Asyncify build.
* @param {function(): Promise<number>} f
* @returns {number}
Expand Down
12 changes: 6 additions & 6 deletions apps/web/src/common/sqlite/sqlite-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export interface SQLiteModule {
* the corresponding Javascript wrapper will throw an exception with a
* `code` property on an error.
*
* Note that a few functions return a Promise in order to accomodate
* Note that a few functions return a Promise in order to accommodate
* either a synchronous or asynchronous SQLite build, generally those
* involved with opening/closing a database or executing a statement.
*
Expand Down Expand Up @@ -493,7 +493,7 @@ export interface SQLiteAPI {
column(stmt: number, i: number): SQLiteCompatibleType;

/**
* Extract a column value from a row after a prepared statment {@link step}
* Extract a column value from a row after a prepared statement {@link step}
*
* The contents of the returned buffer may be invalid after the
* next SQLite call. Make a copy of the data (e.g. with `.slice()`)
Expand Down Expand Up @@ -523,7 +523,7 @@ export interface SQLiteAPI {
column_count(stmt: number): number;

/**
* Extract a column value from a row after a prepared statment {@link step}
* Extract a column value from a row after a prepared statement {@link step}
* @see https://www.sqlite.org/c3ref/column_blob.html
* @param stmt prepared statement pointer
* @param i column index
Expand All @@ -532,7 +532,7 @@ export interface SQLiteAPI {
column_double(stmt: number, i: number): number;

/**
* Extract a column value from a row after a prepared statment {@link step}
* Extract a column value from a row after a prepared statement {@link step}
* @see https://www.sqlite.org/c3ref/column_blob.html
* @param stmt prepared statement pointer
* @param i column index
Expand All @@ -541,7 +541,7 @@ export interface SQLiteAPI {
column_int(stmt: number, i: number): number;

/**
* Extract a column value from a row after a prepared statment {@link step}
* Extract a column value from a row after a prepared statement {@link step}
* @see https://www.sqlite.org/c3ref/column_blob.html
* @param stmt prepared statement pointer
* @param i column index
Expand Down Expand Up @@ -569,7 +569,7 @@ export interface SQLiteAPI {
column_names(stmt: number): Array<string>;

/**
* Extract a column value from a row after a prepared statment {@link step}
* Extract a column value from a row after a prepared statement {@link step}
* @see https://www.sqlite.org/c3ref/column_blob.html
* @param stmt prepared statement pointer
* @param i column index
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/dialogs/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const SettingsGroups = [
// 2. Settings will be synced so their state must be serializable
// 3. Settings will be grouped
// - Where group header is customizable
// 4. Sections/groups must be able to accomodate tips & tutorials for future.
// 4. Sections/groups must be able to accommodate tips & tutorials for future.
// 5. Settings will be stateful but independent such that any one setting
// can appear independent of others (e.g. as a search result)

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/utils/stream-saver/mitm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function postMessage(
// so all download links needs to be prefixed to avoid any other conflict
data.origin = window.location.origin;

// if we ever (in some feature versoin of streamsaver) would like to
// if we ever (in some feature version of streamsaver) would like to
// redirect back to the page of who initiated a http request
data.referrer = data.referrer || document.referrer || origin;

Expand Down
Loading