1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Update "Forgot Password?" copy (#13493)

This commit is contained in:
Niranjana Binoy 2022-02-22 10:45:19 -05:00 committed by GitHub
parent 60aa69a624
commit bf8f331297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
56 changed files with 147 additions and 369 deletions

View File

@ -750,9 +750,6 @@
"restore": {
"message": "እነበረበት መልስ"
},
"restoreAccountWithSeed": {
"message": "መለያዎን በዘር ሐረግ ወደነበረበት ይመልሱ"
},
"revealSeedWords": {
"message": "የዘር ቃላትን ይግለጹ"
},

View File

@ -766,9 +766,6 @@
"restore": {
"message": "استعادة"
},
"restoreAccountWithSeed": {
"message": "قم باستعادة حسابك بواسطة عبارة الأمان"
},
"revealSeedWords": {
"message": "كشف كلمات عبارات الأمان"
},

View File

@ -761,9 +761,6 @@
"restore": {
"message": "Възстановяване"
},
"restoreAccountWithSeed": {
"message": "Възстановете акаунта си с фраза зародиш"
},
"revealSeedWords": {
"message": "Разкрий думите зародиш"
},

View File

@ -765,9 +765,6 @@
"restore": {
"message": "পুনরুদ্ধার করুন"
},
"restoreAccountWithSeed": {
"message": "সীড ফ্রেজ দিয়ে আপনার অ্যাকাউন্ট রিস্টোর করুন"
},
"revealSeedWords": {
"message": "সীড শব্দগুলি প্রকাশ করুন"
},

View File

@ -743,9 +743,6 @@
"restore": {
"message": "Restaura"
},
"restoreAccountWithSeed": {
"message": "Restaura el teu compte amb Frase de Recuperació"
},
"revealSeedWords": {
"message": "Revelar Paraules de Recuperació"
},

View File

@ -746,9 +746,6 @@
"restore": {
"message": "Gendan"
},
"restoreAccountWithSeed": {
"message": "Gendan din konto med Seed-sætning"
},
"revealSeedWords": {
"message": "Vis Seedord"
},

View File

@ -1279,19 +1279,12 @@
"importAccountError": {
"message": "Fehler beim Importieren des Kontos."
},
"importAccountLinkText": {
"message": "mit einer Geheime Wiederherstellungsphrase importieren"
},
"importAccountMsg": {
"message": " Importierte Accounts werden nicht mit der Seed-Wörterfolge deines ursprünglichen MetaMask Accounts verknüpft. Erfahre mehr über importierte Accounts."
},
"importAccountSeedPhrase": {
"message": "Ein Konto mit einem Seed-Schlüssel importieren"
},
"importAccountText": {
"message": "oder $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Geben Sie die Geheime Wiederherstellungsphrase (alias Seed Phrase) ein, die Sie beim Erstellen Ihrer Wallet erhalten haben. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Wiederherstellen"
},
"restoreAccountWithSeed": {
"message": "Ihr Konto mit mnemonischer Phrase wiederherstellen"
},
"restoreWalletPreferences": {
"message": "$1 hat ein Backup Ihrer Daten gefunden. Möchten Sie die Präferenzen Ihrer Wallet wiederherstellen?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Nur das erste Konto auf dieser Wallet wird automatisch geladen. Wenn Sie nach Abschluss dieses Vorgangs weitere Konten hinzufügen möchten, klicken Sie auf das Dropdown-Menü und wählen Sie dann Konto erstellen."
},
"secretPhraseWarning": {
"message": "Wenn Sie eine andere geheime Wiederherstellungsphrase verwenden, werden Ihre aktuelle Wallet, Ihre Konten und Vermögenswerte dauerhaft aus dieser App entfernt. Diese Aktion kann nicht rückgängig gemacht werden."
},
"secretRecoveryPhrase": {
"message": "Geheime Wiederherstellungsphrase"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Σφάλμα εισαγωγής λογαριασμού."
},
"importAccountLinkText": {
"message": "εισαγωγή χρησιμοποιώντας τη Μυστική Φράση Ανάκτησης"
},
"importAccountMsg": {
"message": "Οι λογαριασμοί που εισάγονται δεν θα συσχετιστούν με τη Μυστική Φράση Ανάκτησης του λογαριασμού σας MetaTask που δημιουργήθηκε αρχικά. Μάθετε περισσότερα για τους εισηγμένους λογαριασμούς"
},
"importAccountSeedPhrase": {
"message": "Εισαγωγή λογαριασμού με Μυστική Φράση Ανάκτησης"
},
"importAccountText": {
"message": "ή $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Εισάγετε τη Μυστική Φράση Ανάκτησης (δλδ Seed Phrase) που σας δόθηκε όταν δημιουργήσατε το πορτοφόλι σας. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Επαναφορά"
},
"restoreAccountWithSeed": {
"message": "Επαναφέρετε τον Λογαριασμό σας με Φράση Επαναφοράς"
},
"restoreWalletPreferences": {
"message": "Βρέθηκε ένα αντίγραφο ασφαλείας των δεδομένων σας από το $1. Θα θέλατε να επαναφέρετε τις προτιμήσεις του πορτοφολιού σας;",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Μόνο ο πρώτος λογαριασμός σε αυτό το πορτοφόλι θα φορτώσει αυτόματα. Μετά την ολοκλήρωση αυτής της διαδικασίας, για να προσθέσετε επιπλέον λογαριασμούς, κάντε κλικ στο αναπτυσσόμενο μενού και, στη συνέχεια, επιλέξτε Δημιουργία Λογαριασμού."
},
"secretPhraseWarning": {
"message": "Αν κάνετε επαναφορά χρησιμοποιώντας μια άλλη Μυστική Φράση Ανάκτησης, το τρέχον πορτοφόλι, οι λογαριασμοί και τα περιουσιακά στοιχεία σας θα αφαιρεθούν από αυτή την εφαρμογή μόνιμα. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί."
},
"secretRecoveryPhrase": {
"message": "Μυστική Φράση Ανάκτησης"
},

View File

@ -1206,6 +1206,9 @@
"forgetDevice": {
"message": "Forget this device"
},
"forgotPassword": {
"message": "Forgot password?"
},
"from": {
"message": "From"
},
@ -1408,19 +1411,12 @@
"importAccountError": {
"message": "Error importing account."
},
"importAccountLinkText": {
"message": "import using Secret Recovery Phrase"
},
"importAccountMsg": {
"message": "Imported accounts will not be associated with your originally created MetaMask account Secret Recovery Phrase. Learn more about imported accounts"
},
"importAccountSeedPhrase": {
"message": "Import a wallet with Secret Recovery Phrase"
},
"importAccountText": {
"message": "or $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Enter your Secret Recovery Phrase (aka Seed Phrase) that you were given when you created your wallet. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2356,6 +2352,12 @@
"queued": {
"message": "Queued"
},
"reAddAccounts": {
"message": "re-add any other accounts"
},
"reAdded": {
"message": "re-added"
},
"readdToken": {
"message": "You can add this token back in the future by going to “Import token” in your accounts options menu."
},
@ -2455,12 +2457,21 @@
"resetAccountDescription": {
"message": "Resetting your account will clear your transaction history. This will not change the balances in your accounts or require you to re-enter your Secret Recovery Phrase."
},
"resetWallet": {
"message": "Reset Wallet"
},
"resetWalletSubHeader": {
"message": "MetaMask does not keep a copy of your password. If youre having trouble unlocking your account, you will need to reset your wallet. You can do this by providing the Secret Recovery Phrase you used when you set up your wallet."
},
"resetWalletUsingSRP": {
"message": "This action will delete your current wallet and Secret Recovery Phrase from this device, along with the list of accounts youve curated. After resetting with a Secret Recovery Phrase, youll see a list of accounts based on the Secret Recovery Phrase you use to reset. This new list will automatically include accounts that have a balance. Youll also be able to $1 created previously. Custom accounts that youve imported will need to be $2, and any custom tokens youve added to an account will need to be $3 as well."
},
"resetWalletWarning": {
"message": "Make sure youre using the correct Secret Recovery Phrase before proceeding. You will not be able to undo this."
},
"restore": {
"message": "Restore"
},
"restoreAccountWithSeed": {
"message": "Restore your Account with Secret Recovery Phrase"
},
"restoreWalletPreferences": {
"message": "A backup of your data from $1 has been found. Would you like to restore your wallet preferences?",
"description": "$1 is the date at which the data was backed up"
@ -2528,9 +2539,6 @@
"secretPhrase": {
"message": "Only the first account on this wallet will auto load. After completing this process, to add additional accounts, click the drop down menu, then select Create Account."
},
"secretPhraseWarning": {
"message": "If you restore using another Secret Recovery Phrase, your current wallet, accounts and assets will be removed from this app permanently. This action cannot be undone."
},
"secretRecoveryPhrase": {
"message": "Secret Recovery Phrase"
},

View File

@ -826,19 +826,12 @@
"importAccount": {
"message": "Importar cuenta"
},
"importAccountLinkText": {
"message": "importar con la frase secreta de recuperación"
},
"importAccountMsg": {
"message": " Las cuentas importadas no se asociarán con la frase secreta de recuperación de la cuenta original de MetaMask. Más información sobre las cuentas importadas "
},
"importAccountSeedPhrase": {
"message": "Importar una cuenta con la frase secreta de recuperación"
},
"importAccountText": {
"message": "o $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importTokenQuestion": {
"message": "¿Desea importar el token?"
},
@ -1421,9 +1414,6 @@
"restore": {
"message": "Restaurar"
},
"restoreAccountWithSeed": {
"message": "Restaurar la cuenta con la frase secreta de recuperación"
},
"restoreWalletPreferences": {
"message": "Se encontró una copia de seguridad de los datos de $1. ¿Desea restaurar las preferencias de cartera?",
"description": "$1 is the date at which the data was backed up"

View File

@ -1322,19 +1322,12 @@
"importAccountError": {
"message": "Error al importar la cuenta."
},
"importAccountLinkText": {
"message": "importar con la frase secreta de recuperación"
},
"importAccountMsg": {
"message": "Las cuentas importadas no se asociarán con la frase secreta de recuperación de la cuenta original de MetaMask. Aprenda más sobre las cuentas importadas"
},
"importAccountSeedPhrase": {
"message": "Importar una cartera con la frase secreta de recuperación"
},
"importAccountText": {
"message": "o $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Ingrese su frase secreta de recuperación (también conocida como Frase Semilla) que recibió al crear su cartera. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2278,9 +2271,6 @@
"restore": {
"message": "Restaurar"
},
"restoreAccountWithSeed": {
"message": "Restaurar la cuenta con la frase secreta de recuperación"
},
"restoreWalletPreferences": {
"message": "Se encontró una copia de seguridad de los datos de $1. ¿Desea restaurar las preferencias de cartera?",
"description": "$1 is the date at which the data was backed up"
@ -2346,10 +2336,7 @@
"message": "ADVERTENCIA: No revele su frase de respaldo. Cualquier persona que tenga esta frase puede robarle los ethers."
},
"secretPhrase": {
"message": "Solo la primera cuenta de esta cartera se cargará automáticamente. Después de llevar a cabo este proceso, para agregar cuentas adicionales haga clic en el menú desplegable y luego seleccione Crear cuenta."
},
"secretPhraseWarning": {
"message": "Si restablece utilizando otra frase secreta de recuperación, su cartera actual, sus cuentas y sus activos se eliminarán de esta aplicación de forma permanente. Esta acción es irreversible."
"message": "Ingrese su frase secreta aquí para restaurar su bóveda."
},
"secretRecoveryPhrase": {
"message": "Frase secreta de recuperación"

View File

@ -755,9 +755,6 @@
"restore": {
"message": "Taasta"
},
"restoreAccountWithSeed": {
"message": "Taastage konto seemnefraasi abil"
},
"revealSeedWords": {
"message": "Kuva seemnesõnu"
},

View File

@ -765,9 +765,6 @@
"restore": {
"message": "بازیابی"
},
"restoreAccountWithSeed": {
"message": "حساب تان را با عبارت بازیاب، بازیابی کنید"
},
"revealSeedWords": {
"message": "کلمات بازیاب را آشکار کنید"
},

View File

@ -762,9 +762,6 @@
"restore": {
"message": "Palauta"
},
"restoreAccountWithSeed": {
"message": "Palauta tilisi käyttäen salaustekstiä (seed phrase)"
},
"revealSeedWords": {
"message": "Paljasta salaussanat"
},

View File

@ -689,9 +689,6 @@
"restore": {
"message": "Ipanumbalik"
},
"restoreAccountWithSeed": {
"message": "I-restore ang iyong Account gamit ang Seed Phrase"
},
"revealSeedWords": {
"message": "Ipakita ang Seed Words"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Erreur dimportation de compte."
},
"importAccountLinkText": {
"message": "importer en utilisant la phrase secrète de récupération"
},
"importAccountMsg": {
"message": "Les comptes importés ne seront pas associés à la phrase secrète de récupération que vous avez créée au départ dans MetaMask. En savoir plus sur les comptes importés"
},
"importAccountSeedPhrase": {
"message": "Importez un compte avec une phrase mnémotechnique"
},
"importAccountText": {
"message": "ou $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Saisissez la phrase secrète de récupération (aussi appelée «phrase mnémonique» ou «seed») qui vous a été attribuée lors de la création de votre portefeuille. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Restaurer"
},
"restoreAccountWithSeed": {
"message": "Restaurer votre compte avec une phrase Seed."
},
"restoreWalletPreferences": {
"message": "Une sauvegarde de vos données de $1 a été trouvée. Voulez-vous restaurer vos préférences de portefeuille?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Seul le premier compte de ce portefeuille sera chargé automatiquement. Après avoir terminé ce processus, pour ajouter des comptes supplémentaires, cliquez sur le menu déroulant, puis sélectionnez Créer un compte."
},
"secretPhraseWarning": {
"message": "Si vous effectuez une restauration à laide dune autre phrase secrète de récupération, votre portefeuille, vos comptes et vos actifs actuels seront définitivement supprimés de cette application. Cette action est irréversible."
},
"secretRecoveryPhrase": {
"message": "Phrase secrète de récupération"
},

View File

@ -762,9 +762,6 @@
"restore": {
"message": "שחזר"
},
"restoreAccountWithSeed": {
"message": "שחזר את חשבונך באמצעות צירוף הגרעין"
},
"revealSeedWords": {
"message": "גלה מילות Seed"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "खाता आयात करने में त्रुटि।"
},
"importAccountLinkText": {
"message": "गुप्त रिकवरी फ्रेज का उपयोग करके आयात करें"
},
"importAccountMsg": {
"message": "आयातित खाते आपके मूल रूप से बनाए गए MetaMask खाते के गुप्त रिकवरी फ्रेज से संबद्ध नहीं होंगे। आयातित खातों के बारे में अधिक जानें"
},
"importAccountSeedPhrase": {
"message": "गुप्त रिकवरी फ्रेज के साथ एक खाता आयात करें"
},
"importAccountText": {
"message": "या $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "अपना सीक्रेट रिकवरी फ्रेज (उर्फ सीड फ्रेज) दर्ज करें जो आपको अपना वॉलेट बनाने पर दिया गया था। $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "पुनर्स्थापित करें"
},
"restoreAccountWithSeed": {
"message": "गुप्त रिकवरी फ्रेज के साथ अपने खाते को पुनर्स्थापित करें"
},
"restoreWalletPreferences": {
"message": "$1 से आपके डेटा का बैकअप मिला है। क्या आप अपनी वॉलेट वरीयताओं को पुनर्स्थापित करना चाहते हैं?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "इस वॉलेट पर केवल पहला खाता स्वतः लोड होगा। इस प्रक्रिया को पूरा करने के बाद, अतिरिक्त खाते जोड़ने के लिए, ड्रॉप डाउन मेन्यू पर क्लिक करें, फिर खाता बनाएं चुनें।"
},
"secretPhraseWarning": {
"message": "यदि आप किसी दूसरे सीक्रेट रिकवरी फ्रेज का उपयोग कर पुनर्स्थापित करते हैं, तो इस ऐप से आपके वर्तमान वॉलेट, अकाउंट, और संपति स्थायी रूप से हटा दिये जाएंगे। यह क्रिया पूर्ववत नहीं की जा सकती।"
},
"secretRecoveryPhrase": {
"message": "सीक्रेट रिकवरी फ्रेज"
},

View File

@ -758,9 +758,6 @@
"restore": {
"message": "Vrati"
},
"restoreAccountWithSeed": {
"message": "Obnovite svoj račun početnom rečenicom"
},
"revealSeedWords": {
"message": "Otkrij početne riječi"
},

View File

@ -479,9 +479,6 @@
"restore": {
"message": "Retabli"
},
"restoreAccountWithSeed": {
"message": "Retabli kont ou avèk yo Seed Fraz"
},
"revealSeedWords": {
"message": "Revele Seed Mo Yo"
},

View File

@ -758,9 +758,6 @@
"restore": {
"message": "Visszaállítás"
},
"restoreAccountWithSeed": {
"message": "Fiók helyreállítása a seed mondat segítségével"
},
"revealSeedWords": {
"message": "Seed szavak megjelenítése"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Galat saat mengimpor akun."
},
"importAccountLinkText": {
"message": "impor menggunakan Frasa Pemulihan Rahasia"
},
"importAccountMsg": {
"message": "Akun yang diimpor tidak akan dikaitkan dengan Frasa Pemulihan Rahasia akun MetaMask yang asli dibuat. Pelajari selengkapnya tentang akun yang diimpor"
},
"importAccountSeedPhrase": {
"message": "Impor dompet dengan Frasa Pemulihan Rahasia"
},
"importAccountText": {
"message": "atau $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Masukkan Frasa Pemulihan Rahasia Anda (alias Frasa Benih) yang diberikan saat Anda membuat dompet. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Pulihkan"
},
"restoreAccountWithSeed": {
"message": "Pulihkan Akun dengan Frasa Pemulihan Rahasia"
},
"restoreWalletPreferences": {
"message": "Cadangan data Anda dari $1 telah ditemukan. Pulihkan preferensi dompet Anda?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Hanya akun pertama di dompet ini yang akan dimuat secara otomatis. Setelah proses ini selesai, untuk menambahkan akun tambahan, klik menu drop down, lalu pilih Buat Akun."
},
"secretPhraseWarning": {
"message": "Jika Anda memulihkan menggunakan Frasa Pemulihan Rahasia lainnya, dompet, akun, dan aset Anda saat ini akan dihapus dari aplikasi ini secara permanen. Tindakan ini tidak dapat dibatalkan."
},
"secretRecoveryPhrase": {
"message": "Frasa Pemulihan Rahasia"
},

View File

@ -1152,9 +1152,6 @@
"restore": {
"message": "Ripristina"
},
"restoreAccountWithSeed": {
"message": "Ripristina Account con la Frase Seed"
},
"restoreWalletPreferences": {
"message": "È stato trovato un backup dei tuoi dati da $1. Vuoi ripristinare le preferenze del portafoglio?",
"description": "$1 is the date at which the data was backed up"

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "アカウントのインポート中にエラーが発生しました。"
},
"importAccountLinkText": {
"message": "シークレットリカバリーフレーズを使用してインポート"
},
"importAccountMsg": {
"message": " インポートされたアカウントは、最初に作成したMetaMaskアカウントのシークレットリカバリーフレーズと関連付けられません。インポートされたアカウントの詳細を表示"
},
"importAccountSeedPhrase": {
"message": "シークレットリカバリーフレーズを使用してウォレットをインポート"
},
"importAccountText": {
"message": "または$1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "ウォレットの作成時に提供されたシークレットリカバリーフレーズ (シードフレーズ) を入力してください。$1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "復元"
},
"restoreAccountWithSeed": {
"message": "シークレットリカバリーフレーズでアカウントを復元"
},
"restoreWalletPreferences": {
"message": "$1のデータのバックアップが見つかりました。ウォレットの基本設定を復元しますか?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "このウォレットの最初のアカウントのみが自動的に読み込まれます。 このプロセスの完了後、他のアカウントを追加するには、ドロップダウンメニューをクリックし、[アカウントを作成] を選択します。"
},
"secretPhraseWarning": {
"message": "別のシークレットリカバリーフレーズを使用して復元すると、現在のウォレット、アカウント、アセットは永久にこのアプリから削除されます。この操作は元に戻せません。"
},
"secretRecoveryPhrase": {
"message": "シークレットリカバリーフレーズ"
},

View File

@ -765,9 +765,6 @@
"restore": {
"message": "ಮರುಸ್ಥಾಪನೆ"
},
"restoreAccountWithSeed": {
"message": "ಸೀಡ್ ಫ್ರೇಸ್‌ನೊಂದಿಗೆ ನಿಮ್ಮ ಖಾತೆಯನ್ನು ಮರುಸ್ಥಾಪಿಸಿ"
},
"revealSeedWords": {
"message": "ಸೀಡ್ ವರ್ಡ್ಸ್ ಬಹಿರಂಗಪಡಿಸಿ"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "계정 가져오기 오류"
},
"importAccountLinkText": {
"message": "비밀 복구 구문을 사용해 가져오기"
},
"importAccountMsg": {
"message": "가져온 계정은 본래 생성한 MetaMask 계정 비밀 복구 구문과 연결하지 못합니다. 가져온 계정에 대해 자세히 알아보기"
},
"importAccountSeedPhrase": {
"message": "비밀 복구 구문으로 계정 가져오기"
},
"importAccountText": {
"message": "또는 $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "지갑을 만들 때 받은 비밀 복구 구문(시드 구문)을 입력하세요. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "복구"
},
"restoreAccountWithSeed": {
"message": "비밀 복구 구문으로 계정 복구"
},
"restoreWalletPreferences": {
"message": "$1의 데이터 백업이 발견되었습니다. 지갑 환경설정을 복원할까요?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "금고를 복구하려면 비밀 구문을 여기에 입력하세요."
},
"secretPhraseWarning": {
"message": "다른 비밀 복구 구문을 사용하여 복구하면 현재 지갑, 계정 및 자산이 이 앱에서 영구적으로 제거됩니다. 이 작업은 취소할 수 없습니다."
},
"secretRecoveryPhrase": {
"message": "비밀 복구 구문"
},

View File

@ -765,9 +765,6 @@
"restore": {
"message": "Atkurti"
},
"restoreAccountWithSeed": {
"message": "Atkurti paskyrą naudojant atkūrimo frazę"
},
"revealSeedWords": {
"message": "Atskleisti atkūrimo žodžius"
},

View File

@ -761,9 +761,6 @@
"restore": {
"message": "Atjaunot"
},
"restoreAccountWithSeed": {
"message": "Atjaunojiet savu kontu ar atkopšanas frāzi"
},
"revealSeedWords": {
"message": "Parādīt atkopšanas vārdus"
},

View File

@ -745,9 +745,6 @@
"restore": {
"message": "Pulihkan"
},
"restoreAccountWithSeed": {
"message": "Pulihkan Akaun anda dengan Ungkapan Benih"
},
"revealSeedWords": {
"message": "Dedahkan Ungkapan Benih"
},

View File

@ -752,9 +752,6 @@
"restore": {
"message": "Gjenopprett"
},
"restoreAccountWithSeed": {
"message": "Gjenopprett konto med frøfrase"
},
"revealSeedWords": {
"message": "Vis frøord"
},

View File

@ -842,19 +842,12 @@
"importAccount": {
"message": "Mag-import ng Account"
},
"importAccountLinkText": {
"message": "i-import gamit ang Secret Recovery Phrase"
},
"importAccountMsg": {
"message": " Ang mga na-import na account ay hindi mauugnay sa orihinal mong nagawang Secret Recovery Phrase ng MetaMask account. Matuto pa tungkol sa mga na-import account "
},
"importAccountSeedPhrase": {
"message": "Mag-import ng account gamit ang Secret Recovery Phrase"
},
"importAccountText": {
"message": "o $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importTokenQuestion": {
"message": "Mag-import ng token?"
},
@ -1446,9 +1439,6 @@
"restore": {
"message": "I-restore"
},
"restoreAccountWithSeed": {
"message": "I-restore ang iyong Account gamit ang Secret Recovery Phrase"
},
"restoreWalletPreferences": {
"message": "Nakita ang backup ng iyong data mula sa $1. Gusto mo bang i-restore ang mga kagustuhan mo sa wallet?",
"description": "$1 is the date at which the data was backed up"

View File

@ -759,9 +759,6 @@
"restore": {
"message": "Przywróć"
},
"restoreAccountWithSeed": {
"message": "Przywróć konto frazą seed"
},
"revealSeedWords": {
"message": "Pokaż słowa seed"
},

View File

@ -1306,19 +1306,12 @@
"importAccountError": {
"message": "Erro de importação de conta."
},
"importAccountLinkText": {
"message": "importe usando a Frase de Recuperação Secreta"
},
"importAccountMsg": {
"message": "As contas importadas não estarão associadas à Frase de Recuperação Secreta da conta da MetaMask criada originalmente. Saiba mais sobre as contas importadas"
},
"importAccountSeedPhrase": {
"message": "Importe uma carteira com a Frase de Recuperação Secreta"
},
"importAccountText": {
"message": "ou $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Digite sua Frase de Recuperação Secreta (ou seja, a frase seed) que lhe foi dada quando você criou a sua carteira. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2262,9 +2255,6 @@
"restore": {
"message": "Restaurar"
},
"restoreAccountWithSeed": {
"message": "Restaure sua conta com a Frase de Recuperação Secreta"
},
"restoreWalletPreferences": {
"message": "Encontramos um backup dos seus dados de $1. Gostaria de restaurar as preferências da sua carteira?",
"description": "$1 is the date at which the data was backed up"
@ -2332,9 +2322,6 @@
"secretPhrase": {
"message": "Somente a primeira conta nessa carteira será carregada automaticamente. Após concluir esse processo, para adicionar mais contas, clique no menu suspenso e selecione Criar Conta."
},
"secretPhraseWarning": {
"message": "Se você restaurar usando outra Frase de Recuperação Secreta, sua carteira, conta e ativos atuais serão removidos permanentemente deste aplicativo. Essa ação será irreversível."
},
"secretRecoveryPhrase": {
"message": "Frase de Recuperação Secreta"
},

View File

@ -752,9 +752,6 @@
"restore": {
"message": "Restabilește"
},
"restoreAccountWithSeed": {
"message": "Restaurați-vă contul folosind fraza inițială"
},
"revealSeedWords": {
"message": "Arată cuvintele din seed"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Ошибка импорта счета."
},
"importAccountLinkText": {
"message": "импортировать с использованием секретной фразы для восстановления"
},
"importAccountMsg": {
"message": "Импортированные счета не будут связаны с секретной фразой для восстановления вашего изначально созданного счета MetaMask. Узнайте больше об импортированных счетах"
},
"importAccountSeedPhrase": {
"message": "Импорт кошелька с помощью секретной фразы для восстановления"
},
"importAccountText": {
"message": "или $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Введите секретную фразу для восстановления (также известную как «сид-фраза»), которую вы получили при создании кошелька. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Восстановить"
},
"restoreAccountWithSeed": {
"message": "Восстановите свой счет с помощью секретной фразы для восстановления"
},
"restoreWalletPreferences": {
"message": "Найдена резервная копия ваших данных из $1. Хотите восстановить настройки кошелька?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Автоматически загружается только первый счет в этом кошельке. Для добавления дополнительных счетов, после завершения этого процесса нажмите на выпадающее меню, а затем выберите «Создать счет»."
},
"secretPhraseWarning": {
"message": "Если вы выполняете восстановление с использованием другой секретной фразы для восстановления, ваш текущий кошелек, счета и активы будут удалены из этого приложения без возможности восстановления. Это действие нельзя отменить."
},
"secretRecoveryPhrase": {
"message": "Секретная фраза для восстановления"
},

View File

@ -734,9 +734,6 @@
"restore": {
"message": "Obnoviť"
},
"restoreAccountWithSeed": {
"message": "Obnoviť účet pomocou seed frázy"
},
"revealSeedWords": {
"message": "Zobrazit slova klíčové fráze"
},

View File

@ -753,9 +753,6 @@
"restore": {
"message": "Obnovi"
},
"restoreAccountWithSeed": {
"message": "Obnovi račun z seed phrase"
},
"revealSeedWords": {
"message": "Razkrij seed words"
},

View File

@ -756,9 +756,6 @@
"restore": {
"message": "Поново отвори"
},
"restoreAccountWithSeed": {
"message": "Povratite svoj nalog uz pomoć seed fraze"
},
"revealSeedWords": {
"message": "Otkrivanje početnih reči"
},

View File

@ -749,9 +749,6 @@
"restore": {
"message": "Återställ"
},
"restoreAccountWithSeed": {
"message": "Återställ ditt konto med seedphrase"
},
"revealSeedWords": {
"message": "Visa seed-ord"
},

View File

@ -743,9 +743,6 @@
"restore": {
"message": "Rejesha"
},
"restoreAccountWithSeed": {
"message": "Rejesha Akaunti yako kwa kutumia Kirai Kianzio."
},
"revealSeedWords": {
"message": "Onyesha Maneno ya Kianzio"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Error sa pag-import ng account."
},
"importAccountLinkText": {
"message": "i-import gamit ang Secret Recovery Phrase"
},
"importAccountMsg": {
"message": "Ang mga na-import na account ay hindi mauugnay sa orihinal mong nagawang Secret Recovery Phrase ng MetaMask account. Matuto pa tungkol sa mga na-import account"
},
"importAccountSeedPhrase": {
"message": "Mag-import ng account gamit ang Secret Recovery Phrase"
},
"importAccountText": {
"message": "o $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Ilagay ang iyong Secret Recovery Phrase (kilala rin bilang Seed Phrase) na ibinigay sa iyo noong gumawa ka ng iyong wallet. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "I-restore"
},
"restoreAccountWithSeed": {
"message": "I-restore ang iyong Account gamit ang Secret Recovery Phrase"
},
"restoreWalletPreferences": {
"message": "Nakita ang backup ng iyong data mula sa $1. Gusto mo bang i-restore ang mga kagustuhan mo sa wallet?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Ang unang account lang sa wallet na ito ang awtomatikong maglo-load. Pagkatapos makumpleto ang prosesong ito, upang magdagdag ng mga karagdagang account, i-click ang drop down na menu, pagkatapos ay piliin ang Gumawa ng Account."
},
"secretPhraseWarning": {
"message": "Kapag nagre-restore ka gamit ang isa pang Secret Recovery Phrase, permanenteng aalisin sa app na ito ang iyong kasalukuyang wallet, mga account, at asset. Ang gawaing ito ay hindi pwedeng baguhin."
},
"secretRecoveryPhrase": {
"message": "Secret Recovery Phrase"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Hesap içe aktarılırken hata oluştu."
},
"importAccountLinkText": {
"message": "Gizli Kurtarma İfadesi kullanarak içe aktar"
},
"importAccountMsg": {
"message": "İçe aktarılan hesaplar ilk olarak oluşturduğunuz MetaMask hesabı Gizli Kurtarma ifadenizle ilişkilendirilmez. İçe aktarılan hesaplar hakkında daha fazla bilgi edinin"
},
"importAccountSeedPhrase": {
"message": "Gizli Kurtarma İfadesi ile bir cüzdanı içe aktarın"
},
"importAccountText": {
"message": "veya $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Cüzdanınızı oluşturduğunuzda size verilen Gizli Kurtarma İfadenizi (başka bir deyişle Tohum İfadesi) girin. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Geri Yükle"
},
"restoreAccountWithSeed": {
"message": "Gizli Kurtarma İfadesi ile Hesabınızı geri yükleyin"
},
"restoreWalletPreferences": {
"message": "Verilerinizin $1 tarihinden bir yedeği bulundu. Cüzdan tercihlerinizi geri yüklemek ister misiniz?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Sadece bu cüzdandaki ilk hesap otomatik olarak yüklenecektir. Bu işlem tamamlandıktan sonra ilave hesaplar eklemek için açılır menüye tıklayın ardından Hesap Oluştur seçeneğini seçin."
},
"secretPhraseWarning": {
"message": "Başka bir Gizli Kurtarma İfadesini kullanarak geri yükleme işlemi yaparsanız mevcut cüzdan, hesap ve varlıklarınız bu uygulamadan kalıcı olarak silinir. Bu işlem geri alınamaz."
},
"secretRecoveryPhrase": {
"message": "Gizli Kurtarma İfadesi"
},

View File

@ -765,9 +765,6 @@
"restore": {
"message": "Відновити"
},
"restoreAccountWithSeed": {
"message": "Відновіть ваш обліковий запис за допомогою seed-фрази"
},
"revealSeedWords": {
"message": "Показати мнемонічні слова"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "Lỗi khi nhập tài khoản."
},
"importAccountLinkText": {
"message": "nhập bằng Cụm mật khẩu khôi phục bí mật"
},
"importAccountMsg": {
"message": "Tài khoản đã nhập sẽ không được liên kết với Cụm mật khẩu khôi phục bí mật cho tài khoản MetaMask đã tạo ban đầu của bạn. Tìm hiểu thêm về các tài khoản đã nhập"
},
"importAccountSeedPhrase": {
"message": "Nhập một ví bằng Cụm mật khẩu khôi phục bí mật"
},
"importAccountText": {
"message": "hoặc $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "Nhập Cụm Mật Khẩu Khôi Phục Bí Mật (còn được gọi là Cụm Mật Khẩu Gốc) mà bạn được cấp khi tạo ví. $1",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "Khôi phục"
},
"restoreAccountWithSeed": {
"message": "Khôi phục tài khoản của bạn bằng cụm mật khẩu khôi phục bí mật"
},
"restoreWalletPreferences": {
"message": "Đã tìm thấy bản sao lưu dữ liệu của bạn từ $1. Bạn có muốn khôi phục các tùy chọn ưu tiên trong ví của mình không?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "Chỉ tự động tải tài khoản đầu tên trên ví. Sau khi hoàn tất quá trình này, để thêm tài khoản bổ sung, hãy nhấn vào trình đơn thả xuống và chọn Tạo tài khoản."
},
"secretPhraseWarning": {
"message": "Nếu bạn khôi phục bằng cách sử dụng một Cụm Mật Khẩu Khôi Phục Bí Mật khác, thì ví, tài khoản và tài sản hiện tại của bạn sẽ bị xóa khỏi ứng dụng này vĩnh viễn. Không thể hoàn tác hành động này."
},
"secretRecoveryPhrase": {
"message": "Cụm Mật Khẩu Khôi Phục Bí Mật"
},

View File

@ -1273,19 +1273,12 @@
"importAccountError": {
"message": "导入帐户时出错。"
},
"importAccountLinkText": {
"message": "使用账户助记词导入"
},
"importAccountMsg": {
"message": "导入的账户将不会与最初创建的 MetaMask 账户助记词相关联。了解更多有关导入账户的信息 。"
},
"importAccountSeedPhrase": {
"message": "使用账户助记词导入账户"
},
"importAccountText": {
"message": "或 $1",
"description": "$1 represents the text from `importAccountLinkText` as a link"
},
"importExistingWalletDescription": {
"message": "输入您创建$1钱包时提供的保密恢复短语或Seed Phrase。",
"description": "$1 is the words 'Learn More' from key 'learnMore', separated here so that it can be added as a link"
@ -2229,9 +2222,6 @@
"restore": {
"message": "恢复"
},
"restoreAccountWithSeed": {
"message": "使用账户助记词恢复您的账户"
},
"restoreWalletPreferences": {
"message": "已找到于 $1 的数据备份。您想恢复您的钱包设置吗?",
"description": "$1 is the date at which the data was backed up"
@ -2299,9 +2289,6 @@
"secretPhrase": {
"message": "只有这个钱包上的第一个帐户将自动加载。 完成此流程后,点击下拉菜单,然后选择创建账户。"
},
"secretPhraseWarning": {
"message": "如果您使用另一个账户助记词来还原,您当前的钱包、帐户和资产将永久从这个应用中移除。 此操作不能撤消。"
},
"secretRecoveryPhrase": {
"message": "账户助记词"
},

View File

@ -747,9 +747,6 @@
"resetAccountDescription": {
"message": "重置帳戶將清除您的交易紀錄"
},
"restoreAccountWithSeed": {
"message": "透過助憶詞還原您的帳戶"
},
"revealSeedWords": {
"message": "顯示助憶詞"
},

View File

@ -191,12 +191,9 @@ describe('MetaMask', function () {
it('imports Secret Recovery Phrase', async function () {
const restoreSeedLink = await driver.findClickableElement(
'.unlock-page__link--import',
);
assert.equal(
await restoreSeedLink.getText(),
'import using Secret Recovery Phrase',
'.unlock-page__link',
);
assert.equal(await restoreSeedLink.getText(), 'Forgot password?');
await restoreSeedLink.click();
await driver.delay(regularDelayMs);

View File

@ -164,12 +164,9 @@ describe('Metamask Responsive UI', function () {
// Import Secret Recovery Phrase
const restoreSeedLink = await driver.findClickableElement(
'.unlock-page__link--import',
);
assert.equal(
await restoreSeedLink.getText(),
'import using Secret Recovery Phrase',
'.unlock-page__link',
);
assert.equal(await restoreSeedLink.getText(), 'Forgot password?');
await restoreSeedLink.click();
await driver.fill(

View File

@ -1,4 +1,10 @@
const ZENDESK_URLS = {
ADD_CUSTOM_TOKENS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489031',
ADD_MISSING_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489271',
IMPORT_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489331',
TOKEN_SAFETY_PRACTICES:
'https://metamask.zendesk.com/hc/en-us/articles/4403988839451',
};

View File

@ -57,35 +57,19 @@
}
.import-account {
&__title {
@include H1;
color: #1b344d;
margin-bottom: 10px;
}
&__back-button {
@include Paragraph;
margin-bottom: 18px;
color: #22232c;
color: var(--black);
position: absolute;
top: -25px;
}
&__selector-label {
@include Paragraph;
color: #1b344d;
}
&__selector-typography {
line-height: 22px;
display: flex;
align-items: center;
color: #000;
margin-top: 18px;
margin-bottom: 16px;
&__link {
display: inline;
padding: 0;
font-size: inherit;
}
}

View File

@ -8,6 +8,11 @@ import {
} from '../../store/actions';
import { DEFAULT_ROUTE } from '../../helpers/constants/routes';
import CreateNewVault from '../../components/app/create-new-vault';
import Button from '../../components/ui/button';
import Box from '../../components/ui/box';
import Typography from '../../components/ui/typography';
import ZENDESK_URLS from '../../helpers/constants/zendesk-url';
import { TYPOGRAPHY, COLORS } from '../../helpers/constants/design-system';
class RestoreVaultPage extends Component {
static contextTypes = {
@ -51,9 +56,9 @@ class RestoreVaultPage extends Component {
const { isLoading } = this.props;
return (
<div className="first-view-main-wrapper">
<div className="first-view-main">
<div className="import-account">
<Box className="first-view-main-wrapper">
<Box className="first-view-main">
<Box className="import-account">
<a
className="import-account__back-button"
onClick={(e) => {
@ -65,23 +70,57 @@ class RestoreVaultPage extends Component {
>
{`< ${t('back')}`}
</a>
<div className="import-account__title">
{this.context.t('restoreAccountWithSeed')}
</div>
<div className="import-account__selector-label">
{this.context.t('secretPhrase')}
</div>
<div className="import-account__selector-typography">
{this.context.t('secretPhraseWarning')}
</div>
<Typography variant={TYPOGRAPHY.H1} color={COLORS.BLACK}>
{t('resetWallet')}
</Typography>
<Typography color={COLORS.BLACK}>
{t('resetWalletSubHeader')}
</Typography>
<Typography color={COLORS.BLACK} margin={[4, 0]}>
{t('resetWalletUsingSRP', [
<Button
type="link"
target="_blank"
rel="noopener noreferrer"
href={ZENDESK_URLS.ADD_MISSING_ACCOUNTS}
key="import-account-secretphase"
className="import-account__link"
>
{t('reAddAccounts')}
</Button>,
<Button
type="link"
target="_blank"
rel="noopener noreferrer"
href={ZENDESK_URLS.IMPORT_ACCOUNTS}
key="import-account-reimport-accounts"
className="import-account__link"
>
{t('reAdded')}
</Button>,
<Button
type="link"
target="_blank"
rel="noopener noreferrer"
href={ZENDESK_URLS.ADD_CUSTOM_TOKENS}
key="import-account-readd-tokens"
className="import-account__link"
>
{t('reAdded')}
</Button>,
])}
</Typography>
<Typography color={COLORS.BLACK} margin={[0, 0, 4]}>
{t('resetWalletWarning')}
</Typography>
<CreateNewVault
disabled={isLoading}
onSubmit={this.handleImport}
submitText={t('restore')}
/>
</div>
</div>
</div>
</Box>
</Box>
</Box>
);
}
}

View File

@ -0,0 +1,44 @@
import React from 'react';
import sinon from 'sinon';
import configureMockStore from 'redux-mock-store';
import { renderWithProvider } from '../../../test/lib/render-helpers';
import RestoreVaultPage from './restore-vault';
describe('Restore vault Component', () => {
it('clicks imports seed button', () => {
const props = {
history: {
push: sinon.spy(),
},
};
const { getByText, getByRole, getAllByRole } = renderWithProvider(
<RestoreVaultPage {...props} />,
configureMockStore()({
metamask: { currentLocale: 'en' },
appState: { isLoading: false },
}),
);
expect(getByText('Reset Wallet')).toBeInTheDocument();
expect(
getByText(
'MetaMask does not keep a copy of your password. If youre having trouble unlocking your account, you will need to reset your wallet. You can do this by providing the Secret Recovery Phrase you used when you set up your wallet.',
),
).toBeInTheDocument();
expect(
getByText(
'This action will delete your current wallet and Secret Recovery Phrase from this device, along with the list of accounts youve curated. After resetting with a Secret Recovery Phrase, youll see a list of accounts based on the Secret Recovery Phrase you use to reset. This new list will automatically include accounts that have a balance. Youll also be able to created previously. Custom accounts that youve imported will need to be , and any custom tokens youve added to an account will need to be as well.',
),
).toBeInTheDocument();
expect(
getByRole('link', { name: 're-add any other accounts' }),
).toBeInTheDocument();
expect(getAllByRole('link', { name: 're-added' })).toHaveLength(2);
expect(
getByText(
'Make sure youre using the correct Secret Recovery Phrase before proceeding. You will not be able to undo this.',
),
).toBeInTheDocument();
});
});

View File

@ -21,7 +21,7 @@ ArgsTable doesn't work with SectionShape
| -------------------------- | -------------------------------------------------------------------------- |
| `history` | History router for redirect after action `object` |
| `isUnlocked` | If isUnlocked is true will redirect to most recent route in history `bool` |
| `onRestore` | onClick handler for "import using Secret Recovery Phrase" link `func` |
| `onRestore` | onClick handler for "Forgot password?" link `func` |
| `onSubmit` | onSumbit handler when form is submitted `func` |
| `forceUpdateMetamaskState` | Force update metamask data state `func` |
| `showOptInModal` | Event handler to show metametrics modal `func` |

View File

@ -38,18 +38,11 @@
width: 100%;
text-align: center;
font-size: 0.75rem;
button {
font-weight: bold;
border-radius: 100px;
}
}
&__link {
cursor: pointer;
background-color: unset;
color: var(--Blue-500);
font-size: unset;
font-weight: bold;
}
&__support {

View File

@ -24,7 +24,7 @@ export default class UnlockPage extends Component {
*/
isUnlocked: PropTypes.bool,
/**
* onClick handler for "import using Secret Recovery Phrase" link
* onClick handler for "Forgot password?" link
*/
onRestore: PropTypes.func,
/**
@ -184,15 +184,14 @@ export default class UnlockPage extends Component {
</form>
{this.renderSubmitButton()}
<div className="unlock-page__links">
{t('importAccountText', [
<button
key="import-account"
className="unlock-page__link unlock-page__link--import"
onClick={() => onRestore()}
>
{t('importAccountLinkText')}
</button>,
])}
<Button
type="link"
key="import-account"
className="unlock-page__link"
onClick={() => onRestore()}
>
{t('forgotPassword')}
</Button>
</div>
<div className="unlock-page__support">
{t('needHelp', [

View File

@ -23,7 +23,7 @@ describe('Unlock Page Component', () => {
configureMockStore()({ metamask: { currentLocale: 'en' } }),
);
fireEvent.click(getByText('import using Secret Recovery Phrase'));
fireEvent.click(getByText('Forgot password?'));
expect(props.onRestore.calledOnce).toStrictEqual(true);
});
});