[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix spelling issues
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix spelling issues |
Date: |
Tue, 27 Apr 2021 23:42:28 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 9b893875 fix spelling issues
9b893875 is described below
commit 9b89387535cce603f80c9280063ffc7641279143
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Apr 27 23:42:25 2021 +0200
fix spelling issues
---
packages/idb-bridge/src/bridge-idb.ts | 2 +-
.../src/idb-wpt-ported/idbobjectstore-rename-store.test.ts | 2 +-
packages/idb-bridge/src/idbtypes.ts | 2 +-
packages/idb-bridge/src/tree/b+tree.ts | 2 +-
packages/pogen/example/test.ts | 6 +++---
packages/taler-util/src/backupTypes.ts | 2 +-
packages/taler-util/src/talerTypes.ts | 4 ++--
packages/taler-wallet-cli/src/clk.ts | 4 ++--
packages/taler-wallet-cli/src/integrationtests/faultInjection.ts | 2 +-
packages/taler-wallet-cli/src/integrationtests/harness.ts | 8 ++++----
.../taler-wallet-cli/src/integrationtests/merchantApiTypes.ts | 2 +-
packages/taler-wallet-cli/src/integrationtests/sync.ts | 2 +-
packages/taler-wallet-core/src/db.ts | 6 +++---
packages/taler-wallet-core/src/operations/errors.ts | 2 +-
packages/taler-wallet-core/src/operations/pay.ts | 2 +-
packages/taler-wallet-core/src/operations/reserves.ts | 4 ++--
packages/taler-wallet-core/src/operations/transactions.ts | 2 +-
packages/taler-wallet-core/src/pending-types.ts | 4 ++--
packages/taler-wallet-core/src/util/query.ts | 2 +-
packages/taler-wallet-core/src/wallet.ts | 2 +-
packages/taler-wallet-webextension/src/wxApi.ts | 2 +-
21 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/packages/idb-bridge/src/bridge-idb.ts
b/packages/idb-bridge/src/bridge-idb.ts
index 2b460236..58cec867 100644
--- a/packages/idb-bridge/src/bridge-idb.ts
+++ b/packages/idb-bridge/src/bridge-idb.ts
@@ -2512,7 +2512,7 @@ export class BridgeIDBTransaction
this._db._upgradeTransaction = null;
}
- // All steps before happend synchronously. Now
+ // All steps before happened synchronously. Now
// we asynchronously roll back the backend transaction,
// if necessary/possible.
diff --git
a/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
b/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
index 40f4dda9..b60e932b 100644
--- a/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
+++ b/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
@@ -206,7 +206,7 @@ test("WPT idbobjectstore-rename-store.html (subtest 3)",
async (t) => {
await checkStoreIndexes(
t,
store,
- "The object store index should have the expected contens before " +
+ "The object store index should have the expected contents before " +
"any renaming",
);
return database.close();
diff --git a/packages/idb-bridge/src/idbtypes.ts
b/packages/idb-bridge/src/idbtypes.ts
index 7bd0eaaa..fe9003d6 100644
--- a/packages/idb-bridge/src/idbtypes.ts
+++ b/packages/idb-bridge/src/idbtypes.ts
@@ -128,7 +128,7 @@ export interface Event {
*/
readonly currentTarget: EventTarget | null;
/**
- * Returns true if preventDefault() was invoked successfully to indicate
cancelation, and false otherwise.
+ * Returns true if preventDefault() was invoked successfully to indicate
cancellation, and false otherwise.
*/
readonly defaultPrevented: boolean;
/**
diff --git a/packages/idb-bridge/src/tree/b+tree.ts
b/packages/idb-bridge/src/tree/b+tree.ts
index a45a9862..abe65e35 100644
--- a/packages/idb-bridge/src/tree/b+tree.ts
+++ b/packages/idb-bridge/src/tree/b+tree.ts
@@ -836,7 +836,7 @@ export default class BTree<K = any, V = any>
/**
* Scans and potentially modifies values for a subsequence of keys.
* Note: the callback `onFound` should ideally be a pure function.
- * Specfically, it must not insert items, call clone(), or change
+ * Specifically, it must not insert items, call clone(), or change
* the collection except via return value; out-of-band editing may
* cause an exception or may cause incorrect data to be sent to
* the callback (duplicate or missed items). It must not cause a
diff --git a/packages/pogen/example/test.ts b/packages/pogen/example/test.ts
index 021f3f32..6577fa31 100644
--- a/packages/pogen/example/test.ts
+++ b/packages/pogen/example/test.ts
@@ -38,7 +38,7 @@ It has multiple lines, and a leading empty line.
*/
console.log(i18n`Hello9," '" World`);
-// Comments with space inbetween do not count
+// Comments with space in between do not count
console.log(i18n`Hello10
," '" Wo
@@ -58,7 +58,7 @@ function foo(...args: any[]) {
console.log(foo`Another string, must be excluded`);
-// First occurence
+// First occurrence
console.log(i18n`This message appears twice`);
-// Second occurence
+// Second occurrence
console.log(i18n`This message appears twice`);
diff --git a/packages/taler-util/src/backupTypes.ts
b/packages/taler-util/src/backupTypes.ts
index b31b8e58..fc6aaaad 100644
--- a/packages/taler-util/src/backupTypes.ts
+++ b/packages/taler-util/src/backupTypes.ts
@@ -975,7 +975,7 @@ export interface BackupReserve {
/**
* Wire information (as payto URI) for the bank account that
- * transfered funds for this reserve.
+ * transferred funds for this reserve.
*/
sender_wire?: string;
diff --git a/packages/taler-util/src/talerTypes.ts
b/packages/taler-util/src/talerTypes.ts
index 1019ce47..bc04fc2f 100644
--- a/packages/taler-util/src/talerTypes.ts
+++ b/packages/taler-util/src/talerTypes.ts
@@ -264,7 +264,7 @@ export interface AuditorHandle {
url: string;
}
-// Delivery location, losely modeled as a subset of
+// Delivery location, loosely modeled as a subset of
// ISO20022's PostalAddress25.
export interface Location {
// Nation with its own government.
@@ -676,7 +676,7 @@ export class ExchangeKeysJson {
}
/**
- * Wire fees as anounced by the exchange.
+ * Wire fees as announced by the exchange.
*/
export class WireFeesJson {
/**
diff --git a/packages/taler-wallet-cli/src/clk.ts
b/packages/taler-wallet-cli/src/clk.ts
index a905464b..ca6dcc1a 100644
--- a/packages/taler-wallet-cli/src/clk.ts
+++ b/packages/taler-wallet-cli/src/clk.ts
@@ -478,12 +478,12 @@ export class CommandGroup<GN extends keyof any, TG> {
try {
r = this.myAction(parsedArgs);
} catch (e) {
- console.error(`An error occured while running ${currentName}`);
+ console.error(`An error occurred while running ${currentName}`);
console.error(e);
process.exit(1);
}
Promise.resolve(r).catch((e) => {
- console.error(`An error occured while running ${currentName}`);
+ console.error(`An error occurred while running ${currentName}`);
console.error(e);
process.exit(1);
});
diff --git a/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
b/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
index 60549154..474482ec 100644
--- a/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
@@ -155,7 +155,7 @@ export class FaultProxy {
return;
}
if (faultRespContext.responseBody) {
- // We must accomodate for potentially changed content length
+ // We must accommodate for potentially changed content length
faultRespContext.responseHeaders[
"content-length"
] = `${faultRespContext.responseBody.byteLength}`;
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts
b/packages/taler-wallet-cli/src/integrationtests/harness.ts
index 9c7aa285..b6ea0269 100644
--- a/packages/taler-wallet-cli/src/integrationtests/harness.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts
@@ -130,7 +130,7 @@ export async function sh(
command: string,
env: { [index: string]: string | undefined } = process.env,
): Promise<string> {
- console.log("runing command", command);
+ console.log("running command", command);
return new Promise((resolve, reject) => {
const stdoutChunks: Buffer[] = [];
const proc = spawn(command, {
@@ -188,7 +188,7 @@ export async function runCommand(
args: string[],
env: { [index: string]: string | undefined } = process.env,
): Promise<string> {
- console.log("runing command", shellescape([command, ...args]));
+ console.log("running command", shellescape([command, ...args]));
return new Promise((resolve, reject) => {
const stdoutChunks: Buffer[] = [];
const proc = spawn(command, args, {
@@ -882,7 +882,7 @@ export class ExchangeService implements
ExchangeServiceInterface {
"${TALER_DATA_HOME}/exchange/live-keys/",
);
config.setString(
- "exchage",
+ "exchange",
"revocation_dir",
"${TALER_DATA_HOME}/exchange/revocations",
);
@@ -1589,7 +1589,7 @@ export async function runTestWithState(
const handleSignal = (s: string) => {
console.warn(
- `**** received fatal proces event, terminating test ${testName}`,
+ `**** received fatal process event, terminating test ${testName}`,
);
gc.shutdownSync();
process.exit(1);
diff --git a/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
b/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
index 9d452935..a93a0ed2 100644
--- a/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
@@ -211,7 +211,7 @@ export interface TransactionWireTransfer {
// execution time of the wire transfer
execution_time: Timestamp;
- // Total amount that has been wire transfered
+ // Total amount that has been wire transferred
// to the merchant
amount: AmountString;
diff --git a/packages/taler-wallet-cli/src/integrationtests/sync.ts
b/packages/taler-wallet-cli/src/integrationtests/sync.ts
index e0f9e22c..695f9a47 100644
--- a/packages/taler-wallet-cli/src/integrationtests/sync.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/sync.ts
@@ -43,7 +43,7 @@ export interface SyncConfig {
httpPort: number;
/**
- * Database connection string (ony postgres is supported).
+ * Database connection string (only postgres is supported).
*/
database: string;
diff --git a/packages/taler-wallet-core/src/db.ts
b/packages/taler-wallet-core/src/db.ts
index 640ff24a..eb0de564 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -264,7 +264,7 @@ export interface ReserveRecord {
/**
* Wire information (as payto URI) for the bank account that
- * transfered funds for this reserve.
+ * transferred funds for this reserve.
*/
senderWire?: string;
@@ -1528,7 +1528,7 @@ export interface RecoupGroupRecord {
retryInfo: RetryInfo;
/**
- * Last error that occured, if any.
+ * Last error that occurred, if any.
*/
lastError: TalerErrorDetails | undefined;
}
@@ -1598,7 +1598,7 @@ export interface BackupProviderRecord {
retryInfo: RetryInfo;
/**
- * Last error that occured, if any.
+ * Last error that occurred, if any.
*/
lastError: TalerErrorDetails | undefined;
}
diff --git a/packages/taler-wallet-core/src/operations/errors.ts
b/packages/taler-wallet-core/src/operations/errors.ts
index 61e8c575..d788405f 100644
--- a/packages/taler-wallet-core/src/operations/errors.ts
+++ b/packages/taler-wallet-core/src/operations/errors.ts
@@ -49,7 +49,7 @@ export class OperationFailedAndReportedError extends Error {
}
/**
- * This exception is thrown when an error occured and the caller is
+ * This exception is thrown when an error occurred and the caller is
* responsible for recording the failure in the database.
*/
export class OperationFailedError extends Error {
diff --git a/packages/taler-wallet-core/src/operations/pay.ts
b/packages/taler-wallet-core/src/operations/pay.ts
index 12cefdc8..2e8228e6 100644
--- a/packages/taler-wallet-core/src/operations/pay.ts
+++ b/packages/taler-wallet-core/src/operations/pay.ts
@@ -1218,7 +1218,7 @@ export async function checkPaymentByProposalId(
proposalId = proposal.proposalId;
- // First check if we already payed for it.
+ // First check if we already paid for it.
const purchase = await ws.db.get(Stores.purchases, proposalId);
if (!purchase) {
diff --git a/packages/taler-wallet-core/src/operations/reserves.ts
b/packages/taler-wallet-core/src/operations/reserves.ts
index 9467287a..984ce5a6 100644
--- a/packages/taler-wallet-core/src/operations/reserves.ts
+++ b/packages/taler-wallet-core/src/operations/reserves.ts
@@ -261,7 +261,7 @@ export async function forceQueryReserve(
}
/**
- * First fetch information requred to withdraw from the reserve,
+ * First fetch information required to withdraw from the reserve,
* then deplete the reserve, withdrawing coins until it is empty.
*
* The returned promise resolves once the reserve is set to the
@@ -467,7 +467,7 @@ async function incrementReserveRetry(
/**
* Update the information about a reserve that is stored in the wallet
- * by quering the reserve's exchange.
+ * by querying the reserve's exchange.
*
* If the reserve have funds that are not allocated in a withdrawal group yet
* and are big enough to withdraw with available denominations,
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts
b/packages/taler-wallet-core/src/operations/transactions.ts
index 94925da1..8ee02c05 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -72,7 +72,7 @@ function shouldSkipSearch(
}
/**
- * Retrive the full event history for this wallet.
+ * Retrieve the full event history for this wallet.
*/
export async function getTransactions(
ws: InternalWalletState,
diff --git a/packages/taler-wallet-core/src/pending-types.ts
b/packages/taler-wallet-core/src/pending-types.ts
index cefaa23e..c16f729b 100644
--- a/packages/taler-wallet-core/src/pending-types.ts
+++ b/packages/taler-wallet-core/src/pending-types.ts
@@ -16,7 +16,7 @@
/**
* Type and schema definitions for pending operations in the wallet.
- *
+ *
* These are only used internally, and are not part of the public
* interface to the wallet.
*/
@@ -87,7 +87,7 @@ export interface PendingExchangeCheckRefreshOperation {
}
/**
- * Some interal error happened in the wallet. This pending operation
+ * Some internal error happened in the wallet. This pending operation
* should *only* be reported for problems in the wallet, not when
* a problem with a merchant/exchange/etc. occurs.
*/
diff --git a/packages/taler-wallet-core/src/util/query.ts
b/packages/taler-wallet-core/src/util/query.ts
index d0b8c2ef..4c37a725 100644
--- a/packages/taler-wallet-core/src/util/query.ts
+++ b/packages/taler-wallet-core/src/util/query.ts
@@ -397,7 +397,7 @@ function runWithTransaction<T, StoreTypes extends
Store<string, {}>>(
if (tx.error) {
logger.error("Transaction aborted with error:", tx.error);
} else {
- logger.error("Trasaction aborted (no error)");
+ logger.error("Transaction aborted (no error)");
}
reject(TransactionAbort);
};
diff --git a/packages/taler-wallet-core/src/wallet.ts
b/packages/taler-wallet-core/src/wallet.ts
index 3e34efe9..bf277659 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -522,7 +522,7 @@ export class Wallet {
}
/**
- * First fetch information requred to withdraw from the reserve,
+ * First fetch information required to withdraw from the reserve,
* then deplete the reserve, withdrawing coins until it is empty.
*
* The returned promise resolves once the reserve is set to the
diff --git a/packages/taler-wallet-webextension/src/wxApi.ts
b/packages/taler-wallet-webextension/src/wxApi.ts
index c14047cf..cbebfb21 100644
--- a/packages/taler-wallet-webextension/src/wxApi.ts
+++ b/packages/taler-wallet-webextension/src/wxApi.ts
@@ -48,7 +48,7 @@ export interface ExtendedPermissionsResponse {
export interface UpgradeResponse {
/**
* Is a reset required because of a new DB version
- * that can't be atomatically upgraded?
+ * that can't be automatically upgraded?
*/
dbResetRequired: boolean;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix spelling issues,
gnunet <=