Skip to content

Commit 20a70c5

Browse files
authored
Add deposit/withdraw rewrite strings (#923)
* deposit/withdraw rewrite strings * fix
1 parent 83932b7 commit 20a70c5

File tree

2 files changed

+68
-6
lines changed

2 files changed

+68
-6
lines changed

config/localization/en/app.json

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"DEPOSIT_MORE": "Deposit more",
135135
"DEPOSIT_WITH_FIAT": "Deposit with fiat",
136136
"DEPOSIT": "Deposit",
137+
"DEPOSIT_WITH": "Deposit with {TARGET}",
137138
"DEPTH_CHART_SHORT": "Depth",
138139
"DESTINATION": "Destination",
139140
"DETAILED_VIEW": "Detailed view",
@@ -208,7 +209,6 @@
208209
"BIGGEST_MOVERS": "Biggest Movers",
209210
"RECENTLY_LISTED": "Recently Listed",
210211
"GAINERS": "Gainers",
211-
"LEARN_MORE": "Learn more",
212212
"LOSERS": "Losers",
213213
"EARNED_BY_STAKERS": "Earned by Stakers",
214214
"ADD_NEW_MARKET": "Add new market",
@@ -315,6 +315,7 @@
315315
"REFERRER_PERCENT_OFF": "{DISCOUNT}% off",
316316
"REMOVING": "Removing",
317317
"RESULTS": "Results",
318+
"RETRY": "Retry",
318319
"REVIEW": "Review",
319320
"REWARDS": "Rewards",
320321
"REWARDED": "Rewarded",
@@ -914,8 +915,10 @@
914915
"CREDITED_WITH": "Your account will be credited with ${AMOUNT_USD} in test funds.",
915916
"DEPOSIT_ALERT_TITLE": "You have {PENDING_DEPOSITS} pending deposit from {SOURCE_CHAIN}.",
916917
"DEPOSIT_ALERT_SUBTITLE": "Check status",
918+
"DEPOSIT_AVAILABLE": "Your deposit of {AMOUNT_USD} is now available.",
917919
"DEPOSIT_COMPLETE": "Your deposit of {AMOUNT_USD} is now available.",
918920
"DEPOSIT_OF": "Deposit of {AMOUNT_USD}",
921+
"DEPOSIT_PENDING": "Your deposit of {AMOUNT_USD} is pending.",
919922
"DEPOSIT_STATUS": "Your deposit of {AMOUNT_USD} will be available in approximately {ESTIMATED_DURATION}.",
920923
"DEPOSIT_STATUS_SHORTLY": "Your deposit of {AMOUNT_USD} will be available shortly.",
921924
"DEPOSIT_TO_DESTINATION": "Deposit to {DESTINATION_CHAIN}",
@@ -949,6 +952,7 @@
949952
"LEGACY_SIGNING": "Legacy signing",
950953
"LINK_WALLET": "Link wallet",
951954
"LINKING_WALLET": "Linking wallet",
955+
"MINIMUM_DEPOSIT": "Min. deposit is {MIN_DEPOSIT_USDC}",
952956
"MISSING_KEYS_DESCRIPTION": "Welcome back! One or more of your keys needs to be recovered",
953957
"NEED_A_WALLET": "Need a wallet?",
954958
"NOBLE_ADDRESS": "Noble Address",
@@ -987,11 +991,14 @@
987991
"SIGN_IN_WITH_EMAIL_OR_SOCIAL": "Sign in with email or social",
988992
"SIGN_IN_WITH_EMAIL": "Sign in with email",
989993
"SIGN_IN_WITH_EMAIL_SUBTITLE": "A simple way to sign in, powered by {MAGIC}",
994+
"SKIP_FAST_ROUTE_DESC": "$$ fee, ${LIMIT_AMOUNT} limit",
995+
"SKIP_SLOW_ROUTE_DESC": "$ fee, no limit",
990996
"SKIP_FOR_NOW": "Skip for now",
991997
"SITE_OPERATED_BY_SHORT": "This site is operated by {NAME_OF_DEPLOYER}, utilizing software open sourced by dYdX Trading Inc. {LEARN_MORE_LINK}",
992998
"SITE_OPERATED_BY_LONG": "This site is operated by {NAME_OF_DEPLOYER} subject to {DEPLOYER_TERMS_AND_CONDITIONS}, utilizing certain software open sourced by third party dYdX Trading Inc. subject to its {TERMS_OF_USE}, which prohibit use of the software by persons based in the United States or other restricted jurisdictions. The dYdX blockchain is powered by a community of independent validators. {LEARN_MORE_LINK}",
993999
"START_TRADING_BLURB": "Start trading on the world's most powerful open exchange.",
9941000
"SWITCH_NETWORK": "Switch network",
1001+
"SWITCH_NETWORKS": "Switch networks",
9951002
"TOS_TITLE": "By using any of our products and services, you agree to the {TERMS_LINK} and {PRIVACY_POLICY_LINK}. You hereby agree, represent and warrant that:",
9961003
"TOS_LINE1": "You are not a person or company who is a resident of, or is located, incorporated or has a registered agent in, the United States, Canada, or other blocked or restricted location.",
9971004
"TOS_LINE2": "You will not in the future access this site, or use our products or services, while located within the United States, Canada, or other blocked or restricted location.",
@@ -1022,6 +1029,7 @@
10221029
"WITHDRAWAL_ALERT_SUBTITLE": "Check status",
10231030
"WITHDRAW_COMPLETE": "Your withdrawal of {AMOUNT_USD} is now available.",
10241031
"WITHDRAW_OF": "Withdraw of {AMOUNT_USD}",
1032+
"WITHDRAW_PENDING": "Your withdrawal of {AMOUNT_USD} is pending.",
10251033
"WITHDRAW_STATUS": "Your withdrawal of {AMOUNT_USD} will be available in approximately {ESTIMATED_DURATION}.",
10261034
"WITHDRAW_STATUS_SHORTLY": "Your withdrawal of {AMOUNT_USD} will be available shortly.",
10271035
"WITHDRAWALS_PAUSED": "Withdrawals temporarily paused",
@@ -1090,7 +1098,9 @@
10901098
},
10911099
"DEPOSIT_MODAL": {
10921100
"ACKNOWLEDGE_TERMS_AND_DEPOSIT": "Acknowledge terms and deposit",
1101+
"APPROVE_USDC": "Approve USDC",
10931102
"BRIDGE_FEE": "Bridge Fee",
1103+
"DEPOSIT_VIA_COINBASE": "Deposit via Coinbase",
10941104
"ENABLE_FOR_THIS_DEPOSIT": "Enable for this deposit",
10951105
"ENABLE_SYMBOL_ON_DYDX": "Enable {SYMBOL} on dYdX",
10961106
"ENABLE_SYMBOL": "Enable {SYMBOL}",
@@ -1104,6 +1114,7 @@
11041114
"GASLESS_DEPOSITS_SUBJECT_TO_RULES": "Gasless deposits are subject to these rules",
11051115
"GASLESS_DEPOSITS_TEMPORARILY_DISABLED": "Gasless deposits are temporarily unavailable. Don't worry, they'll be back soon!",
11061116
"GASLESS_ETH_DEPOSITS": "Gasless deposits are not available for ETH. You can convert your ETH to WETH on {1INCH_WETH_LINK} or {UNISWAP_WETH_LINK} and use WETH gasless deposits, or directly deposit ETH by paying your own gas costs.",
1117+
"HELD": "held",
11071118
"LOWEST_FEE_DEPOSITS": "USDC deposits from {LOWEST_FEE_TOKENS_TOOLTIP} have the lowest fees. Other deposits may have additional third-party fees.",
11081119
"MAX_SLIPPAGE": "Max Slippage",
11091120
"MINIMUM_DEPOSIT_AMOUNT": "Minimum Deposit Amount",
@@ -1115,8 +1126,13 @@
11151126
"SLIPPAGE": "Slippage",
11161127
"SUBJECT_TO_RULES": "Subject to these rules",
11171128
"SWAP": "Swap",
1129+
"TO_DEPOSIT_FROM_COINBASE": "To deposit from Coinbase, send {ASSET} on {NETWORK} to the address shown below.",
11181130
"ESTIMATED_TIME": "Estimated Time",
1119-
"DEPOSIT_ACKNOWLEDGEMENT": "I agree to the {TERMS_LINK} and {POLICY_LINK}, including that I accept the risks associated with these products and services and will not use them from the United States or any other restricted jurisdiction. {VIEW_MORE_LINK}"
1131+
"DEPOSIT_ACKNOWLEDGEMENT": "I agree to the {TERMS_LINK} and {POLICY_LINK}, including that I accept the risks associated with these products and services and will not use them from the United States or any other restricted jurisdiction. {VIEW_MORE_LINK}",
1132+
"YOUR_FUNDS_AVAILABLE_FOR_TRADING": "Your funds are now available for trading.",
1133+
"YOUR_FUNDS_AVAILABLE_SOON": "Your funds will be available soon, and you may safely close this window.",
1134+
"YOU_MAY_CLOSE_WINDOW": "You may safely close this window.",
1135+
"YOUR_DEPOSIT": "Your deposit"
11201136
},
11211137
"WITHDRAW_MODAL": {
11221138
"ENABLE_WITHDRAW": "Enable withdraw",
@@ -1138,7 +1154,10 @@
11381154
"SLOW_WITHDRAW_CONFIRMATION": "This {STYLED_SLOW} withdraw may take up to {HOURS} hours before it is available to withdraw. You will be responsible for the withdraw transaction gas fees. If you need your funds sooner, try a {STYLED_FAST} withdraw.",
11391155
"WITHDRAW_IRREVERSIBLE": "Initiating a withdraw is irreversible.",
11401156
"ACKNOWLEDGE_WARNING_MESSAGE_HIGH_FEES": "High third party fees from chosen route. I acknowledge:\n{WARNING_MESSAGE}",
1141-
"ACKNOWLEDGE_WARNING_MESSAGE_FALLBACK": "I acknowledge the following warning:\n{WARNING_MESSAGE}"
1157+
"ACKNOWLEDGE_WARNING_MESSAGE_FALLBACK": "I acknowledge the following warning:\n{WARNING_MESSAGE}",
1158+
"YOUR_FUNDS_WITHDRAWN": "Your funds have been withdrawn.",
1159+
"YOUR_FUNDS_WITHDRAWN_SHORTLY": "Your funds will be withdrawn shortly. You may safely close this window.",
1160+
"YOUR_WITHDRAWAL": "Your withdrawal"
11421161
},
11431162
"ONBOARDING_MODAL": {
11441163
"ABOUT_WALLETS": "About wallets",
@@ -2685,13 +2704,16 @@
26852704
"DEPOSIT_WRONG_NETWORK_PRODUCTION": "Your wallet network is incorrect. Please make sure it’s set to 'Ethereum Mainnet'.",
26862705
"DEPOSIT_WRONG_NETWORK_STAGING": "Your wallet network is incorrect. Please make sure it’s set to 'Goerli Test Network'.",
26872706
"MUST_SPECIFY_ASSET": "Please select an asset to deposit.",
2688-
"MUST_SPECIFY_CHAIN": "Please select a source chain to deposit from."
2707+
"MUST_SPECIFY_CHAIN": "Please select a source chain to deposit from.",
2708+
"YOUR_DEPOSIT_FAILED": "Your deposit has failed. Please try again."
26892709
},
26902710
"WITHDRAW_MODAL": {
26912711
"FAST_WITHDRAW_NOT_ENOUGH_LIQUIDITY": "There is not enough liquidity to process this fast withdraw. Please try a smaller amount.",
26922712
"MAX_FAST_WITHDRAW_AMOUNT": "Please enter a withdraw amount less than {MAX_FAST_WITHDRAW_AMOUNT}.",
26932713
"MIN_SLOW_WITHDRAW_AMOUNT": "Slow withdraw amount must be greater than or equal to 10, or your entire account balance.",
26942714
"RESTRICTED_OPEN_POSITIONS_WITHDRAW": "Your account is restricted. You must close all your positions before you can withdraw.",
2715+
"WITHDRAWAL_FAILED_TRY_AGAIN": "Your withdrawal request failed. Please try again.",
2716+
"WITHDRAWAL_UNDERCOLLATERALIZED": "Your withdrawal request would leave your account undercollateralized. Please try a smaller amount.",
26952717
"WITHDRAW_MORE_THAN_FREE_DUE_TO_FEE": "You cannot withdraw more than your free collateral. Make sure you account for the fast withdraw fee when entering an amount.",
26962718
"WITHDRAW_MORE_THAN_FREE": "You cannot withdraw more than your free collateral.",
26972719
"WITHDRAW_MUST_SPECIFY_ADDRESS": "Please enter a destination address.",
@@ -2714,6 +2736,13 @@
27142736
"NEW_MARKET_WIDGET": {
27152737
"LAUNCHING_MARKET_REQUIRES_USDC": "Launching a market requires a minimum of {USDC_AMOUNT} USDC of cross free collateral",
27162738
"NOT_ENOUGH_BALANCE": "You need at least {NUM_TOKENS_REQUIRED} {NATIVE_TOKEN_DENOM} to add a market."
2739+
},
2740+
"WALLET_SPECIFIC": {
2741+
"CHAIN_MISMATCH": "Please change your wallet network and try again.",
2742+
"ERROR_WITH_APPROVAL": "There was an error with your approval.",
2743+
"INSUFFICIENT_GAS_BALANCE": "Insufficient gas balance. Please add gas funds and try again.",
2744+
"USER_REJECTED": "User rejected request.",
2745+
"YOUR_APPROVAL_FAILED": "Your approval has failed. Please try again."
27172746
}
27182747
},
27192748
"WARNINGS": {
@@ -2730,7 +2759,8 @@
27302759
"TRANSFERS_PAUSED_ACTION": "Transfers paused"
27312760
},
27322761
"ONBOARDING": {
2733-
"ALWAYS_VERIFY_URL": "Always check and verify you are on https://trade.dydx.exchange when recovering your keys."
2762+
"ALWAYS_VERIFY_URL": "Always check and verify you are on https://trade.dydx.exchange when recovering your keys.",
2763+
"NOBLE_CHAIN_ONLY": "This address is only for Noble USDC transfers to the Noble Chain. Sending any funds from other blockchains will result in a loss of those funds."
27342764
},
27352765
"TRADE_BOX": {
27362766
"LIMIT_PRICE_TRIGGER_PRICE_SLIPPAGE_HIGHER": "The slippage on this order is low - we recommend a limit price of ${LIMIT_PRICE} or higher to improve your odds of filling this order. Your order will execute at the best possible price when it triggers.",

scripts/generated/app.ts

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// !! GENERATED FILE - DO NOT EDIT
22

3-
// Generated from ./config/localization/en/app.json using scripts/codegen_localization_app.swift
3+
// Generated from ../config/localization/en/app.json using codegen_localization_app.swift
44

55
export const APP_STRING_KEYS = {
66

@@ -157,8 +157,10 @@ export const APP_STRING_KEYS = {
157157
// DEPOSIT_MODAL
158158

159159
ACKNOWLEDGE_TERMS_AND_DEPOSIT: 'APP.DEPOSIT_MODAL.ACKNOWLEDGE_TERMS_AND_DEPOSIT',
160+
APPROVE_USDC: 'APP.DEPOSIT_MODAL.APPROVE_USDC',
160161
BRIDGE_FEE: 'APP.DEPOSIT_MODAL.BRIDGE_FEE',
161162
DEPOSIT_ACKNOWLEDGEMENT: 'APP.DEPOSIT_MODAL.DEPOSIT_ACKNOWLEDGEMENT',
163+
DEPOSIT_VIA_COINBASE: 'APP.DEPOSIT_MODAL.DEPOSIT_VIA_COINBASE',
162164
ENABLE_FOR_THIS_DEPOSIT: 'APP.DEPOSIT_MODAL.ENABLE_FOR_THIS_DEPOSIT',
163165
ENABLE_SYMBOL: 'APP.DEPOSIT_MODAL.ENABLE_SYMBOL',
164166
ENABLE_SYMBOL_ON_DYDX: 'APP.DEPOSIT_MODAL.ENABLE_SYMBOL_ON_DYDX',
@@ -174,6 +176,7 @@ export const APP_STRING_KEYS = {
174176
GASLESS_DEPOSITS_SUBJECT_TO_RULES: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_SUBJECT_TO_RULES',
175177
GASLESS_DEPOSITS_TEMPORARILY_DISABLED: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_TEMPORARILY_DISABLED',
176178
GASLESS_ETH_DEPOSITS: 'APP.DEPOSIT_MODAL.GASLESS_ETH_DEPOSITS',
179+
HELD: 'APP.DEPOSIT_MODAL.HELD',
177180
LOWEST_FEE_DEPOSITS: 'APP.DEPOSIT_MODAL.LOWEST_FEE_DEPOSITS',
178181
MAX_SLIPPAGE: 'APP.DEPOSIT_MODAL.MAX_SLIPPAGE',
179182
MINIMUM_DEPOSIT_AMOUNT: 'APP.DEPOSIT_MODAL.MINIMUM_DEPOSIT_AMOUNT',
@@ -184,6 +187,11 @@ export const APP_STRING_KEYS = {
184187
SLIPPAGE: 'APP.DEPOSIT_MODAL.SLIPPAGE',
185188
SUBJECT_TO_RULES: 'APP.DEPOSIT_MODAL.SUBJECT_TO_RULES',
186189
SWAP: 'APP.DEPOSIT_MODAL.SWAP',
190+
TO_DEPOSIT_FROM_COINBASE: 'APP.DEPOSIT_MODAL.TO_DEPOSIT_FROM_COINBASE',
191+
YOUR_DEPOSIT: 'APP.DEPOSIT_MODAL.YOUR_DEPOSIT',
192+
YOUR_FUNDS_AVAILABLE_FOR_TRADING: 'APP.DEPOSIT_MODAL.YOUR_FUNDS_AVAILABLE_FOR_TRADING',
193+
YOUR_FUNDS_AVAILABLE_SOON: 'APP.DEPOSIT_MODAL.YOUR_FUNDS_AVAILABLE_SOON',
194+
YOU_MAY_CLOSE_WINDOW: 'APP.DEPOSIT_MODAL.YOU_MAY_CLOSE_WINDOW',
187195

188196
// DEPOSIT_OPTIONS
189197

@@ -451,6 +459,7 @@ export const APP_STRING_KEYS = {
451459
DEPOSIT: 'APP.GENERAL.DEPOSIT',
452460
DEPOSIT_FUNDS: 'APP.GENERAL.DEPOSIT_FUNDS',
453461
DEPOSIT_MORE: 'APP.GENERAL.DEPOSIT_MORE',
462+
DEPOSIT_WITH: 'APP.GENERAL.DEPOSIT_WITH',
454463
DEPOSIT_WITH_FIAT: 'APP.GENERAL.DEPOSIT_WITH_FIAT',
455464
DEPTH_CHART_SHORT: 'APP.GENERAL.DEPTH_CHART_SHORT',
456465
DESTINATION: 'APP.GENERAL.DESTINATION',
@@ -630,6 +639,7 @@ export const APP_STRING_KEYS = {
630639
REFERRER_PERCENT_OFF: 'APP.GENERAL.REFERRER_PERCENT_OFF',
631640
REMOVING: 'APP.GENERAL.REMOVING',
632641
RESULTS: 'APP.GENERAL.RESULTS',
642+
RETRY: 'APP.GENERAL.RETRY',
633643
REVIEW: 'APP.GENERAL.REVIEW',
634644
REWARDED: 'APP.GENERAL.REWARDED',
635645
REWARDS: 'APP.GENERAL.REWARDS',
@@ -1142,8 +1152,10 @@ export const APP_STRING_KEYS = {
11421152
CREDITED_WITH: 'APP.ONBOARDING.CREDITED_WITH',
11431153
DEPOSIT_ALERT_SUBTITLE: 'APP.ONBOARDING.DEPOSIT_ALERT_SUBTITLE',
11441154
DEPOSIT_ALERT_TITLE: 'APP.ONBOARDING.DEPOSIT_ALERT_TITLE',
1155+
DEPOSIT_AVAILABLE: 'APP.ONBOARDING.DEPOSIT_AVAILABLE',
11451156
DEPOSIT_COMPLETE: 'APP.ONBOARDING.DEPOSIT_COMPLETE',
11461157
DEPOSIT_OF: 'APP.ONBOARDING.DEPOSIT_OF',
1158+
DEPOSIT_PENDING: 'APP.ONBOARDING.DEPOSIT_PENDING',
11471159
DEPOSIT_STATUS: 'APP.ONBOARDING.DEPOSIT_STATUS',
11481160
DEPOSIT_STATUS_SHORTLY: 'APP.ONBOARDING.DEPOSIT_STATUS_SHORTLY',
11491161
DEPOSIT_TO_DESTINATION: 'APP.ONBOARDING.DEPOSIT_TO_DESTINATION',
@@ -1176,6 +1188,7 @@ export const APP_STRING_KEYS = {
11761188
LINKING_WALLET: 'APP.ONBOARDING.LINKING_WALLET',
11771189
LINK_WALLET: 'APP.ONBOARDING.LINK_WALLET',
11781190
MINIMUM_AMOUNT_RECEIVED: 'APP.ONBOARDING.MINIMUM_AMOUNT_RECEIVED',
1191+
MINIMUM_DEPOSIT: 'APP.ONBOARDING.MINIMUM_DEPOSIT',
11791192
MISSING_KEYS_DESCRIPTION: 'APP.ONBOARDING.MISSING_KEYS_DESCRIPTION',
11801193
MULTI_FACTOR_AUTH: 'APP.ONBOARDING.MULTI_FACTOR_AUTH',
11811194
NEED_A_WALLET: 'APP.ONBOARDING.NEED_A_WALLET',
@@ -1214,9 +1227,12 @@ export const APP_STRING_KEYS = {
12141227
SIGN_MESSAGE: 'APP.ONBOARDING.SIGN_MESSAGE',
12151228
SITE_OPERATED_BY_LONG: 'APP.ONBOARDING.SITE_OPERATED_BY_LONG',
12161229
SITE_OPERATED_BY_SHORT: 'APP.ONBOARDING.SITE_OPERATED_BY_SHORT',
1230+
SKIP_FAST_ROUTE_DESC: 'APP.ONBOARDING.SKIP_FAST_ROUTE_DESC',
12171231
SKIP_FOR_NOW: 'APP.ONBOARDING.SKIP_FOR_NOW',
1232+
SKIP_SLOW_ROUTE_DESC: 'APP.ONBOARDING.SKIP_SLOW_ROUTE_DESC',
12181233
START_TRADING_BLURB: 'APP.ONBOARDING.START_TRADING_BLURB',
12191234
SWITCH_NETWORK: 'APP.ONBOARDING.SWITCH_NETWORK',
1235+
SWITCH_NETWORKS: 'APP.ONBOARDING.SWITCH_NETWORKS',
12201236
TOS_LINE1: 'APP.ONBOARDING.TOS_LINE1',
12211237
TOS_LINE2: 'APP.ONBOARDING.TOS_LINE2',
12221238
TOS_LINE3: 'APP.ONBOARDING.TOS_LINE3',
@@ -1249,6 +1265,7 @@ export const APP_STRING_KEYS = {
12491265
WITHDRAWAL_ALERT_TITLE: 'APP.ONBOARDING.WITHDRAWAL_ALERT_TITLE',
12501266
WITHDRAW_COMPLETE: 'APP.ONBOARDING.WITHDRAW_COMPLETE',
12511267
WITHDRAW_OF: 'APP.ONBOARDING.WITHDRAW_OF',
1268+
WITHDRAW_PENDING: 'APP.ONBOARDING.WITHDRAW_PENDING',
12521269
WITHDRAW_STATUS: 'APP.ONBOARDING.WITHDRAW_STATUS',
12531270
WITHDRAW_STATUS_SHORTLY: 'APP.ONBOARDING.WITHDRAW_STATUS_SHORTLY',
12541271
WRONG_NETWORK: 'APP.ONBOARDING.WRONG_NETWORK',
@@ -2074,6 +2091,9 @@ export const APP_STRING_KEYS = {
20742091
SLOW_WITHDRAW_CONFIRMATION: 'APP.WITHDRAW_MODAL.SLOW_WITHDRAW_CONFIRMATION',
20752092
SLOW_WITHDRAW_DESCRIPTION: 'APP.WITHDRAW_MODAL.SLOW_WITHDRAW_DESCRIPTION',
20762093
WITHDRAW_IRREVERSIBLE: 'APP.WITHDRAW_MODAL.WITHDRAW_IRREVERSIBLE',
2094+
YOUR_FUNDS_WITHDRAWN: 'APP.WITHDRAW_MODAL.YOUR_FUNDS_WITHDRAWN',
2095+
YOUR_FUNDS_WITHDRAWN_SHORTLY: 'APP.WITHDRAW_MODAL.YOUR_FUNDS_WITHDRAWN_SHORTLY',
2096+
YOUR_WITHDRAWAL: 'APP.WITHDRAW_MODAL.YOUR_WITHDRAWAL',
20772097
};
20782098

20792099
export const CHAIN_STRING_KEYS = {
@@ -2151,6 +2171,7 @@ export const ERRORS_STRING_KEYS = {
21512171
DEPOSIT_WRONG_NETWORK_STAGING: 'ERRORS.DEPOSIT_MODAL.DEPOSIT_WRONG_NETWORK_STAGING',
21522172
MUST_SPECIFY_ASSET: 'ERRORS.DEPOSIT_MODAL.MUST_SPECIFY_ASSET',
21532173
MUST_SPECIFY_CHAIN: 'ERRORS.DEPOSIT_MODAL.MUST_SPECIFY_CHAIN',
2174+
YOUR_DEPOSIT_FAILED: 'ERRORS.DEPOSIT_MODAL.YOUR_DEPOSIT_FAILED',
21542175

21552176
// GENERAL
21562177

@@ -2275,12 +2296,22 @@ export const ERRORS_STRING_KEYS = {
22752296
// TRIGGERS_FORM_TITLE
22762297

22772298

2299+
// WALLET_SPECIFIC
2300+
2301+
CHAIN_MISMATCH: 'ERRORS.WALLET_SPECIFIC.CHAIN_MISMATCH',
2302+
ERROR_WITH_APPROVAL: 'ERRORS.WALLET_SPECIFIC.ERROR_WITH_APPROVAL',
2303+
INSUFFICIENT_GAS_BALANCE: 'ERRORS.WALLET_SPECIFIC.INSUFFICIENT_GAS_BALANCE',
2304+
USER_REJECTED: 'ERRORS.WALLET_SPECIFIC.USER_REJECTED',
2305+
YOUR_APPROVAL_FAILED: 'ERRORS.WALLET_SPECIFIC.YOUR_APPROVAL_FAILED',
2306+
22782307
// WITHDRAW_MODAL
22792308

22802309
FAST_WITHDRAW_NOT_ENOUGH_LIQUIDITY: 'ERRORS.WITHDRAW_MODAL.FAST_WITHDRAW_NOT_ENOUGH_LIQUIDITY',
22812310
MAX_FAST_WITHDRAW_AMOUNT: 'ERRORS.WITHDRAW_MODAL.MAX_FAST_WITHDRAW_AMOUNT',
22822311
MIN_SLOW_WITHDRAW_AMOUNT: 'ERRORS.WITHDRAW_MODAL.MIN_SLOW_WITHDRAW_AMOUNT',
22832312
RESTRICTED_OPEN_POSITIONS_WITHDRAW: 'ERRORS.WITHDRAW_MODAL.RESTRICTED_OPEN_POSITIONS_WITHDRAW',
2313+
WITHDRAWAL_FAILED_TRY_AGAIN: 'ERRORS.WITHDRAW_MODAL.WITHDRAWAL_FAILED_TRY_AGAIN',
2314+
WITHDRAWAL_UNDERCOLLATERALIZED: 'ERRORS.WITHDRAW_MODAL.WITHDRAWAL_UNDERCOLLATERALIZED',
22842315
WITHDRAW_MORE_THAN_FREE: 'ERRORS.WITHDRAW_MODAL.WITHDRAW_MORE_THAN_FREE',
22852316
WITHDRAW_MORE_THAN_FREE_DUE_TO_FEE: 'ERRORS.WITHDRAW_MODAL.WITHDRAW_MORE_THAN_FREE_DUE_TO_FEE',
22862317
WITHDRAW_MUST_SPECIFY_ADDRESS: 'ERRORS.WITHDRAW_MODAL.WITHDRAW_MUST_SPECIFY_ADDRESS',
@@ -2372,6 +2403,7 @@ export const WARNINGS_STRING_KEYS = {
23722403
// ONBOARDING
23732404

23742405
ALWAYS_VERIFY_URL: 'WARNINGS.ONBOARDING.ALWAYS_VERIFY_URL',
2406+
NOBLE_CHAIN_ONLY: 'WARNINGS.ONBOARDING.NOBLE_CHAIN_ONLY',
23752407

23762408
// TRADE_BOX
23772409

0 commit comments

Comments
 (0)