From 89cb8ab3b6923685f2d6d0556abac5e35c22fb32 Mon Sep 17 00:00:00 2001 From: tyleroooo Date: Wed, 16 Oct 2024 14:31:11 -0400 Subject: [PATCH] ack vault terms (#753) --- config/localization/en/app.json | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index c6b03e0ee..b29164d06 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -1700,6 +1700,9 @@ "YOU_HAVE_NO_VAULT_DEPOSITS": "You have no vault deposits.", "SLIPPAGE_ACK": "I understand that withdrawing now will result in {AMOUNT} slippage.", "ACKNOWLEDGE_HIGH_SLIPPAGE": "Acknowledge High Slippage", + "ACKNOWLEDGE_MEGAVAULT_TERMS": "Agree to MegaVault Terms", + "MEGAVAULT_TERMS_TEXT": "By clicking \"{CONFIRM_BUTTON_TEXT}\", you agree to the {LINK}.", + "MEGAVAULT_TERMS_LINK_TEXT": "MegaVault Terms", "SLIPPAGE_WARNING": "This withdrawal would result in {AMOUNT} slippage. Slippage may be reduced if you withdraw at a later time. For more information, see {LINK}.", "EST_SLIPPAGE": "Est. slippage", "ESTIMATED_SLIPPAGE": "Estimated Slippage", diff --git a/package-lock.json b/package-lock.json index e26a6bf80..b0b401c54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.218", + "version": "1.1.219", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.218", + "version": "1.1.219", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 121ca7734..b9ab2378d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.218", + "version": "1.1.219", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index ddc8c061b..1ca9dee4a 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -1851,6 +1851,7 @@ export const APP_STRING_KEYS = { // VAULTS ACKNOWLEDGE_HIGH_SLIPPAGE: 'APP.VAULTS.ACKNOWLEDGE_HIGH_SLIPPAGE', + ACKNOWLEDGE_MEGAVAULT_TERMS: 'APP.VAULTS.ACKNOWLEDGE_MEGAVAULT_TERMS', AMOUNT_TO_DEPOSIT: 'APP.VAULTS.AMOUNT_TO_DEPOSIT', AMOUNT_TO_WITHDRAW: 'APP.VAULTS.AMOUNT_TO_WITHDRAW', APR: 'APP.VAULTS.APR', @@ -1874,6 +1875,8 @@ export const APP_STRING_KEYS = { MEGAVAULT_DEPOSIT_SUCCESSFUL: 'APP.VAULTS.MEGAVAULT_DEPOSIT_SUCCESSFUL', MEGAVAULT_DEPOSIT_SUCCESSFUL_BODY: 'APP.VAULTS.MEGAVAULT_DEPOSIT_SUCCESSFUL_BODY', MEGAVAULT_FAQS: 'APP.VAULTS.MEGAVAULT_FAQS', + MEGAVAULT_TERMS_LINK_TEXT: 'APP.VAULTS.MEGAVAULT_TERMS_LINK_TEXT', + MEGAVAULT_TERMS_TEXT: 'APP.VAULTS.MEGAVAULT_TERMS_TEXT', MEGAVAULT_TRANSFERS: 'APP.VAULTS.MEGAVAULT_TRANSFERS', MEGAVAULT_TRANSFERS_DESCRIPTION: 'APP.VAULTS.MEGAVAULT_TRANSFERS_DESCRIPTION', MEGAVAULT_WITHDRAWAL_FAILED: 'APP.VAULTS.MEGAVAULT_WITHDRAWAL_FAILED',