Skip to content

Commit acb7728

Browse files
committed
fix: spell fix
1 parent b0c2eb2 commit acb7728

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

packages/neuron-ui/src/components/ImportHardware/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FailureFromController } from 'services/remote/remoteApiWrapper'
33

44
export enum ImportStep {
55
DetectDevice = '/detect-device',
6-
Comfirming = '/confirming',
6+
Confirming = '/confirming',
77
Error = '/error',
88
Success = '/success',
99
NameWallet = '/name-wallet',

packages/neuron-ui/src/components/ImportHardware/detect-device.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const DetectDevice = ({ dispatch, model }: { dispatch: React.Dispatch<ActionType
9898
})
9999

100100
const onNext = useCallback(() => {
101-
dispatch({ step: ImportStep.Comfirming })
101+
dispatch({ step: ImportStep.Confirming })
102102
}, [dispatch])
103103

104104
const errorMsg = error.startsWith('messages.codes.') ? t(error) : error

packages/neuron-ui/src/components/ImportHardware/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect, useReducer } from 'react'
22
import { useDialogWrapper } from 'utils'
3-
import Comfirming from './confirming'
3+
import Confirming from './confirming'
44
import ImportError from './import-error'
55
import SelectModel from './select-model'
66
import DetectDevice from './detect-device'
@@ -33,7 +33,7 @@ const Content = () => {
3333
switch (importHardwareStates.step) {
3434
case ImportStep.ImportHardware:
3535
case ImportStep.DetectDevice:
36-
case ImportStep.Comfirming:
36+
case ImportStep.Confirming:
3737
case ImportStep.Error:
3838
case ImportStep.Success:
3939
return (
@@ -43,7 +43,7 @@ const Content = () => {
4343
{ImportStep.DetectDevice === importHardwareStates.step && (
4444
<DetectDevice dispatch={dispatch} model={importHardwareStates.model!} />
4545
)}
46-
{ImportStep.Comfirming === importHardwareStates.step && <Comfirming dispatch={dispatch} />}
46+
{ImportStep.Confirming === importHardwareStates.step && <Confirming dispatch={dispatch} />}
4747
{ImportStep.Error === importHardwareStates.step && (
4848
<ImportError dispatch={dispatch} error={importHardwareStates.error} />
4949
)}

packages/neuron-ui/src/components/WalletWizard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ const Mnemonic = ({ state = initState, rootPath = '/wizard/', dispatch }: Wizard
304304
</div>
305305
<div className={styles.commendItem}>
306306
<ErrorIcon />
307-
{t('wizard.do-not-save-scrrenshots')}
307+
{t('wizard.do-not-save-screenshots')}
308308
</div>
309309
</div>
310310
)}

packages/neuron-ui/src/locales/ar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"wallet-suffix": "محفظة {{suffix}}",
189189
"handwritten-recommended": "يوصى بالنسخ اليدوي",
190190
"do-not-copy": "لا تقم بالنسخ",
191-
"do-not-save-scrrenshots": "لا تحفظ لقطات الشاشة",
191+
"do-not-save-screenshots": "لا تحفظ لقطات الشاشة",
192192
"replenish-your-seed": "يرجى استعادة بذرة محفظتك",
193193
"new-name": "استخدم اسمًا غير مستخدم للمحفظة الجديدة",
194194
"complex-password": "يجب أن تتكون كلمة المرور من 8 إلى 50 حرفًا وتحتوي على ثلاث فئات على الأقل من الفئات التالية: حروف كبيرة، حروف صغيرة، أرقام، ورموز خاصة.",

packages/neuron-ui/src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"wallet-suffix": "Wallet {{suffix}}",
189189
"handwritten-recommended": "Handwritten transcription recommended",
190190
"do-not-copy": "Do not copy",
191-
"do-not-save-scrrenshots": "Do not save scrrenshots",
191+
"do-not-save-screenshots": "Do not save screenshots",
192192
"replenish-your-seed": "Please replenish your wallet seed",
193193
"new-name": "Use an unused name for the new wallet",
194194
"complex-password": "The password should be 8 to 50 characters long containing at least three character categories among the following: uppercase letters, lowercase letters, numbers, and special symbols.",

packages/neuron-ui/src/locales/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"wallet-suffix": "Billetera {{suffix}}",
182182
"handwritten-recommended": "Se recomienda transcripción a mano",
183183
"do-not-copy": "No copiar",
184-
"do-not-save-scrrenshots": "No guardar capturas de pantalla",
184+
"do-not-save-screenshots": "No guardar capturas de pantalla",
185185
"replenish-your-seed": "Por favor, repón la semilla de tu billetera",
186186
"new-name": "Usa un nombre no usado previamente para la nueva billetera",
187187
"complex-password": "La contraseña debe tener entre 8 y 50 caracteres y contener al menos tres categorías de caracteres entre las siguientes: letras en mayúscula, letras en minúscula, números y símbolos especiales.",

packages/neuron-ui/src/locales/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"wallet-suffix": "Wallet {{suffix}}",
189189
"handwritten-recommended": "Transcription manuscrite recommandée",
190190
"do-not-copy": "Ne pas copier",
191-
"do-not-save-scrrenshots": "Ne pas sauvegarder de captures d'écran",
191+
"do-not-save-screenshots": "Ne pas sauvegarder de captures d'écran",
192192
"replenish-your-seed": "Veuillez reconstituer la graine de votre portefeuille",
193193
"new-name": "Utilisez un nom inutilisé pour le nouveau Wallet",
194194
"complex-password": "Le mot de passe doit contenir entre 8 et 50 caractères, comprenant au moins trois catégories parmi les suivantes : lettres majuscules, lettres minuscules, chiffres et symboles spéciaux.",

packages/neuron-ui/src/locales/zh-tw.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"wallet-suffix": "錢包 {{suffix}}",
183183
"handwritten-recommended": "推薦手寫抄錄",
184184
"do-not-copy": "不要複製",
185-
"do-not-save-scrrenshots": "不要保存截圖",
185+
"do-not-save-screenshots": "不要保存截圖",
186186
"replenish-your-seed": "請補充您的助記詞",
187187
"new-name": "輸入新的錢包名稱",
188188
"complex-password": "密碼為 8 至 50 字元由大寫字母、小寫字母、數位、特殊符號中至少三種字元組成的字串。",

packages/neuron-ui/src/locales/zh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"wallet-suffix": "钱包 {{suffix}}",
182182
"handwritten-recommended": "推荐手写抄录",
183183
"do-not-copy": "不要复制",
184-
"do-not-save-scrrenshots": "不要保存截图",
184+
"do-not-save-screenshots": "不要保存截图",
185185
"replenish-your-seed": "请补充您的助记词",
186186
"new-name": "输入新的钱包名称",
187187
"complex-password": "密码为 8 至 50 位由大写字母、小写字母、数字、特殊符号中至少三类字符组成的字符串。",

0 commit comments

Comments
 (0)