From b2c4c514afe35422c75f5de26c9ae45c67c10b01 Mon Sep 17 00:00:00 2001 From: Martin CAYUELAS <112866305+mcayuelas-ledger@users.noreply.github.com> Date: Tue, 3 Sep 2024 15:01:47 +0200 Subject: [PATCH] [FIX]: Remove Trustchain from error and handle it in generic way (#7725) --- .changeset/empty-pumas-argue.md | 6 ++++++ apps/ledger-live-desktop/static/i18n/en/app.json | 7 +++++++ apps/ledger-live-mobile/src/locales/en/common.json | 9 +++++++-- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .changeset/empty-pumas-argue.md diff --git a/.changeset/empty-pumas-argue.md b/.changeset/empty-pumas-argue.md new file mode 100644 index 00000000000..e6305e4373b --- /dev/null +++ b/.changeset/empty-pumas-argue.md @@ -0,0 +1,6 @@ +--- +"ledger-live-desktop": patch +"live-mobile": patch +--- + +Update errors in trad diff --git a/apps/ledger-live-desktop/static/i18n/en/app.json b/apps/ledger-live-desktop/static/i18n/en/app.json index 02c9b7b4986..1dceee90663 100644 --- a/apps/ledger-live-desktop/static/i18n/en/app.json +++ b/apps/ledger-live-desktop/static/i18n/en/app.json @@ -5695,6 +5695,13 @@ "title": "Something went wrong. Please reconnect your device", "description": "{{message}}" }, + "TrustchainEjected": { + "title": "Not Synced anymore" + }, + "TrustchainNotAllowed": { + "title": "You are not in sync anymore", + "description": "Please try again or contact Ledger Support." + }, "TrustchainNotFound": { "title": "Something went wrong while fetching your data", "description": "Please try again or contact Ledger Support." diff --git a/apps/ledger-live-mobile/src/locales/en/common.json b/apps/ledger-live-mobile/src/locales/en/common.json index f6acbdcb472..915c2710e41 100644 --- a/apps/ledger-live-mobile/src/locales/en/common.json +++ b/apps/ledger-live-mobile/src/locales/en/common.json @@ -946,6 +946,13 @@ "description": "The server could not handle your request. Please try again later or contact Ledger Support.", "errorCode": "Code: {{errorCode}}" }, + "TrustchainEjected": { + "title": "Not Synced anymore" + }, + "TrustchainNotAllowed": { + "title": "You are not in sync anymore", + "description": "Please try again or contact Ledger Support." + }, "TrustchainNotFound": { "title": "Something went wrong while fetching your data", "description": "Please try again or contact Ledger Support." @@ -6818,8 +6825,6 @@ }, "errors": { "fetching": "Something went wrong while fetching your synchronized instances.", - "trustchain": "Unexpected falsy trustchain", - "memberCredentials": "Unexpected falsy member credentials", "ledgerSyncUnavailable": "Ledger Sync is currently unavailable. This doesn’t have any impact on your assets." } },