From c9310d14bdddd74981f707752c4b230dec937d68 Mon Sep 17 00:00:00 2001 From: VegeBun-csj Date: Sun, 11 Aug 2024 19:05:40 +0800 Subject: [PATCH] Fix some typo --- src/constants/localization.ts | 12 ++++++------ src/constants/wallets.ts | 4 ++-- .../ConfirmedStep/MigrateFormConfirmedStep.tsx | 2 +- .../EditingStep/MigrateFormEditingStep.tsx | 8 ++++---- .../PreviewStep/MigrateFormPreviewStep.tsx | 4 ++-- src/views/MigrateForm/TokensBeforeAfterDiagram.tsx | 2 +- src/views/MigratePanel.tsx | 2 +- src/views/PendingMigrationsTable.tsx | 6 +++--- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/constants/localization.ts b/src/constants/localization.ts index d725eb7..c5f2204 100644 --- a/src/constants/localization.ts +++ b/src/constants/localization.ts @@ -25,18 +25,18 @@ export enum SupportedLocales { } export const DORA_KEYS = { - "DORA_CHAIN_SETTLEMENT": 'Dora vota-ash Chain settlement', - "DORA_EXPLORER" : 'Dora vota explorer', - "VOTA_CHAIN" : 'vota-ash Chain', + "DORA_CHAIN_SETTLEMENT": 'Dora Vota settlement', + "DORA_EXPLORER" : 'Dora Vota Explorer', + "VOTA_CHAIN" : 'Dora Vota', "ETHEREUM": 'Ethereum' } export const DORA_LONG_SENTENCE = { - "CONFIRM_MIGRATION_DISCLAIMER_1": "I understand it may take 24~48 hours until my tokens are available on the Dora vota-ash Chain.", + "CONFIRM_MIGRATION_DISCLAIMER_1": "I understand it may take 24~48 hours until my tokens are available on the Dora Vota.", "CONFIRM_MIGRATION_DISCLAIMER_2": "I understand that my ethDORA tokens will be sent to a black hole address for permanent destruction in the Bridge Smart Contract and irrecoverable.", - "PENDING_MIGRATIONS_DESCRIPTION_I": 'This table lists all ongoing DORA token migrations from Ethereum to the Dora vota-ash Chain. It refreshes periodically or upon a manual page reload.', + "PENDING_MIGRATIONS_DESCRIPTION_I": 'This table lists all ongoing DORA token migrations from Ethereum to the Dora Vota. It refreshes periodically or upon a manual page reload.', "PENDING_MIGRATIONS_DESCRIPTION_II": 'Once a pending migration is listed, the migration will be completed within ~48 hours. Once the migration has been settled, it will be removed from this table during the next automatic update or when the page is manually refreshed.', - "PENDING_MIGRATIONS_DESCRIPTION_III": 'However, you can see all your migration records (including those that are pending or have been settled) in the "Mine" option. Please note that if the migration is pending, the Transaction Hash will display as 0x0000...00000. If your migration is settled, it will display the link of transaction hash of the successful migration on the Dora vota-ash network.', + "PENDING_MIGRATIONS_DESCRIPTION_III": 'However, you can see all your migration records (including those that are pending or have been settled) in the "Mine" option. Please note that if the migration is pending, the Transaction Hash will display as 0x0000...00000. If your migration is settled, it will display the link of transaction hash of the successful migration on the Dora Vota.', "MIGRATION_FAQ_DYDX_CHAIN_PORTAL": "What is the dYdX Chain Portal?", "MIGRATION_FAQ_DYDX_CHAIN_PORTAL_ANSWER": "The dYdX Community elected to migrate Ethereum-based DYDX to dYdX Chain (vote {HERE}). This portal assists Ethereum-based DYDX holders to engage with the Ethereum smart contract to migrate their DYDX tokens from Ethereum to dYdX Chain.", "MIGRATION_FAQ_GAS_FEES_ANSWER": "Yes, holders who engage with the portal will have to pay gas costs on Ethereum. Users will not have to pay gas costs on dYdX Chain.", diff --git a/src/constants/wallets.ts b/src/constants/wallets.ts index c0183a0..37a18f9 100644 --- a/src/constants/wallets.ts +++ b/src/constants/wallets.ts @@ -167,13 +167,13 @@ export const COSMOS_DERIVATION_PATH = "m/44'/118'/0'/0/0"; export const SIGN_TYPED_DATA = { primaryType: 'dYdx', domain: { - name: 'Dora Vota-ash Chain', + name: 'Dora Vota', }, types: { dYdx: [{ name: 'action', type: 'string' }], }, message: { - action: 'Dora Token Migration Onboarding', + action: 'DORA Token Migration Onboarding', }, } as const; diff --git a/src/views/MigrateForm/ConfirmedStep/MigrateFormConfirmedStep.tsx b/src/views/MigrateForm/ConfirmedStep/MigrateFormConfirmedStep.tsx index dadc52b..1e2abbd 100644 --- a/src/views/MigrateForm/ConfirmedStep/MigrateFormConfirmedStep.tsx +++ b/src/views/MigrateForm/ConfirmedStep/MigrateFormConfirmedStep.tsx @@ -131,7 +131,7 @@ export const MigrateFormConfirmedStep = () => { }, { key: 'DYDX', - label: 'DORA on vota-ash Chain', + label: 'DORA on Dora Vota', value: ( { /> - Send to your vota-ash chain Address + Send to your Dora Vota Address setDestinationAddress(e.target?.value)} label={ - vota-ash chain Address + Dora Vota Address {isDestinationAddressValid && } } type={InputType.Text} value={destinationAddress} - placeholder={'Enter vota-ash chain address'} + placeholder={'Enter Dora Vota address'} slotRight={renderFormInputButton({ label: "Paste", isInputEmpty: !destinationAddress, @@ -166,7 +166,7 @@ export const MigrateFormEditingStep = () => { !isDestinationAddressValid && { attached: true, type: AlertType.Error, - message: 'Please enter a valid DORA vota-ash chain address.', + message: 'Please enter a valid DORA Vota address.', } } /> diff --git a/src/views/MigrateForm/PreviewStep/MigrateFormPreviewStep.tsx b/src/views/MigrateForm/PreviewStep/MigrateFormPreviewStep.tsx index 3a1b77d..e47a924 100644 --- a/src/views/MigrateForm/PreviewStep/MigrateFormPreviewStep.tsx +++ b/src/views/MigrateForm/PreviewStep/MigrateFormPreviewStep.tsx @@ -64,8 +64,8 @@ export const MigrateFormPreviewStep = () => { }, { key: 'dydx_settlement', - label: 'Dora vota-ash Chain settlement', - tooltip: 'dydx-chain-settlement', + label: 'Dora Vota settlement', + // tooltip: 'dydx-chain-settlement', value: ( ~40 hours diff --git a/src/views/MigrateForm/TokensBeforeAfterDiagram.tsx b/src/views/MigrateForm/TokensBeforeAfterDiagram.tsx index dfaaa45..037a77a 100644 --- a/src/views/MigrateForm/TokensBeforeAfterDiagram.tsx +++ b/src/views/MigrateForm/TokensBeforeAfterDiagram.tsx @@ -76,7 +76,7 @@ export const TokensBeforeAfterDiagram = () => { /> DORA - on vota-ash Chain + on Dora Vota diff --git a/src/views/MigratePanel.tsx b/src/views/MigratePanel.tsx index 452a5ac..4987e79 100644 --- a/src/views/MigratePanel.tsx +++ b/src/views/MigratePanel.tsx @@ -45,7 +45,7 @@ export const MigratePanel = () => { title: "Confirm migration", subtitle: ( <> - To DORA vota-ash Chain + To Dora Vota ), content: , diff --git a/src/views/PendingMigrationsTable.tsx b/src/views/PendingMigrationsTable.tsx index 86843e4..122abaa 100644 --- a/src/views/PendingMigrationsTable.tsx +++ b/src/views/PendingMigrationsTable.tsx @@ -50,7 +50,7 @@ const getPendingMigrationsTableColumnDef = ({ [PendingMigrationsTableColumnKey.Address]: { columnKey: PendingMigrationsTableColumnKey.Address, getCellValue: (row) => row.address, - label: 'Dora vota-ash Chain Address', + label: 'Dora Vota Address', renderCell: ({ address }) => ( {truncateAddress(address)} @@ -123,7 +123,7 @@ export const PendingMigrationsTable = ({ } inputID="search"> ) => { @@ -173,7 +173,7 @@ export const PendingMigrationsTable = ({ slotEmpty={ {filter === PendingMigrationFilter.Mine ? ( - 'There are no pending migrations with your Dora vota-ash Chain address currently.' + 'There are no pending migrations with your Dora Vota address currently.' ) : addressSearchFilter !== '' ? ( <> No pending migrations found for