From 78b05dc4fd0b61ae67bce236ae09f5235803a09a Mon Sep 17 00:00:00 2001 From: mulan xia Date: Wed, 1 May 2024 16:40:07 -0400 Subject: [PATCH 1/3] localization text --- config/localization_notifications/en/app.json | 4 ++++ scripts/generated/app.ts | 2 +- scripts/generated/notifications.ts | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config/localization_notifications/en/app.json b/config/localization_notifications/en/app.json index 30a00a651..f098a7cea 100644 --- a/config/localization_notifications/en/app.json +++ b/config/localization_notifications/en/app.json @@ -4,6 +4,10 @@ "TITLE": "Reward Earned", "BODY": "You have earned {BLOCK_REWARD_AMOUNT} {TOKEN_NAME} trading reward." }, + "CONDITIONAL_ORDERS_REVAMP": { + "TITLE": "Refreshed conditional order experience!", + "BODY": "Conditional orders on dYdX Chain have been completely re-vamped! Now more reliable, intuitive, and performant than ever before. Check out more details {TWITTER_LINK}." + }, "DELEVERAGED": { "TITLE": "Position Deleveraged", "BODY": "Your {SIDE} position on {MARKET} has been deleveraged." diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 6dec1f05f..19ee63154 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 = { diff --git a/scripts/generated/notifications.ts b/scripts/generated/notifications.ts index 718e69b3b..14890e234 100644 --- a/scripts/generated/notifications.ts +++ b/scripts/generated/notifications.ts @@ -5,6 +5,8 @@ export const NOTIFICATIONS_STRING_KEYS = { BLOCK_REWARD_BODY: 'NOTIFICATIONS.BLOCK_REWARD.BODY', BLOCK_REWARD_TITLE: 'NOTIFICATIONS.BLOCK_REWARD.TITLE', + CONDITIONAL_ORDERS_REVAMP_BODY: 'NOTIFICATIONS.CONDITIONAL_ORDERS_REVAMP.BODY', + CONDITIONAL_ORDERS_REVAMP_TITLE: 'NOTIFICATIONS.CONDITIONAL_ORDERS_REVAMP.TITLE', DELEVERAGED_BODY: 'NOTIFICATIONS.DELEVERAGED.BODY', DELEVERAGED_TITLE: 'NOTIFICATIONS.DELEVERAGED.TITLE', DEPOSIT_SUCCESS_BODY: 'NOTIFICATIONS.DEPOSIT_SUCCESS.BODY', From 8ff5f570a4c5cfb07a5cc334558ce43587e8a4af Mon Sep 17 00:00:00 2001 From: mulan xia Date: Wed, 1 May 2024 16:40:15 -0400 Subject: [PATCH 2/3] 1.1.78 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index af1b861f2..57d0eceaa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.77", + "version": "1.1.78", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.77", + "version": "1.1.78", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 9e04fc954..2bd6fd435 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.77", + "version": "1.1.78", "description": "v4 localization", "main": "index.ts", "scripts": { From 19fa6e0da4ca6f64cb4bab69b65cde2a7f9389cc Mon Sep 17 00:00:00 2001 From: mulan xia Date: Wed, 1 May 2024 16:41:42 -0400 Subject: [PATCH 3/3] fix english --- config/localization_notifications/en/app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/localization_notifications/en/app.json b/config/localization_notifications/en/app.json index f098a7cea..1cc3100b9 100644 --- a/config/localization_notifications/en/app.json +++ b/config/localization_notifications/en/app.json @@ -6,7 +6,7 @@ }, "CONDITIONAL_ORDERS_REVAMP": { "TITLE": "Refreshed conditional order experience!", - "BODY": "Conditional orders on dYdX Chain have been completely re-vamped! Now more reliable, intuitive, and performant than ever before. Check out more details {TWITTER_LINK}." + "BODY": "Conditional orders on dYdX Chain have been completely revamped! Now more reliable, intuitive, and performant than ever. Check out more details {TWITTER_LINK}." }, "DELEVERAGED": { "TITLE": "Position Deleveraged",