Skip to content

Commit 0eb9d9e

Browse files
feat(lwd,lwm): added mev protection url to urls config, removed from i18n files
1 parent d361fee commit 0eb9d9e

File tree

24 files changed

+12
-27
lines changed

24 files changed

+12
-27
lines changed

apps/ledger-live-desktop/src/config/urls.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export const urls = {
4040
"https://www.ledger.com/pages/ledger-nano-x#utm_source=Ledger%20Live%20Desktop%20App&utm_medium=Ledger%20Live&utm_campaign=Ledger%20Live%20Desktop%20-%20Banner%20LNX",
4141
// Ledger support
4242
faq: "https://support.ledger.com",
43+
mevProtection:
44+
"https://support.ledger.com/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
4345
chatbot: "https://ledgercustomersuccess.my.salesforce-sites.com/fullscreenbot",
4446
ledgerStatus: "https://status.ledger.com/",
4547
syncErrors: "https://support.ledger.com/article/360012207759-zd",

apps/ledger-live-desktop/src/renderer/screens/settings/sections/General/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import LedgerSyncEntryPoint from "LLD/features/LedgerSyncEntryPoints";
2525
import WalletSyncDrawer from "LLD/features/WalletSync/components/Drawer";
2626
import { AnalyticsPage } from "LLD/features/WalletSync/hooks/useLedgerSyncAnalytics";
2727
import { useActivationDrawer } from "LLD/features/LedgerSyncEntryPoints/hooks/useActivationDrawer";
28+
import { useLocalizedUrl } from "~/renderer/hooks/useLocalizedUrls";
29+
import { urls } from "~/config/urls";
2830

2931
const SectionGeneral = () => {
3032
const hasPassword = useSelector(hasPasswordSelector);
@@ -34,6 +36,7 @@ const SectionGeneral = () => {
3436
const { shouldDisplayEntryPoint } = useEntryPoint(EntryPoint.settings);
3537
const { closeDrawer } = useActivationDrawer();
3638
const ledgerSyncOptimisationFlag = useFeature("lwdLedgerSyncOptimisation");
39+
const mevProtectionUrl = useLocalizedUrl(urls.mevProtection);
3740

3841
return (
3942
<>
@@ -122,7 +125,7 @@ const SectionGeneral = () => {
122125
dataTestId="setting-mevProtection"
123126
id="setting-mevProtection"
124127
linkText={t("settings.display.mevProtectionLearnMore")}
125-
externalUrl={t("settings.display.mevProtectionLearnMoreUrl")}
128+
externalUrl={mevProtectionUrl}
126129
>
127130
<MevProtectionRow />
128131
</Row>

apps/ledger-live-desktop/static/i18n/ar/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "حماية الحد الأقصى للقيمة القابلة للاستخراج (MEV)",
45114511
"mevProtectionDesc" : "قم بتمكين حماية الحد الأقصى للقيمة القابلة للاستخراج (MEV) لمعاملات أكثر موثوقية على إيثريوم.",
45124512
"mevProtectionLearnMore" : "إشعار الخصوصية",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/ar/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "أداة أداء السوق",
45154514
"marketPerformanceWidgetDesc" : "قم بتمكين هذه الميزة لعرض أعلى الرابحين وأعلى الخاسرين خلال الفترات الزمنية المختارة في صفحة المحفظة الاستثمارية."
45164515
},

apps/ledger-live-desktop/static/i18n/de/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "MEV-Schutz",
45114511
"mevProtectionDesc" : "Aktiviere den MEV-Schutz, um die Zuverlässigkeit von Ethereum-Transaktionen zu verbessern.",
45124512
"mevProtectionLearnMore" : "Datenschutzerklärung",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/de/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "Marktperformance-Widget",
45154514
"marketPerformanceWidgetDesc" : "Aktiviere diese Funktion, um auf der Portfolioseite die größten Gewinner und Verlierer über ausgewählte Zeiträume anzuzeigen."
45164515
},

apps/ledger-live-desktop/static/i18n/en/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4584,7 +4584,6 @@
45844584
"mevProtection": "MEV Protection",
45854585
"mevProtectionDesc": "Enable MEV Protection for more reliable transactions on Ethereum.",
45864586
"mevProtectionLearnMore": "Privacy notice",
4587-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45884587
"marketPerformanceWidget": "Market Performance Widget",
45894588
"marketPerformanceWidgetDesc": "Enable this feature to view the top gainers and losers over selected timeframes on the portfolio page."
45904589
},

apps/ledger-live-desktop/static/i18n/es/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "Protección contra MEV",
45114511
"mevProtectionDesc" : "Activa la Protección contra MEV para lograr transacciones más fiables en Ethereum.",
45124512
"mevProtectionLearnMore" : "Aviso de privacidad",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/es/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "Widget de rendimiento del mercado",
45154514
"marketPerformanceWidgetDesc" : "Activa esta opción para ver los principales ganadores y perdedores en los periodos que selecciones en la página del portfolio."
45164515
},

apps/ledger-live-desktop/static/i18n/fr/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "Protection MEV",
45114511
"mevProtectionDesc" : "Activez la protection contre la MEV pour des transactions plus fiables sur Ethereum.",
45124512
"mevProtectionLearnMore" : "Avis de confidentialité",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/fr/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "Widget de suivi du marché",
45154514
"marketPerformanceWidgetDesc" : "Activez cette fonctionnalité pour afficher sur la page Portefeuille le Top des hausses et le Top des baisses sur une période choisie."
45164515
},

apps/ledger-live-desktop/static/i18n/ja/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "MEV保護",
45114511
"mevProtectionDesc" : "MEV保護を有効にすると、イーサリアムでのトランザクションの信頼性が高まります。",
45124512
"mevProtectionLearnMore" : "プライバシーに関する通知",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/ja/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "マーケットパフォーマンスウィジェット",
45154514
"marketPerformanceWidgetDesc" : "この機能を有効化すると、ポートフォリオページで選択した時間枠の、上昇率上位と下落率上位が表示されます。"
45164515
},

apps/ledger-live-desktop/static/i18n/ko/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "MEV 보호",
45114511
"mevProtectionDesc" : "MEV 보호 기능을 활성화하여 이더리움을 보다 안정적으로 거래하세요",
45124512
"mevProtectionLearnMore" : "개인정보 관련 고지",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/ko/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "마켓 퍼포먼스 위젯",
45154514
"marketPerformanceWidgetDesc" : "이 기능을 활성화하면 포트폴리오 페이지에서 선택한 기간 동안 가장 큰 상승 및 하락을 기록한 코인을 확인할 수 있습니다."
45164515
},

apps/ledger-live-desktop/static/i18n/pt-BR/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,6 @@
45104510
"mevProtection" : "Proteção MEV",
45114511
"mevProtectionDesc" : "Habilite a proteção MEV para realizar transações na Ethereum com mais confiança.",
45124512
"mevProtectionLearnMore" : "Declaração de privacidade",
4513-
"mevProtectionLearnMoreUrl": "https://support.ledger.com/pt-br/article/How-to-protect-your-transactions-from-Maximal-Extractable-Value-MEV-attacks",
45144513
"marketPerformanceWidget" : "Widget Desempenho do Mercado",
45154514
"marketPerformanceWidgetDesc" : "Ative esse recurso para visualizar as principais altas e baixas em períodos selecionados na página Portfólio."
45164515
},

0 commit comments

Comments
 (0)