aboutsummaryrefslogtreecommitdiff
path: root/packages/bank-ui
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-05-07 12:46:31 -0300
committerSebastian <sebasjm@gmail.com>2024-05-07 12:46:31 -0300
commitaaf4ffc9411d394897c72f39c132ee24cee28013 (patch)
tree97d751464b38f7e062182ac791ce7c20ab627ccf /packages/bank-ui
parent6fd830ad57fe12ce6acac453f523dcf00f71a5bb (diff)
downloadwallet-core-aaf4ffc9411d394897c72f39c132ee24cee28013.tar.xz
fix codespell
Diffstat (limited to 'packages/bank-ui')
-rw-r--r--packages/bank-ui/src/pages/PaytoWireTransferForm.tsx72
-rw-r--r--packages/bank-ui/src/pages/RegistrationPage.tsx2
-rw-r--r--packages/bank-ui/src/pages/account/ShowAccountDetails.tsx2
-rw-r--r--packages/bank-ui/src/pages/admin/CreateNewAccount.tsx2
4 files changed, 3 insertions, 75 deletions
diff --git a/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx
index dfea7166b..3bf891504 100644
--- a/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx
+++ b/packages/bank-ui/src/pages/PaytoWireTransferForm.tsx
@@ -290,78 +290,6 @@ export function PaytoWireTransferForm({
return (
<div class="grid grid-cols-1 gap-x-8 gap-y-8 pt-6 my-4 md:grid-cols-3 bg-gray-100 px-4 pb-4 rounded-lg">
- {/* <div class="">
- <div class="px-2 grid grid-cols-1 gap-y-4 sm:gap-x-4">
- <label
- class={
- "relative flex cursor-pointer rounded-lg border bg-white p-4 shadow-sm focus:outline-none" +
- (!isRawPayto
- ? "border-indigo-600 ring-2 ring-indigo-600"
- : "border-gray-300")
- }
- >
- <input
- type="radio"
- name="project-type"
- value="Newsletter"
- class="sr-only"
- aria-labelledby="project-type-0-label"
- aria-describedby="project-type-0-description-0 project-type-0-description-1"
- onChange={() => {
- setIsRawPayto(false);
- }}
- />
- <span class="flex flex-1">
- <span class="flex flex-col">
- <span class="block text-sm font-medium text-gray-900">
- <i18n.Translate>Using a form</i18n.Translate>
- </span>
- </span>
- </span>
- </label>
-
- {sendingToFixedAccount ? undefined : (
- <label
- class={
- "relative flex cursor-pointer rounded-lg border bg-white p-4 shadow-sm focus:outline-none" +
- (isRawPayto
- ? "border-indigo-600 ring-2 ring-indigo-600"
- : "border-gray-300")
- }
- >
- <input
- type="radio"
- name="project-type"
- value="Existing Customers"
- class="sr-only"
- aria-labelledby="project-type-1-label"
- aria-describedby="project-type-1-description-0 project-type-1-description-1"
- onChange={() => {
-
- setIsRawPayto(true);
- }}
- />
- <span class="flex flex-1">
- <span class="flex flex-col">
- <span class="block text-sm font-medium text-gray-900">
- <i18n.Translate>Import payto:// URI</i18n.Translate>
- </span>
- </span>
- </span>
- </label>
- )}
- {routeCashout ? (
- <a
- name="do cashout"
- href={routeCashout.url({})}
- class="bg-white p-4 rounded-lg text-sm font-semibold leading-6 text-gray-900"
- >
- <i18n.Translate>Cashout</i18n.Translate>
- </a>
- ) : undefined}
- </div>
- </div> */}
-
<div>
<fieldset class="px-2 grid grid-cols-1 gap-y-4 sm:gap-x-4">
<legend class="sr-only">
diff --git a/packages/bank-ui/src/pages/RegistrationPage.tsx b/packages/bank-ui/src/pages/RegistrationPage.tsx
index 897a02efa..61939c3d6 100644
--- a/packages/bank-ui/src/pages/RegistrationPage.tsx
+++ b/packages/bank-ui/src/pages/RegistrationPage.tsx
@@ -141,7 +141,7 @@ function RegistrationForm({
case TalerErrorCode.BANK_NON_ADMIN_PATCH_DEBT_LIMIT:
return i18n.str`Only admin is allow to set debt limit.`;
case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT:
- return i18n.str`Only the administrator can change the minimun cashout limit.`;
+ return i18n.str`Only the administrator can change the minimum cashout limit.`;
case TalerErrorCode.BANK_NON_ADMIN_SET_TAN_CHANNEL:
return i18n.str`Only admin can create accounts with second factor authentication.`;
}
diff --git a/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx b/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx
index 7118da704..6db0e5512 100644
--- a/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx
+++ b/packages/bank-ui/src/pages/account/ShowAccountDetails.tsx
@@ -186,7 +186,7 @@ export function ShowAccountDetails({
case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT: {
return notify({
type: "error",
- title: i18n.str`Only the administrator can change the minimun cashout limit.`,
+ title: i18n.str`Only the administrator can change the minimum cashout limit.`,
description: resp.detail.hint as TranslatedString,
debug: resp.detail,
when: AbsoluteTime.now(),
diff --git a/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx b/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx
index 3898088ed..68f39fb9f 100644
--- a/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx
+++ b/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx
@@ -149,7 +149,7 @@ export function CreateNewAccount({
case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT: {
return notify({
type: "error",
- title: i18n.str`Only the administrator can change the minimun cashout limit.`,
+ title: i18n.str`Only the administrator can change the minimum cashout limit.`,
description: resp.detail.hint as TranslatedString,
debug: resp.detail,
when: AbsoluteTime.now(),