Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localization strings for CEX memo #487

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"MAXIMUM_LEVERAGE": "Maximum Leverage",
"MAXIMUM_REWARDS": "Estimated Rewards",
"MEME": "Meme",
"MEMO": "Memo",
"MENU": "Menu",
"METRICS": "Metrics",
"MID_CAP": "Mid-cap",
Expand Down Expand Up @@ -1760,6 +1761,7 @@
"INVALID_ADDRESS_TITLE": "Invalid wallet address",
"INVALID_ADDRESS_BODY": "Please enter a valid dYdX chain address.",
"PLEASE_CONFIRM_ADDRESS": "Please confirm that this is the desired address before proceeding.",
"REQUIRED_FOR_TRANSFERS_TO_CEX": "Required for transfers to Centralized Exchanges",
"SELECT_ADDRESS": "Enter or select address"
},
"DEPOSIT_WITH_FIAT": {
Expand Down Expand Up @@ -2223,7 +2225,8 @@
"TRANSFER_INVALID_ETH_ADDRESS": "We could not find an account associated with this wallet address.",
"TRANSFER_MORE_THAN_FREE": "You cannot transfer more than your free collateral.",
"TRANSFER_TO_YOURSELF": "You cannot complete a direct transfer to your own wallet address.",
"TRANSFER_INSUFFICIENT_GAS": "The USDC balance {USDC_BALANCE} in your chain wallet may not cover the transaction fees. Please deposit additional funds."
"TRANSFER_INSUFFICIENT_GAS": "The USDC balance {USDC_BALANCE} in your chain wallet may not cover the transaction fees. Please deposit additional funds.",
"TRANSFER_WITHOUT_MEMO": "Transfering to a centralized exchange without a memo can result in a loss of funds."
},
"ADJUST_ISOLATED_MARGIN": {
"ISOLATED_MARGIN_ADJUSTMENT_MORE_THAN_FREE": "You cannot transfer more than your free collateral.",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-localization",
"version": "1.1.97",
"version": "1.1.98",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion scripts/generated/app.ts
Original file line number Diff line number Diff line change
@@ -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 = {

Expand Down Expand Up @@ -164,6 +164,7 @@ export const APP_STRING_KEYS = {
INVALID_ADDRESS_BODY: 'APP.DIRECT_TRANSFER_MODAL.INVALID_ADDRESS_BODY',
INVALID_ADDRESS_TITLE: 'APP.DIRECT_TRANSFER_MODAL.INVALID_ADDRESS_TITLE',
PLEASE_CONFIRM_ADDRESS: 'APP.DIRECT_TRANSFER_MODAL.PLEASE_CONFIRM_ADDRESS',
REQUIRED_FOR_TRANSFERS_TO_CEX: 'APP.DIRECT_TRANSFER_MODAL.REQUIRED_FOR_TRANSFERS_TO_CEX',
SELECT_ADDRESS: 'APP.DIRECT_TRANSFER_MODAL.SELECT_ADDRESS',

// DISCOVERABILITY
Expand Down Expand Up @@ -424,6 +425,7 @@ export const APP_STRING_KEYS = {
MAX_BUYING_POWER: 'APP.GENERAL.MAX_BUYING_POWER',
MAX_WITHDRAW: 'APP.GENERAL.MAX_WITHDRAW',
MEME: 'APP.GENERAL.MEME',
MEMO: 'APP.GENERAL.MEMO',
MENU: 'APP.GENERAL.MENU',
METRICS: 'APP.GENERAL.METRICS',
MID_CAP: 'APP.GENERAL.MID_CAP',
Expand Down Expand Up @@ -1782,6 +1784,7 @@ export const ERRORS_STRING_KEYS = {
TRANSFER_INVALID_ETH_ADDRESS: 'ERRORS.TRANSFER_MODAL.TRANSFER_INVALID_ETH_ADDRESS',
TRANSFER_MORE_THAN_FREE: 'ERRORS.TRANSFER_MODAL.TRANSFER_MORE_THAN_FREE',
TRANSFER_TO_YOURSELF: 'ERRORS.TRANSFER_MODAL.TRANSFER_TO_YOURSELF',
TRANSFER_WITHOUT_MEMO: 'ERRORS.TRANSFER_MODAL.TRANSFER_WITHOUT_MEMO',

// TRIGGERS_FORM

Expand Down
Loading