diff --git a/src/frontend/src/lib/components/factory/create/FactoryCredits.svelte b/src/frontend/src/lib/components/factory/create/FactoryCredits.svelte index 3b0b94549..06b9e38a8 100644 --- a/src/frontend/src/lib/components/factory/create/FactoryCredits.svelte +++ b/src/frontend/src/lib/components/factory/create/FactoryCredits.svelte @@ -2,7 +2,7 @@ import { fromNullable, isNullish } from '@dfinity/utils'; import type { Snippet } from 'svelte'; import FactoryCreditsWithFee from '$lib/components/factory/create/FactoryCreditsWithFee.svelte'; - import GetICPInfo from '$lib/components/wallet/GetICPInfo.svelte'; + import FactoryWalletInfo from '$lib/components/factory/create/FactoryWalletInfo.svelte'; import type { SelectedWallet } from '$lib/schemas/wallet.schema'; import type { JunoModalCreateSegmentDetail, JunoModalDetail } from '$lib/types/modal'; import type { Option } from '$lib/types/utils'; @@ -37,7 +37,7 @@ {#if isNullish(fee)} - + {:else} import type { Snippet } from 'svelte'; + import FactoryWalletInfo from '$lib/components/factory/create/FactoryWalletInfo.svelte'; import Html from '$lib/components/ui/Html.svelte'; - import GetICPInfo from '$lib/components/wallet/GetICPInfo.svelte'; import { E8S_PER_ICP } from '$lib/constants/app.constants'; import { CYCLES, ICP } from '$lib/constants/token.constants'; import { creditsOrZero } from '$lib/derived/console/credits.derived'; @@ -89,7 +89,7 @@ {/if} {#if insufficientFunds} - + {:else} {@render children()} {/if} diff --git a/src/frontend/src/lib/components/wallet/GetICPInfo.svelte b/src/frontend/src/lib/components/factory/create/FactoryWalletInfo.svelte similarity index 85% rename from src/frontend/src/lib/components/wallet/GetICPInfo.svelte rename to src/frontend/src/lib/components/factory/create/FactoryWalletInfo.svelte index 6b3b62b5f..12429cf9e 100644 --- a/src/frontend/src/lib/components/wallet/GetICPInfo.svelte +++ b/src/frontend/src/lib/components/factory/create/FactoryWalletInfo.svelte @@ -12,7 +12,7 @@

- {$i18n.wallet.transfer_icp_info} + {$i18n.wallet.transfer_info} {$i18n.wallet.documentation}. @@ -21,9 +21,3 @@ - - diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index 2e6fcf60a..1b8229a3e 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -357,7 +357,7 @@ "account_identifier": "Account identifier", "balance": "Balance", "credits": "Credits", - "transfer_icp_info": "Learn how to provision your wallet in the", + "transfer_info": "Learn how to provision your wallet in the", "documentation": "documentation", "information": "Learn about the wallet in the documentation", "tx_id": "ID", diff --git a/src/frontend/src/lib/i18n/zh-cn.json b/src/frontend/src/lib/i18n/zh-cn.json index 14c343912..337e059a1 100644 --- a/src/frontend/src/lib/i18n/zh-cn.json +++ b/src/frontend/src/lib/i18n/zh-cn.json @@ -357,7 +357,7 @@ "account_identifier": "账户", "balance": "余额", "credits": "积分", - "transfer_icp_info": "了解如何为您的钱包充值", + "transfer_info": "了解如何为您的钱包充值", "documentation": "文档", "information": "在文档中了解更多钱包信息", "tx_id": "交易ID", diff --git a/src/frontend/src/lib/types/i18n.d.ts b/src/frontend/src/lib/types/i18n.d.ts index 42da6ebd7..ebfb0fa65 100644 --- a/src/frontend/src/lib/types/i18n.d.ts +++ b/src/frontend/src/lib/types/i18n.d.ts @@ -367,7 +367,7 @@ interface I18nWallet { account_identifier: string; balance: string; credits: string; - transfer_icp_info: string; + transfer_info: string; documentation: string; information: string; tx_id: string;