From a049cf5905330b49e923867019df78622217e1ae Mon Sep 17 00:00:00 2001 From: Florian Ruen Date: Mon, 21 Nov 2022 21:43:33 +0100 Subject: [PATCH] feat: add estuary integration translations (#49) * feat: add translations for new version of Playground * feat: run prettier * feat: add new translations for errors messages durign Estuary integration process * fix: remove the unused s at requirements --- .../locales/dev/EstuaryConnectForm.json | 7 ++++++ shared/unpackaged/locales/en-US/glossary.json | 22 +++++++++---------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/cidgravity/locales/dev/EstuaryConnectForm.json b/cidgravity/locales/dev/EstuaryConnectForm.json index 2d359ded..3d6b0fc6 100644 --- a/cidgravity/locales/dev/EstuaryConnectForm.json +++ b/cidgravity/locales/dev/EstuaryConnectForm.json @@ -58,6 +58,13 @@ } } }, + "error": { + "MinerPowerUnder1Tib": "Your miner must have at least 1 TiB of power to use Estuary", + "NoAddressOnChain": "Your current miner hasn't any address on chain, which is a requirement for Estuary", + "NoPeerId": "Your current miner hasn't any peer Id, which is a requirement for Estuary", + "VerifiedDealPriceIsNotZero": "Your verified deal price must be zero to connect Estuary", + "GenericEstuaryError": "Unkown error from Estuary, contact CIDgravity team" + }, "button": { "previous": "Previous", "abort": "Abort", diff --git a/shared/unpackaged/locales/en-US/glossary.json b/shared/unpackaged/locales/en-US/glossary.json index 00a5d856..cbbda354 100644 --- a/shared/unpackaged/locales/en-US/glossary.json +++ b/shared/unpackaged/locales/en-US/glossary.json @@ -1,13 +1,13 @@ { - "Protocol Labs": "Protocol Labs", - "Filecoin": "Filecoin", - "previous": "previous", - "glossary": { - "filecoin": "Filecoin", - "protocol-labs": "Protocol Labs", - "bidbot": "bidbot", - "textile": "Textile", - "fil": "FIL", - "estuary": "Estuary" - } + "Protocol Labs": "Protocol Labs", + "Filecoin": "Filecoin", + "previous": "previous", + "glossary": { + "filecoin": "Filecoin", + "protocol-labs": "Protocol Labs", + "bidbot": "bidbot", + "textile": "Textile", + "fil": "FIL", + "estuary": "Estuary" + } }