diff --git a/app/_locales/de/messages.json b/app/_locales/de/messages.json index d73c4a34c6d4..abe3f45a8969 100644 --- a/app/_locales/de/messages.json +++ b/app/_locales/de/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Backup-Erinnerung zur geheimen Wiederherstellungsphrase verwerfen" }, - "displayNftMedia": { - "message": "NFT-Medien anzeigen" - }, "domain": { "message": "Domain" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " In den Einstellungen aktivieren." }, + "enableOpenSeaAPI": { + "message": "OpenSea API aktivieren" + }, + "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." + }, "enableSmartSwaps": { "message": "Smart Swaps aktivieren" }, diff --git a/app/_locales/el/messages.json b/app/_locales/el/messages.json index 5d0dec766243..c7e7761b6309 100644 --- a/app/_locales/el/messages.json +++ b/app/_locales/el/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Απορρίψτε την υπενθύμιση δημιουργίας αντιγράφων ασφαλείας της Μυστικής Φράσης Ανάκτησης" }, - "displayNftMedia": { - "message": "Εμφάνιση των μέσων NFT" - }, "domain": { "message": "Τομέας" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": "Ενεργοποιήστε το από τις Ρυθμίσεις." }, + "enableOpenSeaAPI": { + "message": "Ενεργοποίηση OpenSea API" + }, + "enableOpenSeaAPIDescription": { + "message": "Χρησιμοποιήστε το API OpenSea για λήψη δεδομένων NFT. Η αυτόματη ανίχνευση NFT βασίζεται στο API του OpenSea, και δεν θα είναι διαθέσιμη όταν αυτό είναι απενεργοποιημένο." + }, "enableSmartSwaps": { "message": "Ενεργοποίηση των έξυπνων ανταλλαγών" }, diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index 847256600199..6cceb5e7d96f 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -1314,12 +1314,6 @@ "dismissReminderField": { "message": "Dismiss Secret Recovery Phrase backup reminder" }, - "displayNftMedia": { - "message": "Display NFT media" - }, - "displayNftMediaDesc": { - "message": "Displaying NFT media and data exposes your IP address to OpenSea or other third parties. NFT autodetection relies on this feature, and won't be available when it is turned off. If NFT media is fully located on IPFS, it can still be displayed even when this feature is turned off." - }, "domain": { "message": "Domain" }, @@ -1445,6 +1439,12 @@ "enableFromSettings": { "message": " Enable it from Settings." }, + "enableOpenSeaAPI": { + "message": "Enable OpenSea API" + }, + "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." + }, "enableSmartSwaps": { "message": "Enable smart swaps" }, diff --git a/app/_locales/es/messages.json b/app/_locales/es/messages.json index 66e598cb99e9..e7753b8abd32 100644 --- a/app/_locales/es/messages.json +++ b/app/_locales/es/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Ignorar el recordatorio de respaldo de la frase de recuperación" }, - "displayNftMedia": { - "message": "Mostrar medios NFT" - }, "domain": { "message": "Dominio" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Actívela en Configuración." }, + "enableOpenSeaAPI": { + "message": "Habilite el API de OpenSea" + }, + "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." + }, "enableSmartSwaps": { "message": "Habilitar intercambios inteligentes" }, diff --git a/app/_locales/es_419/messages.json b/app/_locales/es_419/messages.json index 787544c41b41..d148117d7e48 100644 --- a/app/_locales/es_419/messages.json +++ b/app/_locales/es_419/messages.json @@ -725,6 +725,12 @@ "enableFromSettings": { "message": " Actívela en Configuración." }, + "enableOpenSeaAPI": { + "message": "Activar API de OpenSea" + }, + "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." + }, "enableToken": { "message": "activar $1", "description": "$1 is a token symbol, e.g. ETH" diff --git a/app/_locales/fr/messages.json b/app/_locales/fr/messages.json index aa812fc86cb8..b2c8434185f1 100644 --- a/app/_locales/fr/messages.json +++ b/app/_locales/fr/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Annuler le rappel de sauvegarde de la phrase secrète de récupération" }, - "displayNftMedia": { - "message": "Afficher les médias NFT" - }, "domain": { "message": "Domaine" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Activez-la depuis les Paramètres." }, + "enableOpenSeaAPI": { + "message": "Activer l’API OpenSea" + }, + "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." + }, "enableSmartSwaps": { "message": "Activer les contrats de swap intelligents" }, diff --git a/app/_locales/hi/messages.json b/app/_locales/hi/messages.json index 6b7a2c81650c..6cc9034981f1 100644 --- a/app/_locales/hi/messages.json +++ b/app/_locales/hi/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "सीक्रेट रिकवरी फ्रेज़ बैकअप रिमाइंडर खारिज करें" }, - "displayNftMedia": { - "message": "NFT मीडिया को दिखाएं" - }, "domain": { "message": "डोमेन" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " इसे सेटिंग्स से इनेबल करें।" }, + "enableOpenSeaAPI": { + "message": "OpenSea API इनेबल करें" + }, + "enableOpenSeaAPIDescription": { + "message": "NFT डेटा लाने के लिए OpenSea के API का उपयोग करें। NFT ऑटो-डिटेक्शन OpenSea के API पर निर्भर करता है, और इसके बंद होने पर उपलब्ध नहीं होगा।" + }, "enableSmartSwaps": { "message": "स्मार्ट स्वैप इनेबल करें" }, diff --git a/app/_locales/id/messages.json b/app/_locales/id/messages.json index 23709960b406..97ae4be36914 100644 --- a/app/_locales/id/messages.json +++ b/app/_locales/id/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Lewatkan pengingat pencadangan Frasa Pemulihan Rahasia" }, - "displayNftMedia": { - "message": "Tampilkan media NFT" - }, "domain": { "message": "Domain" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Aktifkan dari Pengaturan." }, + "enableOpenSeaAPI": { + "message": "Aktifkan API OpenSea" + }, + "enableOpenSeaAPIDescription": { + "message": "Gunakan API OpenSea untuk mengambil data NFT. Deteksi otomatis NFT bergantung pada API OpenSea, dan tidak akan tersedia saat API ditutup." + }, "enableSmartSwaps": { "message": "Aktifkan pertukaran cerdas" }, diff --git a/app/_locales/ja/messages.json b/app/_locales/ja/messages.json index 0b360e8aca91..4178c3ba91cc 100644 --- a/app/_locales/ja/messages.json +++ b/app/_locales/ja/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "シークレットリカバリーフレーズのバックアップリマインダーを解除" }, - "displayNftMedia": { - "message": "NFTメディアの表示" - }, "domain": { "message": "ドメイン" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " 設定で有効にします。" }, + "enableOpenSeaAPI": { + "message": "OpenSea APIを有効にする" + }, + "enableOpenSeaAPIDescription": { + "message": "OpenSea APIを使用してNFTデータを取得します。NFT自動検出はOpenSea APIを使用するため、この設定をオフにすると利用できなくなります。" + }, "enableSmartSwaps": { "message": "スマートスワップを有効にする" }, diff --git a/app/_locales/ko/messages.json b/app/_locales/ko/messages.json index 88d52c2f932a..44158133575f 100644 --- a/app/_locales/ko/messages.json +++ b/app/_locales/ko/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "비밀복구구문 백업 알림 해지" }, - "displayNftMedia": { - "message": "NFT 미디어 표시" - }, "domain": { "message": "도메인" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " 설정에서 이 기능을 활성화합니다." }, + "enableOpenSeaAPI": { + "message": "OpenSea API 활성화" + }, + "enableOpenSeaAPIDescription": { + "message": "OpenSea의 API를 사용하여 NFT 데이터를 가져옵니다. NFT 자동 감지는 OpenSea의 API에 의존하며 이 API가 꺼져 있으면 사용할 수 없습니다." + }, "enableSmartSwaps": { "message": "스마트 스왑 활성화" }, diff --git a/app/_locales/pt/messages.json b/app/_locales/pt/messages.json index 0fef7b079cd9..d5cabb69622d 100644 --- a/app/_locales/pt/messages.json +++ b/app/_locales/pt/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Descartar o lembrete de backup da Frase de Recuperação Secreta" }, - "displayNftMedia": { - "message": "Exibir mídias de NFTs" - }, "domain": { "message": "Domínio" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Ative nas Configurações." }, + "enableOpenSeaAPI": { + "message": "Habilitar API do OpenSea" + }, + "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." + }, "enableSmartSwaps": { "message": "Ativar trocas inteligentes" }, diff --git a/app/_locales/pt_BR/messages.json b/app/_locales/pt_BR/messages.json index 91e305e5b3d5..c51166be26bd 100644 --- a/app/_locales/pt_BR/messages.json +++ b/app/_locales/pt_BR/messages.json @@ -725,6 +725,12 @@ "enableFromSettings": { "message": " Ative nas Configurações." }, + "enableOpenSeaAPI": { + "message": "Ativar a API OpenSea" + }, + "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." + }, "enableToken": { "message": "ativar $1", "description": "$1 is a token symbol, e.g. ETH" diff --git a/app/_locales/ru/messages.json b/app/_locales/ru/messages.json index 38eded6378ff..079ab737aba7 100644 --- a/app/_locales/ru/messages.json +++ b/app/_locales/ru/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Отклонить напоминание о необходимости создать резервную копию секретной фразы для восстановления" }, - "displayNftMedia": { - "message": "Показать NFT-носитель" - }, "domain": { "message": "Домен" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Включите его в Настройках." }, + "enableOpenSeaAPI": { + "message": "Включить API OpenSea" + }, + "enableOpenSeaAPIDescription": { + "message": "Используйте API OpenSea для получения данных NFT. Для автоматического обнаружения NFT используется API OpenSea, и такое обнаружение будет недоступно, если этот API отключен." + }, "enableSmartSwaps": { "message": "Включить смарт-свопы" }, diff --git a/app/_locales/tl/messages.json b/app/_locales/tl/messages.json index 767be00968c8..2e3beb02741d 100644 --- a/app/_locales/tl/messages.json +++ b/app/_locales/tl/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "I-dismiss ang back up na paalala ng Lihim na Parirala sa Pagbawi" }, - "displayNftMedia": { - "message": "Ipakita ang NFT media" - }, "domain": { "message": "Domain" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Paganahin ito mula sa Mga Setting." }, + "enableOpenSeaAPI": { + "message": "Paganahin sa OpenSea API" + }, + "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." + }, "enableSmartSwaps": { "message": "Paganahin ang mga smart swap" }, diff --git a/app/_locales/tr/messages.json b/app/_locales/tr/messages.json index 1122cae3602f..7bb4cc079e40 100644 --- a/app/_locales/tr/messages.json +++ b/app/_locales/tr/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Gizli Kurtarma İfadesi yedekleme hatırlatma uyarısını yoksay" }, - "displayNftMedia": { - "message": "NFT medyasını göster" - }, "domain": { "message": "Alan" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Ayarlardan etkinleştir." }, + "enableOpenSeaAPI": { + "message": "OpenSea API'yi etkinleştir" + }, + "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." + }, "enableSmartSwaps": { "message": "Akıllı swap'ları etkinleştirin" }, diff --git a/app/_locales/vi/messages.json b/app/_locales/vi/messages.json index fc801b890288..cb0ae38920ef 100644 --- a/app/_locales/vi/messages.json +++ b/app/_locales/vi/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "Tắt lời nhắc sao lưu Cụm từ khôi phục bí mật" }, - "displayNftMedia": { - "message": "Hiển thị phương tiện NFT" - }, "domain": { "message": "Tên miền" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " Bật trong Cài Đặt." }, + "enableOpenSeaAPI": { + "message": "Bật API OpenSea" + }, + "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." + }, "enableSmartSwaps": { "message": "Kích hoạt hoán đổi thông minh" }, diff --git a/app/_locales/zh_CN/messages.json b/app/_locales/zh_CN/messages.json index c5f4a431970a..a14048a0b6f7 100644 --- a/app/_locales/zh_CN/messages.json +++ b/app/_locales/zh_CN/messages.json @@ -1286,9 +1286,6 @@ "dismissReminderField": { "message": "关闭账户私钥助记词备份提醒" }, - "displayNftMedia": { - "message": "显示NFT媒体" - }, "domain": { "message": "域" }, @@ -1414,6 +1411,12 @@ "enableFromSettings": { "message": " 从设置中启用它。" }, + "enableOpenSeaAPI": { + "message": "启用 OpenSea API" + }, + "enableOpenSeaAPIDescription": { + "message": "使用 OpenSea 的 API 获取 NFT 数据。NFT 自动检测依赖于 OpenSea 的 API,在后者关闭时自动检测将不可用。" + }, "enableSmartSwaps": { "message": "启用智能兑换" }, diff --git a/ui/helpers/constants/settings.js b/ui/helpers/constants/settings.js index 108292274a85..f557b3fc9275 100644 --- a/ui/helpers/constants/settings.js +++ b/ui/helpers/constants/settings.js @@ -222,8 +222,8 @@ export const SETTINGS_CONSTANTS = [ }, { tabMessage: (t) => t('securityAndPrivacy'), - sectionMessage: (t) => t('displayNftMedia'), - descriptionMessage: (t) => t('displayNftMediaDesc'), + sectionMessage: (t) => t('enableOpenSeaAPI'), + descriptionMessage: (t) => t('enableOpenSeaAPIDescription'), route: `${SECURITY_ROUTE}#opensea-api`, icon: 'fa fa-lock', }, diff --git a/ui/helpers/utils/settings-search.test.js b/ui/helpers/utils/settings-search.test.js index 59f15f018edc..cde4452d6ab3 100644 --- a/ui/helpers/utils/settings-search.test.js +++ b/ui/helpers/utils/settings-search.test.js @@ -101,10 +101,10 @@ const t = (key) => { return 'Autodetect tokens'; case 'autoDetectTokensDescription': return 'We use third-party APIs to detect and display new tokens sent to your wallet. Turn off if you don’t want the app to pull data from those services.'; - case 'displayNftMedia': - return 'Display NFT media'; - case 'displayNftMediaDesc': - return "Displaying NFT media and data exposes your IP address to OpenSea or other third parties. NFT autodetection relies on this feature, and won't be available when it is turned off."; + case 'enableOpenSeaAPI': + return 'Enable OpenSea API'; + case 'enableOpenSeaAPIDescription': + return "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."; case 'useNftDetection': return 'Autodetect NFTs'; case 'useNftDetectionDescriptionText': diff --git a/ui/pages/settings/security-tab/__snapshots__/security-tab.test.js.snap b/ui/pages/settings/security-tab/__snapshots__/security-tab.test.js.snap index 22d085c15908..bebe5bc0b242 100644 --- a/ui/pages/settings/security-tab/__snapshots__/security-tab.test.js.snap +++ b/ui/pages/settings/security-tab/__snapshots__/security-tab.test.js.snap @@ -1108,12 +1108,12 @@ exports[`Security Tab should match snapshot 1`] = ` class="settings-page__content-item" > - Display NFT media + Enable OpenSea API
- Displaying NFT media and data exposes your IP address to OpenSea or other third parties. NFT autodetection relies on this feature, and won't be available when it is turned off. If NFT media is fully located on IPFS, it can still be displayed even when this feature is turned off. + 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.
- {t('displayNftMedia')} + {t('enableOpenSeaAPI')}
- {t('displayNftMediaDesc')} + {t('enableOpenSeaAPIDescription')}
-