mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
This reverts commit 932282e638
.
This commit is contained in:
parent
917290e764
commit
d6b73d339d
21
app/_locales/de/messages.json
generated
21
app/_locales/de/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "$1 erlauben, bis zu dem folgenden Betrag abzuheben und auszugeben:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Gehen Sie immer mit Sorgfalt vor, bevor Sie irgendwelche Anfragen genehmigen."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Betrag"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Verwenden Sie die OpenSea's API, um NFT-Daten abzurufen. Die NFT-Auto-Erkennung basiert auf der OpenSea's API und wird nicht verfügbar sein, wenn diese deaktiviert ist."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Sicherheitsanbieter aktivieren"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Intelligente Transaktionen ermöglichen"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Allgemein"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Erhalten Sie Warnungen von OpenSea, wenn Sie eine bekannte bösartige Anfrage erhalten."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Zurück"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Nicht genügend Gas"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Nicht jetzt"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Benachrichtigungen"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea-Sicherheitsanbieter"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea ist der erset Sicherheitsanbieter für diese Funktion. Mehr Anbieter folgen in Kürze!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Nicht verbunden"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Mit OpenSea sicher bleiben"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Verbinden Sie Ihr Lattice1"
|
||||
},
|
||||
|
21
app/_locales/el/messages.json
generated
21
app/_locales/el/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Επιτρέψτε στο $1 να κάνει ανάληψη και να ξοδέψει μέχρι το ακόλουθο ποσό:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Φροντίστε πάντα να κάνετε τη δική σας επιμελή έρευνα προτού εγκρίνετε οποιαδήποτε αιτήματα."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Ποσό"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Χρησιμοποιήστε το API OpenSea για λήψη δεδομένων NFT. Η αυτόματη ανίχνευση NFT βασίζεται στο API του OpenSea, και δεν θα είναι διαθέσιμη όταν αυτό είναι απενεργοποιημένο."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Ενεργοποίηση παρόχου ασφάλειας"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Ενεργοποίηση Έξυπνων Συναλλαγών"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Γενικά"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Λάβετε προειδοποιήσεις από το OpenSea όποτε λαβαίνετε ένα αναγνωρισμένο κακόβουλο αίτημα."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Μετάβαση Πίσω"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Δεν Υπάρχει Αρκετό τέλος συναλλαγής"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Όχι τώρα"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Ειδοποιήσεις"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Πάροχος ασφάλειας OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "Το OpenSea είναι ο πρώτος πάροχος ασφάλειας για αυτή τη λειτουργία. Σύντομα θα προστεθούν και άλλοι πάροχοι!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Δεν έχει συνδεθεί"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Μείνετε ασφαλείς με το OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Συνδέστε το Lattice1 σας"
|
||||
},
|
||||
|
21
app/_locales/en/messages.json
generated
21
app/_locales/en/messages.json
generated
@ -332,9 +332,6 @@
|
||||
"message": "Allow $1 to withdraw and spend up to the following amount:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Always be sure to do your own due diligence before approving any requests."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Amount"
|
||||
},
|
||||
@ -1228,9 +1225,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Use OpenSea's API to fetch NFT data. NFT auto-detection relies on OpenSea's API, and will not be available when this is turned off."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Enable security provider"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Enable smart transactions"
|
||||
},
|
||||
@ -1528,9 +1522,6 @@
|
||||
"general": {
|
||||
"message": "General"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Get warnings from OpenSea whenever you receive a known malicious request."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Go back"
|
||||
},
|
||||
@ -2305,9 +2296,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Not enough gas"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Not now"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Notifications"
|
||||
},
|
||||
@ -2668,12 +2656,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea security provider"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea is the first security provider for this feature. More providers coming soon!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3579,9 +3561,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Not connected"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Stay safe with OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Connect your Lattice1"
|
||||
},
|
||||
|
21
app/_locales/es/messages.json
generated
21
app/_locales/es/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Permitir que se retire $1 y gastar hasta el siguiente importe:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Asegúrese siempre de hacer su propia diligencia debida antes de aprobar cualquier solicitud."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Importe"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Utilice la API de OpenSea para obtener los datos de NFT. La autodetección de NFT depende de la API de OpenSea y no estará disponible si la API está desactivada."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Habilitar proveedor de seguridad"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Habilitar transacciones inteligentes"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "General"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Reciba advertencias de OpenSea cada vez que reciba una solicitud maliciosa conocida."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Volver"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "No hay gas suficiente"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Por ahora no"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Notificaciones"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Proveedor de seguridad de OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea es el primer proveedor de seguridad para esta función. ¡Más proveedores próximamente!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "No conectado"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Manténgase seguro con OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Conecte su Lattice1"
|
||||
},
|
||||
|
21
app/_locales/fr/messages.json
generated
21
app/_locales/fr/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Permettre à $1 de retirer et de dépenser jusqu’au montant suivant :",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Vous devez faire preuve de diligence raisonnable avant d’approuver toute demande."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Montant"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Utilisez l’API OpenSea pour récupérer les données de NFT. La détection automatique de NFT repose sur l’API OpenSea et ne sera pas disponible si elle est désactivée."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Activer le fournisseur de services de sécurité"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Activer les transactions intelligentes"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Général"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "OpenSea vous avertira dès que vous recevrez une requête malveillante."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Retour"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Pas assez de gaz"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Pas maintenant"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Notifications"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Fournisseur de services de sécurité OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea est le premier fournisseur de services de sécurité à offrir cette fonctionnalité. D’autres fournisseurs seront bientôt ajoutés !"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Non connecté"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Restez en sécurité avec OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Connectez votre Lattice1"
|
||||
},
|
||||
|
21
app/_locales/hi/messages.json
generated
21
app/_locales/hi/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "$1 को निम्नलिखित तक राशि निकालने और खर्च करने की अनुमति दें:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "किसी भी अनुरोध को मंजूरी देने से पहले हमेशा अपनी खुद की उचित कर्मठता सुनिश्चित करें।"
|
||||
},
|
||||
"amount": {
|
||||
"message": "राशि"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "NFT डेटा लाने के लिए OpenSea के API का उपयोग करें। NFT ऑटो-डिटेक्शन OpenSea के API पर निर्भर करता है, और इसके बंद होने पर उपलब्ध नहीं होगा।"
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "सुरक्षा प्रदाता सक्षम करें"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "स्मार्ट लेनदेन को सक्षम करें"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "सामान्य"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "जब भी आप एक ज्ञात दुर्भावनापूर्ण अनुरोध प्राप्त करते हैं, OpenSea से चेतावनी प्राप्त करें।"
|
||||
},
|
||||
"goBack": {
|
||||
"message": "वापस जाएं"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "पर्याप्त गैस नहीं"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "अभी नहीं"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "सूचनाएं"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (बीटा)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea सुरक्षा प्रदाता"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea इस सुविधा के लिए पहला सुरक्षा प्रदाता है।अधिक प्रदाता जल्द ही आ रहे हैं!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "ओपनसी"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "कनेक्ट नहीं है"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "OpenSea के साथ सुरक्षित रहें"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "अपना Lattice1 कनेक्ट करें"
|
||||
},
|
||||
|
21
app/_locales/id/messages.json
generated
21
app/_locales/id/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Izinkan $1 untuk ditarik dan digunakan hingga jumlah berikut:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Selalu pastikan untuk melakukan uji tuntas Anda sendiri sebelum menyetujui permintaan apa pun."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Jumlah"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Gunakan API OpenSea untuk mengambil data NFT. Deteksi otomatis NFT bergantung pada API OpenSea, dan tidak akan tersedia saat API ditutup."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Aktifkan penyedia keamanan"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Aktifkan transaksi pintar"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Umum"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Dapatkan peringatan dari OpenSea setiap kali Anda menerima permintaan berbahaya yang diketahui."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Kembali"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Gas tidak cukup"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Tidak sekarang"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Notifikasi"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Penyedia keamanan OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea merupakan penyedia keamanan pertama untuk fitur ini. Penyedia lainnya akan segera hadir!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Tidak terhubung"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Tetap aman bersama OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Hubungkan Lattice1 Anda"
|
||||
},
|
||||
|
21
app/_locales/ja/messages.json
generated
21
app/_locales/ja/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "$1に以下の額までの引き出しと使用を許可します。",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "リクエストを承認する前に、必ず独自のデューデリジェンスを行ってください。"
|
||||
},
|
||||
"amount": {
|
||||
"message": "金額"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "OpenSea APIを使用してNFTデータを取得します。NFT自動検出はOpenSea APIを使用するため、この設定をオフにすると利用できなくなります。"
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "セキュリティプロバイダーを有効にする"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "スマートトランザクションを有効にする"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "一般"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "既知の悪質なリクエストを受けた際に OpenSea から警告を受けられます。"
|
||||
},
|
||||
"goBack": {
|
||||
"message": "戻る"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "ガスが不足しています"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "また後で"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "通知"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (ベータ)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea セキュリティプロバイダー"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea は、この機能を提供する最初のセキュリティプロバイダーです。他のプロバイダーも近日追加予定です!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "未接続"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "OpenSea で安全を確保"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Lattice1を接続する"
|
||||
},
|
||||
|
21
app/_locales/ko/messages.json
generated
21
app/_locales/ko/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "$1에서 다음 금액까지 인출 및 지출하도록 허용:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "모든 요청을 승인하기 전에 주의 깊게 직접 확인하세요."
|
||||
},
|
||||
"amount": {
|
||||
"message": "금액"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "OpenSea의 API를 사용하여 NFT 데이터를 가져옵니다. NFT 자동 감지는 OpenSea의 API에 의존하며 이 API가 꺼져 있으면 사용할 수 없습니다."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "보안 업체 활성화"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "스마트 트랜잭션 활성화"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "일반"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "알려진 악성 요청을 받을 때마다 OpenSea로부터 경고 알림을 받으세요."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "뒤로 가기"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "가스 부족"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "나중에"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "알림"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (베타)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea 보안 업체"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "이 기능의 1차 보안 업체는 OpenSea입니다. 곧 다른 보안 업체도 마련하겠습니다!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "연결되지 않음"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "OpenSea로 보안을 유지하세요"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Lattice1을 연결하세요."
|
||||
},
|
||||
|
21
app/_locales/pt/messages.json
generated
21
app/_locales/pt/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Permitir que $1 saque e gaste até o seguinte valor:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Certifique-se sempre de fazer sua devida diligência antes de aprovar qualquer solicitação."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Valor"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Use a API OpenSea para recuperar dados de NFTs. A detecção automática de NFTs depende da API OpenSea e não estará disponível quando essa opção estiver desativada."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Habilitar provedor de segurança"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Ativar transações inteligentes"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Geral"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Receba avisos do OpenSea sempre que receber uma solicitação maliciosa conhecida."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Voltar"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Não há gás suficiente"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Agora não"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Notificações"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Provedor de segurança OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "O OpenSea é o primeiro provedor de segurança para este recurso. Mais provedores chegarão em breve!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Não conectado"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Fique seguro com o OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Conecte seu Lattice1"
|
||||
},
|
||||
|
21
app/_locales/ru/messages.json
generated
21
app/_locales/ru/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Разрешить $1 снять и потратить до следующей суммы:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Всегда обязательно проводите собственную комплексную проверку, прежде чем утверждать какие-либо запросы."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Сумма"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Используйте API OpenSea для получения данных NFT. Для автоматического обнаружения NFT используется API OpenSea, и такое обнаружение будет недоступно, если этот API отключен."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Включить поставщика услуг безопасности"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Включить смарт-транзакции"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Общее"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Получайте предупреждения от OpenSea всякий раз, когда вы получаете заведомо вредоносный запрос."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Назад"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Недостаточно газа"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Не сейчас"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Уведомления"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (бета-версия)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Поставщик услуг безопасности OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea является первым поставщиком услуг безопасности для этой функции. Скоро появятся новые поставщики!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Не подключено"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Оставайтесь в безопасности с OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Подключите Lattice1"
|
||||
},
|
||||
|
21
app/_locales/tl/messages.json
generated
21
app/_locales/tl/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Payagan ang $1 na mag-withdraw at gastusin ang sumusunod na halaga:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Laging siguraduhin na gawin ang iyong sariling angkop na pagsusumikap bago aprubahan ang anumang mga kahilingan."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Halaga"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Gamitin ang API ng Opensea upang kunin ang NFT data. ang NFT auto-detection ay umaasa sa API ng OpenSea, at hindi magiging available kapag ito ay isinara."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Paganahin ang tagapagbigay ng seguridad"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Payagan ang mga smart transaction"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Pangkalahatan"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Makakuha ng mga babala mula sa OpenSea sa tuwing makakatanggap ka ng kilalang malisyosong kahilingan."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Bumalik"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Hindi Sapat ang Gas"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Hindi ngayon"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Mga Abiso"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea na (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Tagapagbigay ng seguridad ng OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "Ang OpenSea ay ang unang tagapagbigay ng seguridad para sa tampok na ito. Marami pang mga provider ang paparating!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Hindi konektado"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Manatiling ligtas sa OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Ikonekta ang iyong Lattice1"
|
||||
},
|
||||
|
21
app/_locales/tr/messages.json
generated
21
app/_locales/tr/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "$1 için şu tutara kadar para çekme ve harcama izni ver:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Talepleri onaylamadan önce her zaman bunu gerekli özeni göstererek yaptığınızdan emin olun."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Tutar"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "NFT verilerini almak için OpenSea API'sini kullanın. NFT otomatik algılama OpenSea API'ye dayalıdır ve bu kapatılırsa mevcut olmayacaktır."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Güvenlik sağlayıcısını etkinleştir"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Akıllı işlemleri etkinleştir"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Genel"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Bilinen bir kötü amaçlı talep aldığınızda OpenSea'den uyarı alın."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Geri git"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Yeterli gaz yok"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Şimdi değil"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Bildirimler"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea güvenlik sağlayıcısı"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea bu özellik için birinci güvenlik sağlayıcısıdır. Daha fazla sağlayıcı çok yakında gelecektir!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Bağlanmadı"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "OpenSea ile güvende kalın"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Lattice1'inizi bağlayın"
|
||||
},
|
||||
|
21
app/_locales/vi/messages.json
generated
21
app/_locales/vi/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "Cho phép $1 rút và chi tiêu tối đa số tiền sau đây:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "Nhớ luôn tự thẩm định trước khi phê duyệt bất kỳ yêu cầu nào."
|
||||
},
|
||||
"amount": {
|
||||
"message": "Số tiền"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "Sử dụng API của OpenSea để tìm nạp dữ liệu NFT. Tính năng tự động phát hiện NFT dựa vào API của OpenSea và sẽ không khả dụng nếu tính năng này bị tắt."
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "Kích hoạt nhà cung cấp bảo mật"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "Bật giao dịch thông minh"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "Chung"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "Nhận cảnh báo từ OpenSea bất cứ khi nào bạn nhận được một yêu cầu độc hại đã biết."
|
||||
},
|
||||
"goBack": {
|
||||
"message": "Quay Lại"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "Không đủ gas"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "Không phải bây giờ"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "Thông báo"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea (Beta)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "Nhà cung cấp bảo mật OpenSea"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea là nhà cung cấp bảo mật đầu tiên cho tính năng này. Sắp có thêm nhiều nhà cung cấp khác!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "Chưa kết nối"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "Đảm bảo an toàn với OpenSea"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "Kết nối với Lattice1"
|
||||
},
|
||||
|
21
app/_locales/zh_CN/messages.json
generated
21
app/_locales/zh_CN/messages.json
generated
@ -329,9 +329,6 @@
|
||||
"message": "允许 $1 提取和消费最高以下金额:",
|
||||
"description": "The url of the site that requested permission to 'withdraw and spend'"
|
||||
},
|
||||
"alwaysBeSureTo": {
|
||||
"message": "在批准任何请求之前,始终确保执行自身尽职调查。"
|
||||
},
|
||||
"amount": {
|
||||
"message": "数额"
|
||||
},
|
||||
@ -1222,9 +1219,6 @@
|
||||
"enableOpenSeaAPIDescription": {
|
||||
"message": "使用 OpenSea 的 API 获取 NFT 数据。NFT 自动检测依赖于 OpenSea 的 API,在后者关闭时自动检测将不可用。"
|
||||
},
|
||||
"enableOpenSeaSecurityProvider": {
|
||||
"message": "启用安全服务提供商"
|
||||
},
|
||||
"enableSmartTransactions": {
|
||||
"message": "启用智能交易"
|
||||
},
|
||||
@ -1519,9 +1513,6 @@
|
||||
"general": {
|
||||
"message": "常规"
|
||||
},
|
||||
"getWarningsFromOpenSea": {
|
||||
"message": "每当收到已知恶意请求,即从 OpenSea 获取警告。"
|
||||
},
|
||||
"goBack": {
|
||||
"message": "返回"
|
||||
},
|
||||
@ -2278,9 +2269,6 @@
|
||||
"notEnoughGas": {
|
||||
"message": "燃料不足"
|
||||
},
|
||||
"notNow": {
|
||||
"message": "暂时不"
|
||||
},
|
||||
"notifications": {
|
||||
"message": "通知"
|
||||
},
|
||||
@ -2611,12 +2599,6 @@
|
||||
"openSea": {
|
||||
"message": "OpenSea(测试版)"
|
||||
},
|
||||
"openSeaAltText": {
|
||||
"message": "OpenSea 安全服务提供商"
|
||||
},
|
||||
"openSeaDescription": {
|
||||
"message": "OpenSea 是该功能的第一个安全服务提供商。即将推出更多提供商!"
|
||||
},
|
||||
"openSeaNew": {
|
||||
"message": "OpenSea"
|
||||
},
|
||||
@ -3518,9 +3500,6 @@
|
||||
"statusNotConnected": {
|
||||
"message": "未连接"
|
||||
},
|
||||
"staySafeWithOpenSea": {
|
||||
"message": "通过 OpenSea 确保安全"
|
||||
},
|
||||
"step1LatticeWallet": {
|
||||
"message": "关联您的 Lattice1"
|
||||
},
|
||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 314 KiB |
@ -67,7 +67,6 @@ export default class PreferencesController {
|
||||
: LedgerTransportTypes.u2f,
|
||||
transactionSecurityCheckEnabled: false,
|
||||
theme: ThemeType.os,
|
||||
openSeaTransactionSecurityProviderPopoverHasBeenShown: false,
|
||||
...opts.initState,
|
||||
};
|
||||
|
||||
@ -204,16 +203,6 @@ export default class PreferencesController {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for the `openSeaTransactionSecurityProviderPopoverHasBeenShown` property
|
||||
*
|
||||
*/
|
||||
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown() {
|
||||
this.store.updateState({
|
||||
openSeaTransactionSecurityProviderPopoverHasBeenShown: true,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Add new methodData to state, to avoid requesting this information again through Infura
|
||||
*
|
||||
|
@ -330,28 +330,4 @@ describe('preferences controller', function () {
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('setOpenSeaTransactionSecurityProviderPopoverHasBeenShown', function () {
|
||||
it('should default to value "false"', function () {
|
||||
const state = preferencesController.store.getState();
|
||||
assert.equal(
|
||||
state.openSeaTransactionSecurityProviderPopoverHasBeenShown,
|
||||
false,
|
||||
);
|
||||
});
|
||||
|
||||
it('should set the openSeaTransactionSecurityProviderPopoverHasBeenShown to true', function () {
|
||||
const state = preferencesController.store.getState();
|
||||
assert.equal(
|
||||
state.openSeaTransactionSecurityProviderPopoverHasBeenShown,
|
||||
false,
|
||||
);
|
||||
preferencesController.setOpenSeaTransactionSecurityProviderPopoverHasBeenShown();
|
||||
assert.equal(
|
||||
preferencesController.store.getState()
|
||||
.openSeaTransactionSecurityProviderPopoverHasBeenShown,
|
||||
true,
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -1868,10 +1868,6 @@ export default class MetamaskController extends EventEmitter {
|
||||
preferencesController.setTransactionSecurityCheckEnabled.bind(
|
||||
preferencesController,
|
||||
),
|
||||
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown:
|
||||
preferencesController.setOpenSeaTransactionSecurityProviderPopoverHasBeenShown.bind(
|
||||
preferencesController,
|
||||
),
|
||||
// AssetsContractController
|
||||
getTokenStandardAndDetails: this.getTokenStandardAndDetails.bind(this),
|
||||
|
||||
|
@ -245,8 +245,6 @@ function defaultFixture() {
|
||||
useTokenDetection: false,
|
||||
useCurrencyRateCheck: true,
|
||||
useMultiAccountBalanceChecker: true,
|
||||
transactionSecurityCheckEnabled: true,
|
||||
openSeaTransactionSecurityProviderPopoverHasBeenShown: true,
|
||||
},
|
||||
SmartTransactionsController: {
|
||||
smartTransactionsState: {
|
||||
@ -360,8 +358,6 @@ function onboardingFixture() {
|
||||
useTokenDetection: false,
|
||||
useCurrencyRateCheck: true,
|
||||
useMultiAccountBalanceChecker: true,
|
||||
transactionSecurityCheckEnabled: true,
|
||||
openSeaTransactionSecurityProviderPopoverHasBeenShown: true,
|
||||
},
|
||||
SmartTransactionsController: {
|
||||
smartTransactionsState: {
|
||||
|
@ -1 +0,0 @@
|
||||
export { default } from './open-sea-whats-new-popover';
|
@ -1,6 +0,0 @@
|
||||
.open-sea-whats-new-popover {
|
||||
&__enable-security-provider-button {
|
||||
width: fit-content;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
@ -1,124 +0,0 @@
|
||||
import React, { useContext } from 'react';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
import { I18nContext } from '../../../contexts/i18n';
|
||||
import Popover from '../../ui/popover';
|
||||
import {
|
||||
DISPLAY,
|
||||
FLEX_DIRECTION,
|
||||
FONT_WEIGHT,
|
||||
TextColor,
|
||||
TextVariant,
|
||||
} from '../../../helpers/constants/design-system';
|
||||
import Button from '../../ui/button';
|
||||
import Box from '../../ui/box';
|
||||
import {
|
||||
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown,
|
||||
setTransactionSecurityCheckEnabled,
|
||||
} from '../../../store/actions';
|
||||
import { getHasTheOpenSeaTransactionSecurityProviderPopoverBeenShown } from '../../../selectors';
|
||||
import { Text } from '../../component-library';
|
||||
import { EXPERIMENTAL_ROUTE } from '../../../helpers/constants/routes';
|
||||
|
||||
export default function OpenSeaWhatsNewPopover() {
|
||||
const t = useContext(I18nContext);
|
||||
const dispatch = useDispatch();
|
||||
const history = useHistory();
|
||||
|
||||
const hasThePopoverBeenShown = useSelector(
|
||||
getHasTheOpenSeaTransactionSecurityProviderPopoverBeenShown,
|
||||
);
|
||||
|
||||
return (
|
||||
process.env.TRANSACTION_SECURITY_PROVIDER &&
|
||||
!hasThePopoverBeenShown && (
|
||||
<Popover
|
||||
title={
|
||||
<Text
|
||||
variant={TextVariant.headingSm}
|
||||
color={TextColor.textAlternative}
|
||||
fontWeight={FONT_WEIGHT.BOLD}
|
||||
>
|
||||
{t('staySafeWithOpenSea')}
|
||||
</Text>
|
||||
}
|
||||
footer={
|
||||
<>
|
||||
<Button
|
||||
type="primary"
|
||||
onClick={() => {
|
||||
dispatch(setTransactionSecurityCheckEnabled(true));
|
||||
dispatch(
|
||||
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown(),
|
||||
);
|
||||
history.push(
|
||||
`${EXPERIMENTAL_ROUTE}#transaction-security-check`,
|
||||
);
|
||||
}}
|
||||
className="open-sea-whats-new-popover__enable-security-provider-button"
|
||||
>
|
||||
{t('enableOpenSeaSecurityProvider')}
|
||||
</Button>
|
||||
<Box marginTop={2}>
|
||||
<Text variant={TextVariant.bodySm}>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() =>
|
||||
dispatch(
|
||||
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown(),
|
||||
)
|
||||
}
|
||||
>
|
||||
{t('notNow')}
|
||||
</Button>
|
||||
</Text>
|
||||
</Box>
|
||||
</>
|
||||
}
|
||||
footerClassName="smart-transactions-popover__footer"
|
||||
className="smart-transactions-popover"
|
||||
onClose={() =>
|
||||
dispatch(setOpenSeaTransactionSecurityProviderPopoverHasBeenShown())
|
||||
}
|
||||
>
|
||||
<Box
|
||||
paddingRight={6}
|
||||
paddingLeft={6}
|
||||
paddingTop={0}
|
||||
paddingBottom={0}
|
||||
display={DISPLAY.FLEX}
|
||||
className="smart-transactions-popover__content"
|
||||
>
|
||||
<Box
|
||||
marginTop={1}
|
||||
marginBottom={1}
|
||||
display={DISPLAY.FLEX}
|
||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||
>
|
||||
<img
|
||||
src="./images/open-sea-security-provider.svg"
|
||||
alt={t('openSeaAltText')}
|
||||
/>
|
||||
</Box>
|
||||
<Text variant={TextVariant.bodySm}>
|
||||
{t('getWarningsFromOpenSea')}
|
||||
</Text>
|
||||
<Text
|
||||
variant={TextVariant.bodySm}
|
||||
marginTop={4}
|
||||
fontWeight={FONT_WEIGHT.BOLD}
|
||||
>
|
||||
{t('openSeaDescription')}
|
||||
</Text>
|
||||
<Text
|
||||
variant={TextVariant.bodySm}
|
||||
color={TextColor.textAlternative}
|
||||
marginTop={4}
|
||||
>
|
||||
{t('alwaysBeSureTo')}
|
||||
</Text>
|
||||
</Box>
|
||||
</Popover>
|
||||
)
|
||||
);
|
||||
}
|
@ -54,7 +54,6 @@ import {
|
||||
ONBOARDING_SECURE_YOUR_WALLET_ROUTE,
|
||||
} from '../../helpers/constants/routes';
|
||||
import ZENDESK_URLS from '../../helpers/constants/zendesk-url';
|
||||
import OpenSeaWhatsNewPopover from '../../components/app/open-sea-whats-new-popover/open-sea-whats-new-popover';
|
||||
///: BEGIN:ONLY_INCLUDE_IN(main)
|
||||
import { SUPPORT_LINK } from '../../../shared/lib/ui-utils';
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
@ -632,7 +631,6 @@ export default class Home extends PureComponent {
|
||||
/>
|
||||
<div className="home__container">
|
||||
{showWhatsNew ? <WhatsNewPopup onClose={hideWhatsNewPopup} /> : null}
|
||||
{showWhatsNew ? <OpenSeaWhatsNewPopover /> : null}
|
||||
{!showWhatsNew && showRecoveryPhraseReminder ? (
|
||||
<RecoveryPhraseReminder
|
||||
hasBackedUp={seedPhraseBackedUp}
|
||||
|
@ -1364,9 +1364,3 @@ export function getIsDesktopEnabled(state) {
|
||||
return state.metamask.desktopEnabled;
|
||||
}
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
|
||||
export function getHasTheOpenSeaTransactionSecurityProviderPopoverBeenShown(
|
||||
state,
|
||||
) {
|
||||
return state.metamask.openSeaTransactionSecurityProviderPopoverHasBeenShown;
|
||||
}
|
||||
|
@ -4574,12 +4574,11 @@ export function hideBetaHeader() {
|
||||
export function setTransactionSecurityCheckEnabled(
|
||||
transactionSecurityCheckEnabled: boolean,
|
||||
): ThunkAction<void, MetaMaskReduxState, unknown, AnyAction> {
|
||||
return async (dispatch) => {
|
||||
return async () => {
|
||||
try {
|
||||
await submitRequestToBackground('setTransactionSecurityCheckEnabled', [
|
||||
transactionSecurityCheckEnabled,
|
||||
]);
|
||||
await forceUpdateMetamaskState(dispatch);
|
||||
} catch (error) {
|
||||
logErrorWithMessage(error);
|
||||
}
|
||||
@ -4590,19 +4589,6 @@ export function setFirstTimeUsedNetwork(chainId: string) {
|
||||
return submitRequestToBackground('setFirstTimeUsedNetwork', [chainId]);
|
||||
}
|
||||
|
||||
export function setOpenSeaTransactionSecurityProviderPopoverHasBeenShown(): ThunkAction<
|
||||
void,
|
||||
MetaMaskReduxState,
|
||||
unknown,
|
||||
AnyAction
|
||||
> {
|
||||
return async () => {
|
||||
await submitRequestToBackground(
|
||||
'setOpenSeaTransactionSecurityProviderPopoverHasBeenShown',
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
// QR Hardware Wallets
|
||||
export async function submitQRHardwareCryptoHDKey(cbor: Hex) {
|
||||
await submitRequestToBackground('submitQRHardwareCryptoHDKey', [cbor]);
|
||||
|
Loading…
Reference in New Issue
Block a user