Skip to content

Commit

Permalink
Fix some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
VegeBun-csj committed Aug 11, 2024
1 parent 5c7d4c2 commit c9310d1
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions src/constants/localization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
4 changes: 2 additions & 2 deletions src/constants/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const MigrateFormConfirmedStep = () => {
},
{
key: 'DYDX',
label: 'DORA on vota-ash Chain',
label: 'DORA on Dora Vota',
value: (
<Styled.Output
type={OutputType.Asset}
Expand Down
8 changes: 4 additions & 4 deletions src/views/MigrateForm/EditingStep/MigrateFormEditingStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,20 +141,20 @@ export const MigrateFormEditingStep = () => {
/>
</WithDetailsReceipt>

<Styled.Label>Send to your vota-ash chain Address</Styled.Label>
<Styled.Label>Send to your Dora Vota Address</Styled.Label>
<Styled.AdressInputContainer>
<Styled.InnerFormInput
id="destination"
onInput={(e: SyntheticInputEvent) => setDestinationAddress(e.target?.value)}
label={
<Styled.DestinationInputLabel>
vota-ash chain Address
Dora Vota Address
{isDestinationAddressValid && <Icon iconName={IconName.Check} />}
</Styled.DestinationInputLabel>
}
type={InputType.Text}
value={destinationAddress}
placeholder={'Enter vota-ash chain address'}
placeholder={'Enter Dora Vota address'}
slotRight={renderFormInputButton({
label: "Paste",
isInputEmpty: !destinationAddress,
Expand All @@ -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.',
}
}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/views/MigrateForm/PreviewStep/MigrateFormPreviewStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: (
<Tag>
~40 hours
Expand Down
2 changes: 1 addition & 1 deletion src/views/MigrateForm/TokensBeforeAfterDiagram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const TokensBeforeAfterDiagram = () => {
/>
<Tag>DORA</Tag>
<span>
on vota-ash Chain
on Dora Vota
</span>
</Styled.TokenColumn>
</Styled.ValueContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/views/MigratePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const MigratePanel = () => {
title: "Confirm migration",
subtitle: (
<>
To <strong>DORA vota-ash Chain</strong>
To <strong>Dora Vota</strong>
</>
),
content: <MigrateFormPreviewStep />,
Expand Down
6 changes: 3 additions & 3 deletions src/views/PendingMigrationsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => (
<CopyButton buttonType="text" value={address}>
{truncateAddress(address)}
Expand Down Expand Up @@ -123,7 +123,7 @@ export const PendingMigrationsTable = ({
<Styled.InputContainer label={<Icon iconName={IconName.Search} />} inputID="search">
<Input
id="search"
placeholder="Search vota-ash Chain Address"
placeholder="Search Dora Vota Address"
type={InputType.Search}
value={addressSearchFilter}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
Expand Down Expand Up @@ -173,7 +173,7 @@ export const PendingMigrationsTable = ({
slotEmpty={
<Styled.EmptyText>
{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
Expand Down

0 comments on commit c9310d1

Please sign in to comment.