Skip to content

Commit

Permalink
Add estimated duration strings (#62)
Browse files Browse the repository at this point in the history
* Add estimated duration strings

* Bump version
  • Loading branch information
ruixhuang authored Sep 27, 2023
1 parent fb60aeb commit eb2e50a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"TODAY": "Today",
"WEEK": "Week",
"WEEKS_ABBREVIATED": "w",
"WEEKS": "Weeks"
"WEEKS": "Weeks",
"X_MINUTES": "{X} Minutes"
},
"ABOUT": "About",
"ACADEMY": "Academy",
Expand Down Expand Up @@ -556,7 +557,8 @@
"SETTING_ALLOWANCE_EXPLANATION": "You will be able to deposit once your enable {SYMBOL} transaction confirms. You only have to do this once per asset.",
"SLIPPAGE": "Slippage",
"SUBJECT_TO_RULES": "Subject to these rules",
"SWAP": "Swap"
"SWAP": "Swap",
"ESTIMATED_TIME": "Estimated Time"
},
"WITHDRAW_MODAL": {
"ENABLE_WITHDRAW": "Enable withdraw",
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": "0.1.12",
"version": "0.1.13",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
4 changes: 3 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 scripts/codegen_localization_app.swift

export const APP_STRING_KEYS = {

Expand Down Expand Up @@ -136,6 +136,7 @@ export const APP_STRING_KEYS = {
ENABLE_SYMBOL: 'APP.DEPOSIT_MODAL.ENABLE_SYMBOL',
ENABLE_SYMBOL_ON_DYDX: 'APP.DEPOSIT_MODAL.ENABLE_SYMBOL_ON_DYDX',
ENABLING_SYMBOL: 'APP.DEPOSIT_MODAL.ENABLING_SYMBOL',
ESTIMATED_TIME: 'APP.DEPOSIT_MODAL.ESTIMATED_TIME',
EXCHANGE_RATE: 'APP.DEPOSIT_MODAL.EXCHANGE_RATE',
EXCHANGE_RECEIVED: 'APP.DEPOSIT_MODAL.EXCHANGE_RECEIVED',
FREE_GAS: 'APP.DEPOSIT_MODAL.FREE_GAS',
Expand Down Expand Up @@ -519,6 +520,7 @@ export const APP_STRING_KEYS = {
WEEK: 'APP.GENERAL.TIME_STRINGS.WEEK',
WEEKS: 'APP.GENERAL.TIME_STRINGS.WEEKS',
WEEKS_ABBREVIATED: 'APP.GENERAL.TIME_STRINGS.WEEKS_ABBREVIATED',
X_MINUTES: 'APP.GENERAL.TIME_STRINGS.X_MINUTES',
_24H: 'APP.GENERAL.TIME_STRINGS._24H',
_30D: 'APP.GENERAL.TIME_STRINGS._30D',
TO: 'APP.GENERAL.TO',
Expand Down

0 comments on commit eb2e50a

Please sign in to comment.