Skip to content

Commit

Permalink
fix: copy changes in blockaid settings (#10233)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri authored Jul 5, 2024
1 parent 9b695e4 commit ee10066
Show file tree
Hide file tree
Showing 18 changed files with 49 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Text, {
} from '../../../../../component-library/components/Texts/Text';
import { useTheme } from '../../../../../util/theme';
import { strings } from '../../../../../../locales/i18n';
import { Switch, View } from 'react-native';
import { Linking, Switch, View } from 'react-native';
import { useSelector } from 'react-redux';
import { selectIsSecurityAlertsEnabled } from '../../../../../selectors/preferencesController';
import Engine from '../../../../../core/Engine';
Expand Down Expand Up @@ -59,7 +59,17 @@ const BlockaidSettings = () => {
variant={TextVariant.BodyMD}
style={styles.desc}
>
{strings('app_settings.blockaid_desc')}
{strings('app_settings.blockaid_desc')}{' '}
<Text
color={TextColor.Alternative}
onPress={() =>
Linking.openURL(
'https://support.metamask.io/privacy-and-security/how-to-turn-on-security-alerts/',
)
}
>
{strings('app_settings.learn_more')}
</Text>
</Text>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,24 @@ exports[`BlockaidSettings should render correctly 1`] = `
}
}
>
Privacy preserving - no data is shared with third parties. Available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia and Base.
This feature alerts you to malicious activity by actively reviewing transaction and signature requests.
<Text
accessibilityRole="text"
onPress={[Function]}
style={
{
"color": "#6a737d",
"fontFamily": "Euclid Circular B",
"fontSize": 14,
"fontWeight": "400",
"letterSpacing": 0,
"lineHeight": 22,
}
}
>
Learn more.
</Text>
</Text>,
]
`;
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,24 @@ exports[`SecuritySettings should render correctly 1`] = `
}
}
>
Privacy preserving - no data is shared with third parties. Available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia and Base.
This feature alerts you to malicious activity by actively reviewing transaction and signature requests.
<Text
accessibilityRole="text"
onPress={[Function]}
style={
{
"color": "#6a737d",
"fontFamily": "Euclid Circular B",
"fontSize": 14,
"fontWeight": "400",
"letterSpacing": 0,
"lineHeight": 22,
}
}
>
Learn more.
</Text>
</Text>
<View
style={
Expand Down
1 change: 0 additions & 1 deletion locales/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Automatische Token-, NFT- und ENS-Erkennung",
"security_check_subheading": "Sicherheitsprüfungen",
"symbol_required": "Symbol ist erforderlich.",
"blockaid_desc": "Wahrung der Privatsphäre – es werden keine Daten an Dritte weitergegeben. Verfügbar auf Arbitrum, Avalanche, BNB Chain, Ethereum Mainnet, Optimism, Polygon, Sepolia und Base.",
"security_alerts": "Sicherheitsbenachrichtigungen",
"security_alerts_desc": "Diese Funktion warnt Sie vor bösartigen Aktivitäten, indem sie Ihre Transaktions- und Signaturanfragen lokal überprüft. Führen Sie immer Ihre eigene Prüfung durch, bevor Sie Anfragen genehmigen. Es gibt keine Garantie dafür, dass diese Funktion alle bösartigen Aktivitäten erkennt. Mit der Aktivierung dieser Funktion erklären Sie sich mit den Nutzungsbedingungen des Anbieters einverstanden.",
"smart_transactions_opt_in_heading": "Smart Transactions",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Αυτόματος εντοπισμός Tokens, NFS και ENS",
"security_check_subheading": "Έλεγχοι ασφαλείας",
"symbol_required": "Απαιτείται το σύμβολο.",
"blockaid_desc": "Διαφύλαξη της ιδιωτικής ζωής - δεν κοινοποιούνται δεδομένα σε τρίτους. Διατίθεται στα Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia και Base.",
"security_alerts": "Ειδοποιήσεις ασφαλείας",
"security_alerts_desc": "Αυτή η λειτουργία σας προειδοποιεί για κακόβουλη δραστηριότητα, καθώς ελέγχει τοπικά τα αιτήματα συναλλαγών και υπογραφών σας. Πάντα να κάνετε τη δική σας επιμελή έρευνα προτού εγκρίνετε οποιαδήποτε αιτήματα. Δεν υπάρχει καμία εγγύηση ότι αυτή η λειτουργία θα εντοπίσει όλες τις κακόβουλες δραστηριότητες. Ενεργοποιώντας αυτή τη λειτουργία, συμφωνείτε με τους όρους χρήσης του παρόχου.",
"smart_transactions_opt_in_heading": "Έξυπνες Συναλλαγές",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@
"token_nft_ens_subheading": "Token, NFT, and ENS autodetection",
"security_check_subheading": "Security checks",
"symbol_required": "Symbol is required.",
"blockaid_desc": "Privacy preserving - no data is shared with third parties. Available on Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia and Base.",
"blockaid_desc": "This feature alerts you to malicious activity by actively reviewing transaction and signature requests.",
"security_alerts": "Security alerts",
"security_alerts_desc": "This feature alerts you to malicious activity by locally reviewing your transaction and signature requests. Always do your own due diligence before approving any requests. There's no guarantee that this feature will detect all malicious activity. By enabling this feature you agree to the provider's terms of use.",
"smart_transactions_opt_in_heading": "Smart Transactions",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Detección automática de tokens, NFT y ENS",
"security_check_subheading": "Verificaciones de seguridad",
"symbol_required": "Se requiere símbolo.",
"blockaid_desc": "Preservación de la privacidad: no se comparten datos con terceros. Disponible en Arbitrum, Avalanche, BNB Chain, la red principal de Ethereum, Optimism, Polygon, Sepolia y Base.",
"security_alerts": "Alertas de seguridad",
"security_alerts_desc": "Esta función le alerta sobre actividad maliciosa al revisar localmente sus solicitudes de transacción y firma. Haga siempre su propia diligencia debida antes de aprobar cualquier solicitud. No hay garantía de que esta función detecte toda la actividad maliciosa. Al habilitar esta función, acepta los términos de uso del proveedor.",
"smart_transactions_opt_in_heading": "Transacciones inteligentes",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Détection automatique des jetons, NFT et ENS",
"security_check_subheading": "Contrôles de sécurité",
"symbol_required": "Le symbole est requis.",
"blockaid_desc": "Protection de la vie privée : aucune donnée n’est partagée avec des tiers. Disponible sur Arbitrum, Avalanche, BNB chain, Optimism, Polygon, Sepolia, Base et le réseau principal Ethereum.",
"security_alerts": "Alertes de sécurité",
"security_alerts_desc": "Cette fonctionnalité vous avertit de toute activité malveillante en examinant localement vos demandes de transaction et de signature. Vous devez faire preuve de diligence raisonnable avant d’approuver toute demande. Rien ne garantit que toutes les activités malveillantes seront détectées par cette fonctionnalité. En l’activant, vous acceptez les conditions d’utilisation du fournisseur.",
"smart_transactions_opt_in_heading": "Transactions intelligentes",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "टोकन, NFT और ENS ऑटो-डिटेक्शन",
"security_check_subheading": "सुरक्षा जाँचें",
"symbol_required": "सिंबल की ज़रूरत है।",
"blockaid_desc": "गोपनीयता को सुरक्षित रखना - कोई भी डेटा थर्ड पार्टी के साथ साझा नहीं किया जाता है। Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia और Base पर उपलब्ध है।",
"security_alerts": "सुरक्षा एलर्ट",
"security_alerts_desc": "यह सुविधा स्थानीय रूप से आपके ट्रांसेक्शन और हस्ताक्षर अनुरोधों की समीक्षा करके आपको बुरी नीयत वाली गतिविधि के प्रति एलर्ट करती है। किसी भी अनुरोध को मंजूरी देने से पहले हमेशा पूरी जांच-पड़ताल ज़रूर करें। इस बात की कोई गारंटी नहीं है कि यह सुविधा सभी बुरी नीयत वाली गतिविधि का पता लगा लेगी। इस सुविधा को सक्षम करके आप प्रदाता की उपयोग की शर्तों से सहमत होते हैं।",
"smart_transactions_opt_in_heading": "स्मार्ट ट्रांसेक्शन",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Autodeteksi Token, NFT, dan ENS",
"security_check_subheading": "Pemeriksaan keamanan",
"symbol_required": "Simbol wajib diisi.",
"blockaid_desc": "Menjaga privasi - tidak ada data yang dibagikan kepada pihak ketiga. Tersedia di Arbitrum, Avalanche, BNB chain, Mainnet Ethereum, Optimism, Polygon, Sepolia, dan Base.",
"security_alerts": "Peringatan keamanan",
"security_alerts_desc": "Fitur ini memperingatkan Anda tentang aktivitas berbahaya dengan meninjau permintaan transaksi dan tanda tangan secara lokal. Selalu lakukan uji tuntas sendiri sebelum menyetujui permintaan. Tidak ada jaminan bahwa fitur ini akan mendeteksi semua aktivitas berbahaya. Dengan mengaktifkan fitur ini, Anda menyetujui persyaratan penggunaan penyedia.",
"smart_transactions_opt_in_heading": "Transaksi Pintar",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "トークン、NFT、ENSの自動検出",
"security_check_subheading": "セキュリティチェック",
"symbol_required": "シンボルが必要です",
"blockaid_desc": "プライバシーを保護 - サードパーティとデータが一切共有されません。Arbitrum、Avalanche、BNB Chain、イーサリアムメインネット、Optimism、Polygon、Sepolia、Baseで利用可能。",
"security_alerts": "セキュリティアラート",
"security_alerts_desc": "この機能は、トランザクションと署名要求をローカルで確認することで、悪質な行為に関するアラートを発します。要求を承認する前に、必ず独自のデューデリジェンスを行ってください。この機能がすべての悪質な行為を検出するという保証はありません。この機能を有効にすることで、プロバイダーの利用規約に同意したものとみなされます。",
"smart_transactions_opt_in_heading": "スマートトランザクション",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "토큰, NFT 및 ENS 자동 감지",
"security_check_subheading": "보안 점검",
"symbol_required": "심볼은 필수입니다.",
"blockaid_desc": "개인정보 보호 - 제3자와 데이터를 공유하지 않습니다. Arbitrum, Avalanche, BNB chain, 이더리움 메인넷, Optimism, Polygon, Sepolia, Base에서 사용할 수 있습니다.",
"security_alerts": "보안 경고",
"security_alerts_desc": "이 기능은 트랜잭션 및 서명 요청을 로컬에서 검토하여 악의적인 활동이 있는 경우 경고합니다. 요청을 승인하기 전에 항상 직접 검토하세요. 이 기능이 모든 악성 활동을 탐지하는 것은 아닙니다. 이 기능을 활성화하면 제공 업체의 이용 약관에 동의하는 것이 됩니다.",
"smart_transactions_opt_in_heading": "스마트 트랜잭션",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Detecção automática de tokens, NFTs e ENS",
"security_check_subheading": "Verificações de segurança",
"symbol_required": "O símbolo é obrigatório.",
"blockaid_desc": "Proteção de privacidade: nenhum dado é compartilhado com terceiros. Disponível em Arbitrum, Avalanche, BNB Chain, Mainnet da Ethereum, Optimism, Polygon, Sepolia e Base.",
"security_alerts": "Alertas de segurança",
"security_alerts_desc": "Esse recurso alerta sobre atividades mal-intencionadas por meio da análise local de solicitações de transações e assinaturas. Sempre realize sua própria devida diligência antes de aprovar solicitações. Não há garantia de que esse recurso detectará toda e qualquer atividade mal-intencionada. Ao ativar esse recurso, você concorda com os termos de uso do provedor.",
"smart_transactions_opt_in_heading": "Transações inteligentes",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Автоопределение токенов, NFT и ENS",
"security_check_subheading": "Проверки безопасности",
"symbol_required": "Требуется символ.",
"blockaid_desc": "Сохранение конфиденциальности – никакие данные не передаются третьим сторонам. Доступно в Arbitrum, Avalanche, BNB Chain, Мейн-нете Ethereum, Optimism, Polygon, Sepolia и Base.",
"security_alerts": "Оповещения безопасности",
"security_alerts_desc": "Эта функция предупреждает вас о вредоносной активности, проверяя запросы транзакций и подписей локально. Всегда проводите комплексную проверку перед утверждением каких-либо запросов. Нет никакой гарантии, что эта функция обнаружит всю вредоносную активность. Включая эту функцию, вы соглашаетесь с условиями использования поставщика.",
"smart_transactions_opt_in_heading": "Умные транзакции",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Awtomatikong pagtuklas ng token, NFT at ENS",
"security_check_subheading": "Pagsusuring panseguridad",
"symbol_required": "Kailangan ang simbolo.",
"blockaid_desc": "Pagpapanatili ng privacy - walang data na ibinabahagi sa mga third party. Available sa Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia at Base.",
"security_alerts": "Mga alerto sa seguridad",
"security_alerts_desc": "Inaalertuhan ka ng tampok na ito sa mga aktibidad na may masamang hangarin sa pamamagitan ng lokal na pagsusuri sa iyong mga transaksyon at kahilingan sa paglagda. Palaging gumawa ng sarili mong pag-iingat bago aprubahan ang anumang mga kahilingan. Walang garantiya na made-detect ng tampok na ito ang lahat ng aktibidad na may masamang hangarin. Sa pagpapagana sa tampok na ito, sumasang-ayon ka sa mga tuntunin ng paggamit ng provider.",
"smart_transactions_opt_in_heading": "Mga Smart Transaction",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Token, NFT ve ENS otomatik algılama",
"security_check_subheading": "Güvenlik kontrolleri",
"symbol_required": "Sembol gerekli.",
"blockaid_desc": "Gizlilik koruması - Hiçbir veri üçüncü taraflarla paylaşılmaz. Arbitrum, Avalanche, BNB chain, Ethereum Ana Ağı, Optimism, Polygon, Sepolia ve Base için sunulur.",
"security_alerts": "Güvenlik uyarıları",
"security_alerts_desc": "Bu özellik, işlem ve imza taleplerinizi yerel olarak incelerken gizliliğinizi koruyarak Ethereum Ana Ağındaki kötü amaçlı aktivitelere karşı sizi uyarır. Talepleri onaylamadan önce her zaman gereken özeni kendiniz gösterin. Bu özelliğin tüm kötü amaçlı faaliyetleri algılayacağına dair herhangi bir garanti bulunmamaktadır. Bu özelliği etkinleştirerek sağlayıcının kullanım koşullarını kabul etmiş olursunuz.",
"smart_transactions_opt_in_heading": "Akıllı İşlemler",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "Tự động phát hiện Token, NFT và ENS",
"security_check_subheading": "Kiểm tra bảo mật",
"symbol_required": "Ký hiệu là bắt buộc.",
"blockaid_desc": "Bảo vệ quyền riêng tư - không có dữ liệu nào được chia sẻ với các bên thứ ba. Có sẵn trên Arbitrum, Avalanche, BNB chain, Ethereum Mainnet, Optimism, Polygon, Sepolia và Base.",
"security_alerts": "Cảnh báo bảo mật",
"security_alerts_desc": "Tính năng này sẽ cảnh báo bạn về hoạt động độc hại bằng cách xem xét cục bộ các yêu cầu giao dịch và chữ ký của bạn. Hãy luôn tự mình thực hiện quy trình thẩm định trước khi chấp thuận bất kỳ yêu cầu nào. Không có gì đảm bảo rằng tính năng này sẽ phát hiện được tất cả các hoạt động độc hại. Bằng cách bật tính năng này, bạn đồng ý với các điều khoản sử dụng của nhà cung cấp.",
"smart_transactions_opt_in_heading": "Giao dịch thông minh",
Expand Down
1 change: 0 additions & 1 deletion locales/languages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@
"token_nft_ens_subheading": "代币、NFT 和 ENS(Ethereum 域名服务)自动检测",
"security_check_subheading": "安全检查",
"symbol_required": "需要符号。",
"blockaid_desc": "隐私保护 - 不会与第三方共享任何数据。适用于 Arbitrum、Avalanche、BNB Chain、以太坊主网、Optimism、Polygon、Sepolia 和 Base。",
"security_alerts": "安全提醒",
"security_alerts_desc": "此功能通过本地审查您的交易和签名请求来提醒您注意恶意活动。在批准任何请求之前,请务必自行进行审慎调查。无法保证此功能能够检测到所有恶意活动。启用此功能即表示您同意提供商的使用条款。",
"smart_transactions_opt_in_heading": "智能交易",
Expand Down

0 comments on commit ee10066

Please sign in to comment.