From e0bbb9176fca3a74ec65f8919cb32f189e194382 Mon Sep 17 00:00:00 2001 From: Bill He Date: Tue, 30 Jul 2024 22:15:58 -0700 Subject: [PATCH 1/2] feat: add restricted banner str --- config/localization/en/app.json | 3 ++- package-lock.json | 2 +- package.json | 2 +- scripts/generated/app.ts | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 7524fadfe..f69702297 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -2069,7 +2069,8 @@ "COMPLIANCE": { "CLOSE_ONLY_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You haveĀ until {DATE} to withdraw your funds before your access to the frontend is blocked. If you believe there has been an error, please contact support at {HELP_LINK}.", "PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please contact support at {HELP_LINK}.", - "BLOCKED_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}." + "BLOCKED_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}.", + "READONLY_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our Terms of Use {TERMS_OF_USE_LINK}. If you think this is an error, please try refreshing the page or reaching in to the help center." } }, "TOKEN_MIGRATION": { diff --git a/package-lock.json b/package-lock.json index 8448a1c75..e141a4a0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.166", + "version": "1.1.167", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 42c55bb0d..af665ad0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.166", + "version": "1.1.167", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index a8eec3e1a..7023bc92e 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -1,6 +1,6 @@ // !! GENERATED FILE - DO NOT EDIT -// Generated from ../config/localization/en/app.json using ./codegen_localization_app.swift +// Generated from ../config/localization/en/app.json using codegen_localization_app.swift export const APP_STRING_KEYS = { @@ -59,6 +59,7 @@ export const APP_STRING_KEYS = { BLOCKED_MESSAGE: 'APP.COMPLIANCE.BLOCKED_MESSAGE', CLOSE_ONLY_MESSAGE_WITH_HELP: 'APP.COMPLIANCE.CLOSE_ONLY_MESSAGE_WITH_HELP', PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP: 'APP.COMPLIANCE.PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP', + READONLY_MESSAGE: 'APP.COMPLIANCE.READONLY_MESSAGE', // COMPLIANCE_MODAL From 75d3b917168d991911167a13e00260d94c66964d Mon Sep 17 00:00:00 2001 From: Bill He Date: Wed, 31 Jul 2024 09:03:46 -0700 Subject: [PATCH 2/2] update --- config/localization/en/app.json | 2 +- scripts/generated/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index f69702297..0baab61d7 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -2070,7 +2070,7 @@ "CLOSE_ONLY_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You haveĀ until {DATE} to withdraw your funds before your access to the frontend is blocked. If you believe there has been an error, please contact support at {HELP_LINK}.", "PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please contact support at {HELP_LINK}.", "BLOCKED_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}.", - "READONLY_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our Terms of Use {TERMS_OF_USE_LINK}. If you think this is an error, please try refreshing the page or reaching in to the help center." + "BLOCKED_BANNER_MESSAGE": "Perpetuals are not available to any persons who are residents of, are located or incorporated in, or have a registered agent in a blocked country or a restricted territory. More details can be found in our {TERMS_OF_USE_LINK}. If you think this is an error, please contact support in the {HELP_LINK}." } }, "TOKEN_MIGRATION": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 7023bc92e..c07e27d81 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -56,10 +56,10 @@ export const APP_STRING_KEYS = { // COMPLIANCE + BLOCKED_BANNER_MESSAGE: 'APP.COMPLIANCE.BLOCKED_BANNER_MESSAGE', BLOCKED_MESSAGE: 'APP.COMPLIANCE.BLOCKED_MESSAGE', CLOSE_ONLY_MESSAGE_WITH_HELP: 'APP.COMPLIANCE.CLOSE_ONLY_MESSAGE_WITH_HELP', PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP: 'APP.COMPLIANCE.PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP', - READONLY_MESSAGE: 'APP.COMPLIANCE.READONLY_MESSAGE', // COMPLIANCE_MODAL