From 6cc46454c2967b1c4dd3c0164b4f056ffb6c883c Mon Sep 17 00:00:00 2001 From: David Walsh Date: Thu, 23 Feb 2023 13:58:09 -0600 Subject: [PATCH] UX: Remove legacy metametrics modal (#17817) * UX: Remove legacy metametrics modal * Remove old localizations * Remove dead image --- app/_locales/de/messages.json | 45 --- app/_locales/el/messages.json | 45 --- app/_locales/en/messages.json | 45 --- app/_locales/es/messages.json | 45 --- app/_locales/es_419/messages.json | 45 --- app/_locales/fr/messages.json | 45 --- app/_locales/hi/messages.json | 45 --- app/_locales/id/messages.json | 45 --- app/_locales/it/messages.json | 45 --- app/_locales/ja/messages.json | 45 --- app/_locales/ko/messages.json | 45 --- app/_locales/ph/messages.json | 45 --- app/_locales/pt/messages.json | 45 --- app/_locales/pt_BR/messages.json | 45 --- app/_locales/ru/messages.json | 45 --- app/_locales/tl/messages.json | 45 --- app/_locales/tr/messages.json | 45 --- app/_locales/vi/messages.json | 45 --- app/_locales/zh_CN/messages.json | 45 --- app/_locales/zh_TW/messages.json | 10 - app/images/metrics-chart.svg | 10 - .../files-to-convert.json | 9 - ui/components/app/modals/index.scss | 1 - .../metametrics-opt-in-modal.test.js.snap | 336 ------------------ .../modals/metametrics-opt-in-modal/index.js | 1 - .../metametrics-opt-in-modal/index.scss | 30 -- .../metametrics-opt-in-modal.component.js | 162 --------- .../metametrics-opt-in-modal.container.js | 25 -- .../metametrics-opt-in-modal.test.js | 46 --- ui/components/app/modals/modal.js | 18 - ui/pages/unlock-page/README.mdx | 1 - ui/pages/unlock-page/unlock-page.component.js | 14 +- ui/pages/unlock-page/unlock-page.container.js | 3 - ui/pages/unlock-page/unlock-page.stories.js | 1 - 34 files changed, 1 insertion(+), 1521 deletions(-) delete mode 100644 app/images/metrics-chart.svg delete mode 100644 ui/components/app/modals/metametrics-opt-in-modal/__snapshots__/metametrics-opt-in-modal.test.js.snap delete mode 100644 ui/components/app/modals/metametrics-opt-in-modal/index.js delete mode 100644 ui/components/app/modals/metametrics-opt-in-modal/index.scss delete mode 100644 ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js delete mode 100644 ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.container.js delete mode 100644 ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.test.js diff --git a/app/_locales/de/messages.json b/app/_locales/de/messages.json index 8ee89befa..7895301f9 100644 --- a/app/_locales/de/messages.json +++ b/app/_locales/de/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Prioritätsgebühr (alias „Miner Tip“) geht direkt an Miner und veranlasst sie, Ihre Transaktion zu priorisieren." }, - "affirmAgree": { - "message": "Ich stimme zu" - }, "airgapVault": { "message": "AirGap-Tresor" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Verwendetes Gas" }, - "gdprMessage": { - "message": "Diese Daten werden zusammengeführt und sind daher im Sinne der Allgemeinen Datenschutzverordnung (EU) 2016/679 anonym. Weitere Informationen zu unseren Datenschutzpraktiken finden Sie in unserem $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Datenschutzrichtlinie hier", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Allgemein" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "MetaMask-Version" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Erlaubt Ihnen immer die Abmeldung über Einstellungen" - }, - "metametricsCommitmentsBoldNever": { - "message": "Nie", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask wird.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 Erfassen Sie Ihre vollständige IP-Adresse", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$ erfassen Sie Schlüssel, Adressen, Transaktionen, Salden, Hashes oder persönliche Informationen", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 Daten für Gewinn verkaufen. Niemals!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Anonymisierte Ereignisse für Klicks und Seitenaufrufe senden" - }, - "metametricsHelpImproveMetaMask": { - "message": "Hilf uns MetaMask zu verbessern" - }, - "metametricsOptInDescription": { - "message": "MetaMask möchte Nutzungsdaten sammeln, um besser zu verstehen, wie unsere Nutzer mit der Erweiterung umgehen. Diese Daten werden verwendet, um die Benutzerfreundlichkeit und das Benutzererlebnis unseres Produkts und des Ethereum-Ökosystems kontinuierlich zu verbessern." - }, "mismatchedChainLinkText": { "message": "die Netzwerkdetails überprüfen", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Keine Snaps installiert" }, - "noThanks": { - "message": "Nein Danke" - }, "noThanksVariant2": { "message": "Nein, danke." }, diff --git a/app/_locales/el/messages.json b/app/_locales/el/messages.json index 2923e1b2e..6e5d88ddc 100644 --- a/app/_locales/el/messages.json +++ b/app/_locales/el/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Το τέλος προτεραιότητας (γνωστό και ως “miner tip”) πηγαίνει άμεσα στους miner και τους ενθαρρύνει να δώσουν προτεραιότητα στη συναλλαγή σας." }, - "affirmAgree": { - "message": "Συμφωνώ" - }, "airgapVault": { "message": "Θησαυροφυλάκιο AirGap" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Τέλος συναλλαγής που Χρησιμοποιήθηκε" }, - "gdprMessage": { - "message": "Τα δεδομένα αυτά συγκεντρωτικά και, ως εκ τούτου, είναι ανώνυμα για τους σκοπούς του Γενικού Κανονισμού για την Προστασία Δεδομένων GDPR (ΕΕ) 2016/679. Για περισσότερες πληροφορίες σχετικά με τις πρακτικές απορρήτου μας, ανατρέξτε στο $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Πολιτική Απορρήτου εδώ", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Γενικά" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Έκδοση MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Σας επιτρέπεται πάντα να εξαιρεθείτε μέσω των Ρυθμίσεων" - }, - "metametricsCommitmentsBoldNever": { - "message": "Ποτέ δεν", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "Το MetaMask.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 συλλέγει την πλήρη διεύθυνση IP σας", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$ συλλέγει κλειδιά, διευθύνσεις, συναλλαγές, υπόλοιπα, συναρτήσεις κατατεμαχισμού ή οποιαδήποτε προσωπικά στοιχεία", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 πουλά δεδομένα για το κέρδος. Ποτέ!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Στείλτε ανώνυμα γεγονότα κλικ και προβολής ιστοσελίδων" - }, - "metametricsHelpImproveMetaMask": { - "message": "Βοηθήστε μας να βελτιώσουμε το MetaMask" - }, - "metametricsOptInDescription": { - "message": "Το MetaMask θα ήθελε να συγκεντρώσει δεδομένα χρήσης για να κατανοήσει καλύτερα πώς οι χρήστες μας αλληλεπιδρούν με την επέκταση. Τα δεδομένα αυτά θα χρησιμοποιηθούν για τη συνεχή βελτίωση της χρηστικότητας και της εμπειρίας χρήσης του προϊόντος μας και του οικοσυστήματος Ethereum." - }, "mismatchedChainLinkText": { "message": "επαληθεύστε τα στοιχεία δικτύου", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Δεν εγκαταστάθηκαν Snaps" }, - "noThanks": { - "message": "Όχι Ευχαριστώ" - }, "noThanksVariant2": { "message": "Όχι, ευχαριστώ." }, diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index 2fa054abf..451f866e5 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Priority fee (aka “miner tip”) goes directly to miners and incentivizes them to prioritize your transaction." }, - "affirmAgree": { - "message": "I agree" - }, "airgapVault": { "message": "AirGap Vault" }, @@ -1560,14 +1557,6 @@ "gasUsed": { "message": "Gas used" }, - "gdprMessage": { - "message": "This data is aggregated and is therefore anonymous for the purposes of General Data Protection Regulation (EU) 2016/679. For more information in relation to our privacy practices, please see our $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Privacy policy here", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "General" }, @@ -2054,37 +2043,6 @@ "metamaskVersion": { "message": "MetaMask Version" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Always allow you to opt-out via Settings" - }, - "metametricsCommitmentsBoldNever": { - "message": "Never", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask will.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 collect your full IP address", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 collect keys, addresses, transactions, balances, hashes, or any personal information", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 sell data for profit. Ever!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Send anonymized click & pageview events" - }, - "metametricsHelpImproveMetaMask": { - "message": "Help us improve MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask would like to gather usage data to better understand how our users interact with the extension. This data will be used to continually improve the usability and user experience of our product and the Ethereum ecosystem." - }, "metrics": { "message": "Metrics" }, @@ -2336,9 +2294,6 @@ "noSnaps": { "message": "No Snaps installed" }, - "noThanks": { - "message": "No thanks" - }, "noThanksVariant2": { "message": "No, thanks." }, diff --git a/app/_locales/es/messages.json b/app/_locales/es/messages.json index 88a2dc7bd..705afc965 100644 --- a/app/_locales/es/messages.json +++ b/app/_locales/es/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "La tarifa de prioridad (también llamada “propina del minero”) va directamente a los mineros para incentivarlos a priorizar su transacción." }, - "affirmAgree": { - "message": "Acepto" - }, "airgapVault": { "message": "Bóveda AirGap" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Gas usado" }, - "gdprMessage": { - "message": "Estos datos son agregados y, por lo tanto, son anónimos para los fines del Reglamento General de Protección de Datos (UE) 2016/679. Para obtener más información relacionada con nuestras prácticas de seguridad, consulte $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Política de privacidad aquí", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "General" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Versión de MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Permitirle siempre optar por no participar a través de Configuración" - }, - "metametricsCommitmentsBoldNever": { - "message": "Nunca", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask…" - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 recopilará su dirección IP completa", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 recopilará claves, direcciones, transacciones, saldos, hashes o cualquier otra información personal", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 venderá datos con afán de lucro. ¡Jamás!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Enviar eventos de vistas de página y clics anónimos" - }, - "metametricsHelpImproveMetaMask": { - "message": "Ayúdenos a mejorar MetaMask" - }, - "metametricsOptInDescription": { - "message": "A MetaMask le gustaría recopilar datos de uso para entender mejor cómo los usuarios interactúan con la extensión. Estos datos se usarán para mejorar de manera continua la usabilidad y la experiencia de usuario de nuestro producto y del ecosistema de Ethereum." - }, "mismatchedChainLinkText": { "message": "verifique los detalles de la red", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "No hay complementos instalados" }, - "noThanks": { - "message": "No, gracias" - }, "noThanksVariant2": { "message": "No, gracias." }, diff --git a/app/_locales/es_419/messages.json b/app/_locales/es_419/messages.json index 403feee73..31ff1565d 100644 --- a/app/_locales/es_419/messages.json +++ b/app/_locales/es_419/messages.json @@ -163,9 +163,6 @@ "advancedPriorityFeeToolTip": { "message": "La tarifa de prioridad (también llamada “propina del minero”) va directamente a los mineros para incentivarlos a priorizar su transacción." }, - "affirmAgree": { - "message": "Acepto" - }, "alertDisableTooltip": { "message": "Esto se puede modificar en \"Configuración > Alertas\"" }, @@ -1030,14 +1027,6 @@ "gasUsed": { "message": "Gas usado" }, - "gdprMessage": { - "message": "Estos datos son agregados y, por lo tanto, son anónimos para los fines del Reglamento General de Protección de Datos (UE) 2016/679. Para obtener más información relacionada con nuestras prácticas de seguridad, consulte $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Política de privacidad aquí", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "General" }, @@ -1383,37 +1372,6 @@ "metamaskVersion": { "message": "Versión de MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Permitirle siempre excluirse a través de Configuración" - }, - "metametricsCommitmentsBoldNever": { - "message": "Nunca", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask..." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 recopilará su dirección IP completa", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 recopilará claves, direcciones, transacciones, saldos, hashes o cualquier otra información personal", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 venderá datos con fines de lucro. ¡Jamás!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Enviar eventos de vistas de página y clics anónimos" - }, - "metametricsHelpImproveMetaMask": { - "message": "Ayúdenos a mejorar MetaMask" - }, - "metametricsOptInDescription": { - "message": "A MetaMask le gustaría recopilar datos de uso para entender mejor cómo interactúan los usuarios con la extensión. Estos datos se usarán para mejorar de manera continua la usabilidad y la experiencia de usuario de nuestro producto y del ecosistema de Ethereum." - }, "mismatchedChainLinkText": { "message": "verifique los detalles de la red", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -1565,9 +1523,6 @@ "noNFTs": { "message": "Aún no hay NFT" }, - "noThanks": { - "message": "No, gracias" - }, "noTransactions": { "message": "No tiene transacciones" }, diff --git a/app/_locales/fr/messages.json b/app/_locales/fr/messages.json index ac8e3d591..a9a7a2b0d 100644 --- a/app/_locales/fr/messages.json +++ b/app/_locales/fr/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Les frais de priorité (aussi appelés « pourboire du mineur ») vont directement aux mineurs et les incitent à accorder la priorité à votre transaction." }, - "affirmAgree": { - "message": "Je suis d’accord" - }, "airgapVault": { "message": "Coffre-fort AirGap" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Gaz utilisé" }, - "gdprMessage": { - "message": "Ces données sont agrégées et sont donc anonymes aux fins du règlement général sur la protection des données (UE) 2016/679. Pour plus d’informations concernant nos pratiques en matière de confidentialité, veuillez consulter notre $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Politique de confidentialité ici", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Général" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Version de MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Toujours pouvoir vous désinscrire via les Paramètres" - }, - "metametricsCommitmentsBoldNever": { - "message": "Jamais", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask :" - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "Ne collectera $1 votre adresse IP complète", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "Ne collectera $1 vos clés, adresses, transactions, soldes, hachages ou toute autre information personnelle", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "Ne vendra $1 de données à des fins lucratives. Jamais !", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Enverra des événements de clics et de pages vues anonymisés" - }, - "metametricsHelpImproveMetaMask": { - "message": "Aidez-nous à améliorer MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask souhaite recueillir des données d’utilisation afin de mieux comprendre comment nos utilisateurs interagissent avec l’extension. Elles seront utilisées pour améliorer en permanence la convivialité et l’expérience utilisateur de notre produit et de l’écosystème Ethereum." - }, "mismatchedChainLinkText": { "message": "vérifier les détails du réseau", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Aucun Snap installé" }, - "noThanks": { - "message": "Non merci" - }, "noThanksVariant2": { "message": "Non merci." }, diff --git a/app/_locales/hi/messages.json b/app/_locales/hi/messages.json index 9f15739aa..464a11f4c 100644 --- a/app/_locales/hi/messages.json +++ b/app/_locales/hi/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "प्राथमिकता शुल्क (उर्फ \"माइनर टिप\") सीधे खनिकों के पास जाता है और उन्हें आपके लेन-देन को प्राथमिकता देने के लिए प्रोत्साहित करता है।" }, - "affirmAgree": { - "message": "मैं सहमत हूं" - }, "airgapVault": { "message": "AirGap का वॉल्ट" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "प्रयुक्त गैस" }, - "gdprMessage": { - "message": "यह डेटा समेकित किया गया है और इसलिए सामान्य डेटा संरक्षण विनियमन (EU) 2016/679 के प्रयोजनों के लिए बेनाम है। हमारी गोपनीयता प्रक्रियाओं के संबंध में अधिक जानकारी के लिए, कृपया हमारे $1 देखें।", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "गोपनीयता नीति यहां है", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "सामान्य" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "MetaMask संस्करण" }, - "metametricsCommitmentsAllowOptOut": { - "message": "हमेशा आपको सेटिंग्स के माध्यम से ऑप्ट-आउट करने की अनुमति देगा" - }, - "metametricsCommitmentsBoldNever": { - "message": "कभी नहीं", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask निम्न चीजें करेगा.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 आपका पूरा IP पता एकत्र करेगा", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 कुंजी, पते, लेनदेन, शेषराशि, हैश या कोई भी व्यक्तिगत जानकारी एकत्र करता है", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 लाभ के लिए डेटा बेचता है। कभी भी!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "बेनाम क्लिक और पेजव्यू ईवेंट भेजता है" - }, - "metametricsHelpImproveMetaMask": { - "message": "MetaMask को बेहतर बनाने में हमारी मदद करें" - }, - "metametricsOptInDescription": { - "message": "MetaMask इस बात की बेहतर समझ प्राप्त करने के लिए डेटा एकत्र करना चाहता है कि हमारे उपयोगकर्ता विस्तार के साथ कैसे सहभागिता करते हैं। इस डेटा का उपयोग हमारे उत्पाद और Ethereum पारिस्थितिकी तंत्र की उपयोगिता और उपयोगकर्ता अनुभव को लगातार सुधारने के लिए किया जाएगा।" - }, "mismatchedChainLinkText": { "message": "नेटवर्क विवरण सत्यापित करें", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "कोई स्नैप इंस्टाल नहीं किया गया" }, - "noThanks": { - "message": "जी नहीं, धन्यवाद" - }, "noThanksVariant2": { "message": "नहीं, धन्यवाद।" }, diff --git a/app/_locales/id/messages.json b/app/_locales/id/messages.json index 72d9305d8..2e4827739 100644 --- a/app/_locales/id/messages.json +++ b/app/_locales/id/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Biaya prioritas (alias “tip penambang”) langsung masuk ke penambang dan memberi insentif kepada mereka untuk memprioritaskan transaksi Anda." }, - "affirmAgree": { - "message": "Saya setuju" - }, "airgapVault": { "message": "Brankas AirGap" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Gas yang digunakan" }, - "gdprMessage": { - "message": "Data ini dikumpulkan dan oleh karenanya bersifat anonim untuk tujuan Peraturan Perlindungan Data Umum (UE) 2016/679. Untuk informasi selengkapnya sehubungan dengan praktik privasi kami, lihat $1 kami.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Kebijakan privasi di sini", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Umum" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Versi MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Selalu izinkan Anda untuk keluar melalui Pengaturan" - }, - "metametricsCommitmentsBoldNever": { - "message": "Jangan", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask akan.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 mengumpulkan alamat IP lengkap Anda", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 mengumpulkan kunci, alamat, transaksi, saldo, hash, atau informasi pribadi lainnya", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 menjual data untuk mendapatkan keuntungan. Jangan pernah!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Kirim kejadian pageview & klik anonim" - }, - "metametricsHelpImproveMetaMask": { - "message": "Bantu Kami Menyempurnakan MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask ingin mengumpulkan data penggunaan untuk lebih memahami cara pengguna berinteraksi dengan ekstensi. Data ini akan digunakan untuk meningkatkan kegunaan dan pengalaman pengguna atas produk kami dan ekosistem Ethereum secara berkala." - }, "mismatchedChainLinkText": { "message": "memverifikasi detail jaringan", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Belum ada Snap yang diinstal" }, - "noThanks": { - "message": "Tidak, terima kasih" - }, "noThanksVariant2": { "message": "Tidak, terima kasih." }, diff --git a/app/_locales/it/messages.json b/app/_locales/it/messages.json index 30144c026..df6b077d8 100644 --- a/app/_locales/it/messages.json +++ b/app/_locales/it/messages.json @@ -228,9 +228,6 @@ "advancedPriorityFeeToolTip": { "message": "La commissione di priorità avanzata (nota anche come \"suggerimento del minatore\") va direttamente ai minatori e li incentiva a dare la priorità alla tua commissione di transazione." }, - "affirmAgree": { - "message": "Acconsento" - }, "alertDisableTooltip": { "message": "Può essere cambiato in \"Impostazioni > Avvisi\"" }, @@ -1040,14 +1037,6 @@ "gasUsed": { "message": "Gas Utilizzato" }, - "gdprMessage": { - "message": "Questi dati sono aggregati e sono quindi anonimi per le finalità del Regolamento generale sulla protezione dei dati (UE) 2016/679. Per maggiori informazioni sulla nostra politica sulla privacy, vedi $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Politica Privacy qua", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Generale" }, @@ -1239,37 +1228,6 @@ "metamaskVersion": { "message": "versione di MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Ti consentirà sempre di rimuovere il consenso tramite Impostazioni" - }, - "metametricsCommitmentsBoldNever": { - "message": "Non", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 raccoglierà il tuo indirizzo IP completo", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 raccoglierà chiavi, indirizzi, transazioni, bilanci, hash, o qualsiasi altra informazione personale", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 venderà i tuoi dati per profitto. Mai!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Invierà click e visualizzazioni di pagina in modo anonimo" - }, - "metametricsHelpImproveMetaMask": { - "message": "Aiutaci a Migliorare MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask vorrebbe raccogliere dati di utilizzo per capire meglio come gli utenti interagiscono con l'estensione. Questi dati verranno usati continuamente per migliorare l'usabilità e l'esperienza utente dei nostri prodotti e dell'ecosistema Ethereum." - }, "mustSelectOne": { "message": "Devi selezionare almeno un token." }, @@ -1330,9 +1288,6 @@ "noConversionRateAvailable": { "message": "Tasso di conversione non disponibile" }, - "noThanks": { - "message": "No Grazie" - }, "noTransactions": { "message": "Nessuna Transazione" }, diff --git a/app/_locales/ja/messages.json b/app/_locales/ja/messages.json index 608943fac..079811756 100644 --- a/app/_locales/ja/messages.json +++ b/app/_locales/ja/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "優先手数料 (別名「マイナーチップ」) はマイナーに直接支払われ、トランザクションを優先するインセンティブとなります。" }, - "affirmAgree": { - "message": "同意する" - }, "airgapVault": { "message": "AirGap Vault" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "ガス使用量" }, - "gdprMessage": { - "message": "このデータは集約されているため、一般データ保護規則 (EU) (規則 2016/679) の目的において匿名とされます。弊社の個人情報の取り扱いに関する詳細については、弊社の$1をご覧ください。", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "プライバシーポリシーはこちら", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "一般" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "MetaMaskのバージョン" }, - "metametricsCommitmentsAllowOptOut": { - "message": "いつでも設定からオプトアウトできるようにします" - }, - "metametricsCommitmentsBoldNever": { - "message": "実行しない", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMaskが実行する内容" - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1が完全なIPアドレスを収集することはありません", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1は、キー、アドレス、トランザクション、残高、ハッシュなど、いかなる個人情報も収集しません", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1が営利目的でデータを販売することは決してありません。", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "匿名化されたクリック・ページビューイベントを送信します" - }, - "metametricsHelpImproveMetaMask": { - "message": "MetaMaskの品質向上へのご協力のお願い" - }, - "metametricsOptInDescription": { - "message": "MetaMaskでは、ユーザーによる拡張機能の利用状況についてよりよく理解するため、基本的な使用状況データを収集させていただきたいと考えています。このデータは、当社の製品およびイーサリアムエコシステムの使いやすさとユーザーエクスペリエンスを継続的に改善するために使用されます。" - }, "mismatchedChainLinkText": { "message": "ネットワークの詳細の確認", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "スナップがインストールされていません" }, - "noThanks": { - "message": "結構です" - }, "noThanksVariant2": { "message": "結構です。" }, diff --git a/app/_locales/ko/messages.json b/app/_locales/ko/messages.json index 10fd7877f..5222265ad 100644 --- a/app/_locales/ko/messages.json +++ b/app/_locales/ko/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "우선 요금(일명 \"채굴자 팁\")이란 나와 먼저 거래한 것에 대한 인센티브로 채굴자에게 직접 전달되는 금액입니다." }, - "affirmAgree": { - "message": "동의함" - }, "airgapVault": { "message": "에어갭 볼트" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "가스 사용됨" }, - "gdprMessage": { - "message": "이 데이터는 집계 처리된 정보이며 일반 데이터 보호 규정 (EU) 2016/679의 목적에 따라 익명으로 관리됩니다. 당사의 개인정보보호 관행에 관한 자세한 내용은 $1을 참조하세요.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "개인정보처리방침", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "일반" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "MetaMask 버전" }, - "metametricsCommitmentsAllowOptOut": { - "message": "언제든 설정을 통해 옵트아웃할 수 있습니다." - }, - "metametricsCommitmentsBoldNever": { - "message": "절대로", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask에서는.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "전체 IP 주소를 절대 수집하지 않습니다.", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "키, 주소, 거래, 잔액, 해시 또는 개인 정보를 절대 수집하지 않습니다.", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 수익을 위해 데이터를 판매하지 않습니다!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "익명화된 클릭 및 페이지뷰 이벤트 보내기" - }, - "metametricsHelpImproveMetaMask": { - "message": "MetaMask 개선에 참여" - }, - "metametricsOptInDescription": { - "message": "MetaMask는 사용자가 확장 프로그램과 상호작용하는 방식을 자세히 이해하기 위해 사용 데이터를 수집하고자 합니다. 수집한 데이터는 당사의 제품과 이더리움 에코시스템의 사용 편의성 및 사용자 경험을 지속적으로 개선하는 데 활용됩니다." - }, "mismatchedChainLinkText": { "message": "네트워크 세부 정보 검증", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "설치된 스냅이 없습니다" }, - "noThanks": { - "message": "괜찮습니다" - }, "noThanksVariant2": { "message": "아니요, 괜찮습니다." }, diff --git a/app/_locales/ph/messages.json b/app/_locales/ph/messages.json index b138578fe..6d55acc85 100644 --- a/app/_locales/ph/messages.json +++ b/app/_locales/ph/messages.json @@ -78,9 +78,6 @@ "advanced": { "message": "Advanced" }, - "affirmAgree": { - "message": "Sang-ayon ako" - }, "alertDisableTooltip": { "message": "Mababago ito sa \"Mga Setting > Mga Alerto\"" }, @@ -651,14 +648,6 @@ "gasUsed": { "message": "Nagamit na Gas" }, - "gdprMessage": { - "message": "Ang data na ito ay pinagsama-sama at ginawang anonymous para sa mga layunin ng General Data Protection Regulation (EU) 2016/679. Para sa higit pang impormasyon kaugnay ng aming mga kagawian sa pagkapribado, pakitingnan ang aming $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Patakaran sa Pagkapribado rito", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Pangkalahatan" }, @@ -882,37 +871,6 @@ "metamaskVersion": { "message": "Bersyon ng MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Palagi kang papayagang mag-opt out sa pamamagitan ng Mga Setting" - }, - "metametricsCommitmentsBoldNever": { - "message": "Huwag Kailanman", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "Gagawin ng MetaMask ang sumusunod..." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 kolektahin ang iyong IP address", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 nangongolekta ng mga key, address, transaksyon, balanse, hash, o anumang personal na impormasyon", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 nagbebenta ng data para pagkakitaan. Kahit kailan!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Magpapadala ng mga anonymous na kaganapang pag-click at pagtingin sa page" - }, - "metametricsHelpImproveMetaMask": { - "message": "Tulungan Kaming Mapahusay ang MetaMask" - }, - "metametricsOptInDescription": { - "message": "Gustong kunin ng MetaMask ang data ng paggamit para mas maunawaan kung paano ginagamit ng mga user namin ang extension. Gagamitin ang data na ito para patuloy na mapahusay ang kakayahang magamit at karanasan ng user sa paggamit ng produkto namin at Ethereum ecosystem." - }, "mismatchedChainLinkText": { "message": "i-verify ang mga detalye ng network", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -1005,9 +963,6 @@ "noConversionRateAvailable": { "message": "Hindi Available ang Rate ng Conversion" }, - "noThanks": { - "message": "Huwag na lang" - }, "noTransactions": { "message": "Wala kang transaksyon" }, diff --git a/app/_locales/pt/messages.json b/app/_locales/pt/messages.json index 2c029a38a..99bf8ee3d 100644 --- a/app/_locales/pt/messages.json +++ b/app/_locales/pt/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "A taxa de prioridade (ou seja, \"gorjeta do minerador\") vai diretamente para os mineradores e os incentiva a priorizar a sua transação." }, - "affirmAgree": { - "message": "Concordo" - }, "airgapVault": { "message": "AirGap Vault" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Gás usado" }, - "gdprMessage": { - "message": "Conforme determinação da Lei Geral de Proteção de Dados (União Europeia) 2016/679, esses dados são agregados e, portanto, anônimos. Para obter mais informações relacionadas às nossas práticas de privacidade, confira nossa $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Política de Privacidade aqui", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Geral" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Versão da MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Sempre permitirá que você revogue a permissão nas configurações" - }, - "metametricsCommitmentsBoldNever": { - "message": "Nunca", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "A MetaMask.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 coletarão seu endereço IP completo", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 coletarão chaves, endereços, transações, saldos, hashes ou qualquer outra informação pessoal", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 venderão dados em troca de lucro. Jamais!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Enviará eventos anonimizados de cliques e visualizações de páginas" - }, - "metametricsHelpImproveMetaMask": { - "message": "Ajude a melhorar a MetaMask" - }, - "metametricsOptInDescription": { - "message": "A MetaMask gostaria de reunir dados de uso para entender melhor como nossos usuários interagem com a extensão. Esses dados serão usados para melhorar continuamente a usabilidade e a experiência do usuário com o nosso produto e o ecossistema do Ethereum." - }, "mismatchedChainLinkText": { "message": "verifique os detalhes da rede", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Nenhum snap instalado" }, - "noThanks": { - "message": "Não, obrigado" - }, "noThanksVariant2": { "message": "Não, obrigado." }, diff --git a/app/_locales/pt_BR/messages.json b/app/_locales/pt_BR/messages.json index 137edd2ef..3b53778c2 100644 --- a/app/_locales/pt_BR/messages.json +++ b/app/_locales/pt_BR/messages.json @@ -163,9 +163,6 @@ "advancedPriorityFeeToolTip": { "message": "A taxa de prioridade (ou seja, \"gorjeta do minerador\") vai diretamente para os mineradores e os incentiva a priorizar a sua transação." }, - "affirmAgree": { - "message": "Concordo" - }, "alertDisableTooltip": { "message": "Isso pode ser alterado em \"Configurações > Alertas\"" }, @@ -1030,14 +1027,6 @@ "gasUsed": { "message": "Gás usado" }, - "gdprMessage": { - "message": "Conforme determinação da Lei Geral de Proteção de Dados (União Europeia) 2016/679, esses dados são agregados e, portanto, anônimos. Para obter mais informações relacionadas às nossas práticas de privacidade, confira nossa $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Política de Privacidade aqui", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Geral" }, @@ -1383,37 +1372,6 @@ "metamaskVersion": { "message": "Versão da MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Sempre permitirá que você se exclua por meio das Configurações" - }, - "metametricsCommitmentsBoldNever": { - "message": "Nunca", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "A MetaMask..." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 coletarão seu endereço IP completo", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 coletarão chaves, endereços, transações, saldos, hashes ou qualquer outra informação pessoal", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 venderão dados em troca de lucro. Jamais!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Enviarão eventos anonimizados de cliques e visualização de página" - }, - "metametricsHelpImproveMetaMask": { - "message": "Ajude-nos a melhorar a MetaMask" - }, - "metametricsOptInDescription": { - "message": "A MetaMask gostaria de reunir dados de uso para entender melhor como nossos usuários interagem com a extensão. Esses dados serão usados para melhorar continuamente a usabilidade e a experiência do usuário com o nosso produto e o ecossistema do Ethereum." - }, "mismatchedChainLinkText": { "message": "verifique os detalhes da rede", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -1565,9 +1523,6 @@ "noNFTs": { "message": "Ainda não há nenhum NFT" }, - "noThanks": { - "message": "Não, obrigado" - }, "noTransactions": { "message": "Você não tem transações" }, diff --git a/app/_locales/ru/messages.json b/app/_locales/ru/messages.json index cc5b2f88f..72354ed4c 100644 --- a/app/_locales/ru/messages.json +++ b/app/_locales/ru/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Плата за приоритет (также известная как «чаевые майнеру») направляется непосредственно майнерам, чтобы они уделили приоритетное внимание вашей транзакции." }, - "affirmAgree": { - "message": "Я согласен(-на)" - }, "airgapVault": { "message": "Хранилище AirGap" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Использовано газа" }, - "gdprMessage": { - "message": "Эти данные агрегированы и поэтому анонимны для целей Общего регламента по защите данных (ЕС) 2016/679. Дополнительная информация о наших методах защиты конфиденциальности приводится в нашей $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Политикой конфиденциальности здесь", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Общее" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Версия MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Всегда разрешать вам отказываться в Настройках" - }, - "metametricsCommitmentsBoldNever": { - "message": "Никогда", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask..." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 не сохраняет ваш полный IP-адрес", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 не хранит ключи, адреса, транзакции, балансы, хэши или любые личные данные", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 не продает данные для получения прибыли. Никогда!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Отправлять анонимизированные события кликов и просмотров страниц" - }, - "metametricsHelpImproveMetaMask": { - "message": "Помогите нам улучшить MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask хотел бы собрать основные данные об использовании, чтобы лучше понять, как наши пользователи взаимодействуют с расширением. Эти данные будут использоваться для постоянного повышения удобства и улучшения впечатлений от использования нашего продукта и экосистемы Ethereum." - }, "mismatchedChainLinkText": { "message": "проверить сведения о сети", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Снапы не установлены" }, - "noThanks": { - "message": "Нет, спасибо" - }, "noThanksVariant2": { "message": "Нет, спасибо." }, diff --git a/app/_locales/tl/messages.json b/app/_locales/tl/messages.json index d7158e5c5..6300ac771 100644 --- a/app/_locales/tl/messages.json +++ b/app/_locales/tl/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Ang priority fee (kilala rin bilang “tip ng miner”) ay direktang napupunta sa mga miner at ginagawang insentibo ang mga ito upang unahin ang iyong mga transaksyon." }, - "affirmAgree": { - "message": "Sang-ayon Ako" - }, "airgapVault": { "message": "AirGap Vault" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Nagamit na Gas" }, - "gdprMessage": { - "message": "Ang data na ito ay pinagsama-sama at ginawang anonymous para sa mga layunin ng General Data Protection Regulation (EU) 2016/679. Para sa higit pang impormasyon kaugnay ng aming mga kagawian sa pagkapribado, pakitingnan ang aming $1.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Patakaran sa Pagkapribado rito", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Pangkalahatan" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Bersyon ng MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Palagi kang papayagang mag-opt out sa pamamagitan ng Mga Setting" - }, - "metametricsCommitmentsBoldNever": { - "message": "Huwag Kailanman", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "Ang MetaMask ay.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 kolektahin ang iyong IP address", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 nangongolekta ng mga key, address, transaksyon, balanse, hash, o anumang personal na impormasyon", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 nagbebenta ng data para pagkakitaan. Kahit kailan!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Magpapadala ng mga anonymous na kaganapang pag-click at pagtingin sa page" - }, - "metametricsHelpImproveMetaMask": { - "message": "Tulungan Kaming Mapahusay ang MetaMask" - }, - "metametricsOptInDescription": { - "message": "Gustong kunin ng MetaMask ang data ng paggamit para mas maunawaan kung paano ginagamit ng mga user namin ang extension. Gagamitin ang data na ito para patuloy na mapahusay ang kakayahang magamit at karanasan ng user sa paggamit ng produkto namin at Ethereum ecosystem." - }, "mismatchedChainLinkText": { "message": "i-verify ang mga detalye ng network", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Walang mga Snap na naka-install" }, - "noThanks": { - "message": "Huwag na lang" - }, "noThanksVariant2": { "message": "Huwag na lang." }, diff --git a/app/_locales/tr/messages.json b/app/_locales/tr/messages.json index aeee7ac0b..ee0882b2e 100644 --- a/app/_locales/tr/messages.json +++ b/app/_locales/tr/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Maks. öncelik ücreti (başka bir deyişle \"madenci bahşişi\") doğrudan madencilere gider ve işleminizin öncelikli olarak gerçekleştirilmesini teşvik eder." }, - "affirmAgree": { - "message": "Kabul Ediyorum" - }, "airgapVault": { "message": "AirGap Kasası" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Kullanılan gaz" }, - "gdprMessage": { - "message": "Bu veri toplanmıştır ve bu nedenle 2016/679 sayılı Genel Veri Koruma Düzenlemesi (AB) maksadıyla isimsizdir. Gizlilik uygulamalarımız hakkında daha fazla bilgi edinmek için lütfen $1 bölümümüze bakın.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "buradan Gizlilik politikası", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Genel" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "MetaMask Sürümü" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Dilediğiniz zaman Ayarlar kısmında vazgeçebilmenize olanak tanır" - }, - "metametricsCommitmentsBoldNever": { - "message": "Hiçbir zaman", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 IP adresinizin tamamını almaz", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 anahtarları, adresleri, işlemleri, bakiyeleri, doğrulama değerlerini veya kişisel bilgileri toplamaz", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 kâr elde etmek için verilerinizi satmaz. Asla!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "İsimsizleştirilmiş tıklama ve sayfa görüntüleme olaylarını gönder" - }, - "metametricsHelpImproveMetaMask": { - "message": "MetaMask'i geliştirmemize yardımcı olun" - }, - "metametricsOptInDescription": { - "message": "MetaMask, kullanıcılarımızın uzantıyı nasıl kullandıklarını daha iyi anlamak amacıyla kullanım verilerini toplamak istiyor. Bu veriler ürünümüzün ve Ethereum eko-sisteminin kullanılabilirliği ve kullanıcı deneyimini geliştirmek için sürekli olarak kullanılacaktır." - }, "mismatchedChainLinkText": { "message": "ağ bilgilerini doğrula", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Hiç Snap yüklü değil" }, - "noThanks": { - "message": "Hayır, teşekkürler" - }, "noThanksVariant2": { "message": "Hayır, teşekkürler." }, diff --git a/app/_locales/vi/messages.json b/app/_locales/vi/messages.json index d1f59efda..7a0f6ea93 100644 --- a/app/_locales/vi/messages.json +++ b/app/_locales/vi/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "Phí ưu tiên (hay còn được gọi là \"phí khích lệ thợ đào\") được chuyển trực tiếp cho các thợ đào và khuyến khích họ ưu tiên giao dịch của bạn." }, - "affirmAgree": { - "message": "Tôi đồng ý" - }, "airgapVault": { "message": "AirGap Vault" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "Đã dùng gas" }, - "gdprMessage": { - "message": "Đây là dữ liệu tổng hợp, do đó ở trạng thái ẩn danh để phục vụ cho mục đích của Quy định chung về bảo vệ dữ liệu (Liên minh Châu Âu) 2016/679. Để biết thêm thông tin liên quan đến các phương thức bảo vệ quyền riêng tư của chúng tôi, vui lòng xem $1 của chúng tôi.", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "Chính sách quyền riêng tư tại đây", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "Chung" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "Phiên bản MetaMask" }, - "metametricsCommitmentsAllowOptOut": { - "message": "Luôn cho phép bạn chọn không tham gia thông qua phần Cài đặt" - }, - "metametricsCommitmentsBoldNever": { - "message": "Không bao giờ", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask sẽ.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 thu thập địa chỉ IP đầy đủ của bạn", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 thu thập mã khóa, địa chỉ, giao dịch, số dư, mã băm hoặc bất kỳ thông tin cá nhân nào", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 bán dữ liệu để thu lợi. Tuyệt đối không bao giờ!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "Gửi các lượt nhấn và xem trang đã được ẩn danh" - }, - "metametricsHelpImproveMetaMask": { - "message": "Giúp chúng tôi cải thiện MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask muốn thu thập dữ liệu sử dụng để hiểu rõ hơn về cách người dùng tương tác với tiện ích. Chúng tôi sẽ dùng dữ liệu này để liên tục cải thiện độ hữu ích và trải nghiệm người dùng trên sản phẩm của mình và hệ sinh thái Ethereum." - }, "mismatchedChainLinkText": { "message": "xác minh thông tin về mạng", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "Chưa cài đặt Snap nào" }, - "noThanks": { - "message": "Không, cảm ơn" - }, "noThanksVariant2": { "message": "Không, cảm ơn." }, diff --git a/app/_locales/zh_CN/messages.json b/app/_locales/zh_CN/messages.json index 5d5f8146f..2577028e7 100644 --- a/app/_locales/zh_CN/messages.json +++ b/app/_locales/zh_CN/messages.json @@ -290,9 +290,6 @@ "advancedPriorityFeeToolTip": { "message": "优先费(又称“矿工费”)直接向矿工支付,激励他们优先处理您的交易。" }, - "affirmAgree": { - "message": "我同意" - }, "airgapVault": { "message": "AirGap Vault" }, @@ -1432,14 +1429,6 @@ "gasUsed": { "message": "使用的燃料" }, - "gdprMessage": { - "message": "这些数据是汇总的,因此,根据《通用数据保护条例》(欧盟)2016/679,这些数据是匿名的。有关我们隐私惯例的更多信息,请参见我们的 $1。", - "description": "$1 refers to the gdprMessagePrivacyPolicy message, the translation of which is meant to be used exclusively in the context of gdprMessage" - }, - "gdprMessagePrivacyPolicy": { - "message": "隐私政策", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "常规" }, @@ -1894,37 +1883,6 @@ "metamaskVersion": { "message": "MetaMask 版本" }, - "metametricsCommitmentsAllowOptOut": { - "message": "始终允许您通过“设置”选择退出" - }, - "metametricsCommitmentsBoldNever": { - "message": "永不", - "description": "This string is localized separately from some of the commitments so that we can bold it" - }, - "metametricsCommitmentsIntro": { - "message": "MetaMask.." - }, - "metametricsCommitmentsNeverCollectIP": { - "message": "$1 收集您的完整 IP 地址", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverCollectKeysEtc": { - "message": "$1 收集密钥、地址、交易记录、余额、哈希或任何个人信息", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsNeverSellDataForProfit": { - "message": "$1 为利益而出售您的数据,永远不会!", - "description": "The $1 is the bolded word 'Never', from 'metametricsCommitmentsBoldNever'" - }, - "metametricsCommitmentsSendAnonymizedEvents": { - "message": "发送匿名化点击和页面浏览事件" - }, - "metametricsHelpImproveMetaMask": { - "message": "帮助我们改进 MetaMask" - }, - "metametricsOptInDescription": { - "message": "MetaMask 希望收集使用数据,以更好地了解我们的用户如何与扩展程序交互。这些数据将被用于持续改进我们产品和以太坊生态系统的可用性和用户体验。" - }, "mismatchedChainLinkText": { "message": "验证网络信息", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2164,9 +2122,6 @@ "noSnaps": { "message": "没有安装Snap" }, - "noThanks": { - "message": "不,谢谢" - }, "noThanksVariant2": { "message": "不,谢谢." }, diff --git a/app/_locales/zh_TW/messages.json b/app/_locales/zh_TW/messages.json index 811be212c..badb17ff3 100644 --- a/app/_locales/zh_TW/messages.json +++ b/app/_locales/zh_TW/messages.json @@ -77,9 +77,6 @@ "advanced": { "message": "進階" }, - "affirmAgree": { - "message": "我同意" - }, "alertDisableTooltip": { "message": "這可以在「設定 > 提醒」裡變更" }, @@ -669,10 +666,6 @@ "gasUsed": { "message": "Gas 用量" }, - "gdprMessagePrivacyPolicy": { - "message": "Privacy Policy here", - "description": "this translation is intended to be exclusively used as the replacement for the $1 in the gdprMessage translation" - }, "general": { "message": "一般" }, @@ -986,9 +979,6 @@ "noConversionRateAvailable": { "message": "尚未有匯率比較值" }, - "noThanks": { - "message": "不了" - }, "noTransactions": { "message": "尚未有交易" }, diff --git a/app/images/metrics-chart.svg b/app/images/metrics-chart.svg deleted file mode 100644 index 4bd330d40..000000000 --- a/app/images/metrics-chart.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/development/ts-migration-dashboard/files-to-convert.json b/development/ts-migration-dashboard/files-to-convert.json index 00b93477a..331814af4 100644 --- a/development/ts-migration-dashboard/files-to-convert.json +++ b/development/ts-migration-dashboard/files-to-convert.json @@ -615,10 +615,6 @@ "ui/components/app/modals/hide-token-confirmation-modal/hide-token-confirmation.stories.js", "ui/components/app/modals/hide-token-confirmation-modal/index.js", "ui/components/app/modals/index.js", - "ui/components/app/modals/metametrics-opt-in-modal/index.js", - "ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js", - "ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.container.js", - "ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.test.js", "ui/components/app/modals/modal.js", "ui/components/app/modals/new-account-modal/index.js", "ui/components/app/modals/new-account-modal/new-account-modal.component.js", @@ -1302,11 +1298,6 @@ "ui/pages/first-time-flow/first-time-flow.component.js", "ui/pages/first-time-flow/first-time-flow.container.js", "ui/pages/first-time-flow/index.js", - "ui/pages/first-time-flow/metametrics-opt-in/index.js", - "ui/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js", - "ui/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.container.js", - "ui/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.stories.js", - "ui/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.test.js", "ui/pages/first-time-flow/onboarding-initiator-util.js", "ui/pages/first-time-flow/seed-phrase/confirm-seed-phrase-component.test.js", "ui/pages/first-time-flow/seed-phrase/confirm-seed-phrase/confirm-seed-phrase.component.js", diff --git a/ui/components/app/modals/index.scss b/ui/components/app/modals/index.scss index be8d35f3d..9c8f8a03f 100644 --- a/ui/components/app/modals/index.scss +++ b/ui/components/app/modals/index.scss @@ -5,7 +5,6 @@ @import 'edit-approval-permission/index'; @import 'export-private-key-modal/index'; @import 'hide-token-confirmation-modal/index'; -@import 'metametrics-opt-in-modal/index'; @import 'new-account-modal/index'; @import 'qr-scanner/index'; @import 'transaction-confirmed/index'; diff --git a/ui/components/app/modals/metametrics-opt-in-modal/__snapshots__/metametrics-opt-in-modal.test.js.snap b/ui/components/app/modals/metametrics-opt-in-modal/__snapshots__/metametrics-opt-in-modal.test.js.snap deleted file mode 100644 index 4b6a393d2..000000000 --- a/ui/components/app/modals/metametrics-opt-in-modal/__snapshots__/metametrics-opt-in-modal.test.js.snap +++ /dev/null @@ -1,336 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`MetaMetrics Opt In should match snapshot 1`] = ` -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- [metametricsHelpImproveMetaMask] -
-
-
- [metametricsOptInDescription] -
-
- [metametricsCommitmentsIntro] -
-
-
- -
- [metametricsCommitmentsAllowOptOut] -
-
-
- -
- [metametricsCommitmentsSendAnonymizedEvents] -
-
-
- -
- [metametricsCommitmentsNeverCollectKeysEtc] -
-
-
- -
- [metametricsCommitmentsNeverCollectIP] -
-
-
- -
- [metametricsCommitmentsNeverSellDataForProfit] -
-
-
-
-
- [gdprMessage] -
-
- -
-
-
-`; diff --git a/ui/components/app/modals/metametrics-opt-in-modal/index.js b/ui/components/app/modals/metametrics-opt-in-modal/index.js deleted file mode 100644 index e41006182..000000000 --- a/ui/components/app/modals/metametrics-opt-in-modal/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from './metametrics-opt-in-modal.container'; diff --git a/ui/components/app/modals/metametrics-opt-in-modal/index.scss b/ui/components/app/modals/metametrics-opt-in-modal/index.scss deleted file mode 100644 index acfdf9be8..000000000 --- a/ui/components/app/modals/metametrics-opt-in-modal/index.scss +++ /dev/null @@ -1,30 +0,0 @@ -.metametrics-opt-in-modal { - .metametrics-opt-in__main { - justify-content: center; - margin-left: 3%; - margin-right: 0%; - max-height: 75vh; - - @include screen-sm-max { - max-height: 100vh; - } - } - - - .metametrics-opt-in__title { - @include H1; - } - - .metametrics-opt-in__content { - padding-right: 6px; - } - - .metametrics-opt-in__footer { - @include screen-sm-max { - margin-top: 10px; - justify-content: center; - margin-left: 2%; - max-height: 520px; - } - } -} diff --git a/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js b/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js deleted file mode 100644 index 5f5897959..000000000 --- a/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js +++ /dev/null @@ -1,162 +0,0 @@ -import React, { Component } from 'react'; -import PropTypes from 'prop-types'; - -import MetaFoxLogo from '../../../ui/metafox-logo'; -import PageContainerFooter from '../../../ui/page-container/page-container-footer'; -import { - EVENT, - EVENT_NAMES, -} from '../../../../../shared/constants/metametrics'; -import { Icon, ICON_NAMES } from '../../../component-library'; - -export default class MetaMetricsOptInModal extends Component { - static propTypes = { - setParticipateInMetaMetrics: PropTypes.func, - hideModal: PropTypes.func, - }; - - static contextTypes = { - trackEvent: PropTypes.func, - t: PropTypes.func, - }; - - render() { - const { trackEvent, t } = this.context; - const { setParticipateInMetaMetrics, hideModal } = this.props; - - return ( -
-
-
- -
- -
-
- {t('metametricsHelpImproveMetaMask')} -
-
-
- {t('metametricsOptInDescription')} -
-
- {t('metametricsCommitmentsIntro')} -
- -
-
- -
- {t('metametricsCommitmentsAllowOptOut')} -
-
-
- -
- {t('metametricsCommitmentsSendAnonymizedEvents')} -
-
-
- -
- {t('metametricsCommitmentsNeverCollectKeysEtc', [ - - {t('metametricsCommitmentsBoldNever')} - , - ])} -
-
-
- -
- {t('metametricsCommitmentsNeverCollectIP', [ - - {t('metametricsCommitmentsBoldNever')} - , - ])} -
-
-
- -
- {t('metametricsCommitmentsNeverSellDataForProfit', [ - - {t('metametricsCommitmentsBoldNever')} - , - ])} -
-
-
-
-
- {t('gdprMessage', [ - - {t('gdprMessagePrivacyPolicy')} - , - ])} -
-
-
- { - setParticipateInMetaMetrics(false).then(() => { - trackEvent( - { - category: EVENT.CATEGORIES.ONBOARDING, - event: EVENT_NAMES.METRICS_OPT_OUT, - properties: { - action: 'Metrics Option', - legacy_event: true, - }, - }, - { - isOptIn: true, - excludeMetaMetricsId: true, - }, - ); - hideModal(); - }); - }} - cancelText={t('noThanks')} - hideCancel={false} - onSubmit={() => { - setParticipateInMetaMetrics(true).then(() => { - trackEvent( - { - category: EVENT.CATEGORIES.ONBOARDING, - event: EVENT_NAMES.METRICS_OPT_IN, - properties: { - action: 'Metrics Option', - legacy_event: true, - }, - }, - { - isOptIn: true, - }, - ); - hideModal(); - }); - }} - submitText={t('affirmAgree')} - disabled={false} - /> -
-
-
- ); - } -} diff --git a/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.container.js b/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.container.js deleted file mode 100644 index e55247787..000000000 --- a/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.container.js +++ /dev/null @@ -1,25 +0,0 @@ -import { connect } from 'react-redux'; -import { compose } from 'redux'; -import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'; -import { setParticipateInMetaMetrics } from '../../../../store/actions'; -import MetaMetricsOptInModal from './metametrics-opt-in-modal.component'; - -const mapStateToProps = (_, ownProps) => { - const { unapprovedTxCount } = ownProps; - - return { - unapprovedTxCount, - }; -}; - -const mapDispatchToProps = (dispatch) => { - return { - setParticipateInMetaMetrics: (val) => - dispatch(setParticipateInMetaMetrics(val)), - }; -}; - -export default compose( - withModalProps, - connect(mapStateToProps, mapDispatchToProps), -)(MetaMetricsOptInModal); diff --git a/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.test.js b/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.test.js deleted file mode 100644 index 0324212aa..000000000 --- a/ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.test.js +++ /dev/null @@ -1,46 +0,0 @@ -import React from 'react'; -import { fireEvent, waitFor } from '@testing-library/react'; -import { renderWithProvider } from '../../../../../test/lib/render-helpers'; -import MetaMetricsOptIn from '.'; - -describe('MetaMetrics Opt In', () => { - const props = { - setParticipateInMetaMetrics: jest.fn().mockResolvedValue(), - hideModal: jest.fn(), - participateInMetaMetrics: null, - }; - - it('should match snapshot', () => { - const { container } = renderWithProvider( - , - ); - - expect(container).toMatchSnapshot(); - }); - - it('passes false to setParticipateInMetaMetrics and hides modal', async () => { - const { queryByText } = renderWithProvider( - , - ); - - fireEvent.click(queryByText('[noThanks]')); - - await waitFor(() => { - expect(props.setParticipateInMetaMetrics).toHaveBeenCalledWith(false); - expect(props.hideModal).toHaveBeenCalled(); - }); - }); - - it('passes true to setParticipateInMetaMetrics and hides modal', async () => { - const { queryByText } = renderWithProvider( - , - ); - - fireEvent.click(queryByText('[affirmAgree]')); - - await waitFor(() => { - expect(props.setParticipateInMetaMetrics).toHaveBeenCalledWith(true); - expect(props.hideModal).toHaveBeenCalled(); - }); - }); -}); diff --git a/ui/components/app/modals/modal.js b/ui/components/app/modals/modal.js index 955d2ac30..d543ddd4c 100644 --- a/ui/components/app/modals/modal.js +++ b/ui/components/app/modals/modal.js @@ -20,7 +20,6 @@ import ConfirmResetAccount from './confirm-reset-account'; import TransactionConfirmed from './transaction-confirmed'; import FadeModal from './fade-modal'; -import MetaMetricsOptInModal from './metametrics-opt-in-modal'; import RejectTransactions from './reject-transactions'; import ConfirmDeleteNetwork from './confirm-delete-network'; import EditApprovalPermission from './edit-approval-permission'; @@ -148,23 +147,6 @@ const MODALS = { }, }, - METAMETRICS_OPT_IN_MODAL: { - contents: , - mobileModalStyle: { - ...modalContainerMobileStyle, - width: '100%', - height: '100%', - top: '0px', - }, - laptopModalStyle: { - ...modalContainerLaptopStyle, - top: '10%', - }, - contentStyle: { - borderRadius: '8px', - }, - }, - CONFIRM_RESET_ACCOUNT: { contents: , mobileModalStyle: { diff --git a/ui/pages/unlock-page/README.mdx b/ui/pages/unlock-page/README.mdx index b9b1b9c6a..b8ca72c31 100644 --- a/ui/pages/unlock-page/README.mdx +++ b/ui/pages/unlock-page/README.mdx @@ -24,4 +24,3 @@ ArgsTable doesn't work with SectionShape | `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` | diff --git a/ui/pages/unlock-page/unlock-page.component.js b/ui/pages/unlock-page/unlock-page.component.js index e7bc6ade0..2ead9d57b 100644 --- a/ui/pages/unlock-page/unlock-page.component.js +++ b/ui/pages/unlock-page/unlock-page.component.js @@ -41,10 +41,6 @@ export default class UnlockPage extends Component { * Force update metamask data state */ forceUpdateMetamaskState: PropTypes.func, - /** - * Event handler to show metametrics modal - */ - showOptInModal: PropTypes.func, }; state = { @@ -71,7 +67,7 @@ export default class UnlockPage extends Component { event.stopPropagation(); const { password } = this.state; - const { onSubmit, forceUpdateMetamaskState, showOptInModal } = this.props; + const { onSubmit, forceUpdateMetamaskState } = this.props; if (password === '' || this.submitting) { return; @@ -82,7 +78,6 @@ export default class UnlockPage extends Component { try { await onSubmit(password); - const newState = await forceUpdateMetamaskState(); this.context.trackEvent( { category: EVENT.CATEGORIES.NAVIGATION, @@ -95,13 +90,6 @@ export default class UnlockPage extends Component { isNewVisit: true, }, ); - - if ( - newState.participateInMetaMetrics === null || - newState.participateInMetaMetrics === undefined - ) { - showOptInModal(); - } } catch ({ message }) { this.failed_attempts += 1; diff --git a/ui/pages/unlock-page/unlock-page.container.js b/ui/pages/unlock-page/unlock-page.container.js index 0ca38a3cd..dca1a199d 100644 --- a/ui/pages/unlock-page/unlock-page.container.js +++ b/ui/pages/unlock-page/unlock-page.container.js @@ -11,7 +11,6 @@ import { tryUnlockMetamask, markPasswordForgotten, forceUpdateMetamaskState, - showModal, } from '../../store/actions'; import UnlockPage from './unlock-page.component'; @@ -29,8 +28,6 @@ const mapDispatchToProps = (dispatch) => { tryUnlockMetamask: (password) => dispatch(tryUnlockMetamask(password)), markPasswordForgotten: () => dispatch(markPasswordForgotten()), forceUpdateMetamaskState: () => forceUpdateMetamaskState(dispatch), - showOptInModal: () => - dispatch(showModal({ name: 'METAMETRICS_OPT_IN_MODAL' })), }; }; diff --git a/ui/pages/unlock-page/unlock-page.stories.js b/ui/pages/unlock-page/unlock-page.stories.js index a9aca618a..cd6337f3d 100644 --- a/ui/pages/unlock-page/unlock-page.stories.js +++ b/ui/pages/unlock-page/unlock-page.stories.js @@ -18,7 +18,6 @@ export default { onRestore: { action: 'onRestore' }, onSubmit: { action: 'onSubmit' }, forceUpdateMetamaskState: { action: 'forceUpdateMetamaskState' }, - showOptInModal: { action: 'showOptInModal' }, }, };