diff --git a/scripts/post-build.js b/scripts/post-build.js index 3d8bc531..4c332352 100644 --- a/scripts/post-build.js +++ b/scripts/post-build.js @@ -73,7 +73,7 @@ async function writeManifestFile(targetPath, fileContent) { (async () => { try { - const id = "1001"; + const id = "1003"; const chromeFileName = `${pck.name}-chrome-edge-${pck.version}-${id}`; const firefoxFileName = `${pck.name}-firefox-${pck.version}-${id}`; diff --git a/src/i18n/en.json b/src/i18n/en.json index 1fa7c7b8..1a707b05 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -296,5 +296,5 @@ "tokens": "tokens", "noTxHistory": "No transaction history", "updateAccount": "Account dismatch, please switch account and try again.", - "mneTip":"I have {{count}} mnemonic phrases." + "mneTip":"I have {{count}} mnemonic phrases" } diff --git a/src/i18n/ru.json b/src/i18n/ru.json index 019df742..cc7e0fcc 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -296,5 +296,5 @@ "balance": "Баланс", "updateTokenInfo": "Обновить информацию о токенах?", "noTxHistory": "История транзакций отсутствует", - "mneTip":"У меня есть {{count}} мнемонических фраз." + "mneTip":"У меня есть {{count}} мнемонических фраз" } \ No newline at end of file diff --git a/src/i18n/tr.json b/src/i18n/tr.json index b247c82a..9f175f49 100644 --- a/src/i18n/tr.json +++ b/src/i18n/tr.json @@ -296,5 +296,5 @@ "updateTokenInfo": "Jeton bilgilerinizi güncellemek ister misiniz?", "tokens": "TOKENS", "noTxHistory": "İşlem geçmişi yok", - "mneTip":"{{count}} tane hafıza kelimesine sahibim." + "mneTip":"{{count}} tane hafıza kelimesine sahibim" } \ No newline at end of file diff --git a/src/i18n/uk.json b/src/i18n/uk.json index 705d1128..df6b6ca1 100644 --- a/src/i18n/uk.json +++ b/src/i18n/uk.json @@ -296,5 +296,5 @@ "updateTokenInfo": "Оновити інформацію про токен?", "noTxHistory": "Історія транзакцій відсутня", "tokens": "TOKENS", - "mneTip":"Я маю {{count}} мнемонічних фраз." + "mneTip":"Я маю {{count}} мнемонічних фраз" } \ No newline at end of file diff --git a/src/i18n/zh_CN.json b/src/i18n/zh_CN.json index f53f1681..c8a7529b 100644 --- a/src/i18n/zh_CN.json +++ b/src/i18n/zh_CN.json @@ -279,8 +279,8 @@ "available": "可用", "contributeLanguage": "贡献语言", "pinExtension": "固定 Auro Wallet", - "clickBrowser": "点击在浏览器中", - "clickButton": "然后点击按钮", + "clickBrowser": "在浏览器中点击", + "clickButton": "然后点击按钮", "addAccount": "添加账户", "createAccount": "创建账户", "hardwareWallet": "硬件钱包", @@ -296,5 +296,5 @@ "updateTokenInfo": "更新您的代币信息?", "noTxHistory": "没有交易历史", "tokens": "TOKENS", - "mneTip":"我有{{count}}个助记词。" + "mneTip":"我有{{count}}个助记词" } \ No newline at end of file diff --git a/src/popup/pages/CreateProcessPage/RestoreMneView.js b/src/popup/pages/CreateProcessPage/RestoreMneView.js index 7e5221c3..ae166b12 100644 --- a/src/popup/pages/CreateProcessPage/RestoreMneView.js +++ b/src/popup/pages/CreateProcessPage/RestoreMneView.js @@ -28,6 +28,9 @@ const StyledProcessTitle = styled.div` font-size: 24px; font-weight: 700; margin-bottom: 40px; + display: flex; + align-items: center; + justify-content: space-between; `; const StyledBottomContainer = styled.div` @@ -61,14 +64,13 @@ const StyledBottomMneContainer = styled.div` flex-wrap: wrap; gap: 12px 20px; `; -const StyledRowSwitch = styled.div` +const StyledRowSwitch = styled.span` color: #594af1; font-size: 14px; font-weight: 500; cursor: pointer; - display: flex; - align-items: center; - justify-content: flex-end; + position: absolute; + right: 40px; `; export const RestoreMneView = ({ @@ -102,7 +104,7 @@ export const RestoreMneView = ({ let nextCount = mneCount == 12 ? 24 : 12; setMenCount(nextCount); setMneInputList(Array(nextCount).fill("")); - + setSimilarWordList([]); if (onSwitchMneCount) { onSwitchMneCount(nextCount == 24); } @@ -196,11 +198,13 @@ export const RestoreMneView = ({ - {i18n.t("restoreWallet")} + + {i18n.t("restoreWallet")} + + {i18n.t("mneTip", { count: mneCount == 12 ? 24 : 12 })} + + - - {i18n.t("mneTip", { count: mneCount == 12 ? 24 : 12 })} - {i18n.t("inputSeed")} {mneInputList.map((mne, index) => {