Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/ID-2758-balances-ro…
Browse files Browse the repository at this point in the history
…utes' into ID-2758-balances-routes
  • Loading branch information
alejoloaiza committed Dec 19, 2024
2 parents 2fab6e6 + d66a63a commit d5cc2cd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,7 @@ export function RouteOption<RC extends ReactElement | undefined = undefined>({
<>
<br />
<span style={{ color: '#FF637F' }}>
{/* {t('views.ADD_TOKENS.noBalanceRouteMessage', {
token: fromToken.symbol,
})} */}
{' '}
Insufficient balance
{t('views.ADD_TOKENS.noBalanceRouteMessage')}
</span>
</>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,7 @@ export function SelectedRouteOption({
<>
<br />
<span style={{ color: '#FF637F' }}>
{/* {t('views.ADD_TOKENS.noBalanceRouteMessage', {
token: fromToken.symbol,
})} */}
{' '}
Insufficient balance
{t('views.ADD_TOKENS.noBalanceRouteMessage')}
</span>
</>
)}
Expand Down
3 changes: 2 additions & 1 deletion packages/checkout/widgets-lib/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,8 @@
"primaryAction": "Try another option",
"secondaryAction": "Add more {{token}}"
},
"noGasRouteMessage": "Insufficient {{token}} for gas"
"noGasRouteMessage": "Insufficient {{token}} for gas",
"noBalanceRouteMessage": "Insufficient balance"
}
},
"footers": {
Expand Down
3 changes: 2 additions & 1 deletion packages/checkout/widgets-lib/src/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,8 @@
"primaryAction": "別のオプションを試す",
"secondaryAction": "{{token}} をさらに追加する"
},
"noGasRouteMessage": "ガス用の {{token}} が不足しています"
"noGasRouteMessage": "ガス用の {{token}} が不足しています",
"noBalanceRouteMessage": "残高不足"
}
},
"footers": {
Expand Down
3 changes: 2 additions & 1 deletion packages/checkout/widgets-lib/src/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,8 @@
"primaryAction": "다른 옵션 시도하기",
"secondaryAction": "{{token}} 더 추가하기"
},
"noGasRouteMessage": "가스에 필요한 {{token}}이(가) 부족합니다"
"noGasRouteMessage": "가스에 필요한 {{token}}이(가) 부족합니다",
"noBalanceRouteMessage": "잔액 부족"
}
},
"footers": {
Expand Down
3 changes: 2 additions & 1 deletion packages/checkout/widgets-lib/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,8 @@
"primaryAction": "尝试其他选项",
"secondaryAction": "添加更多 {{token}}"
},
"noGasRouteMessage": "用于燃料费的 {{token}} 不足"
"noGasRouteMessage": "用于燃料费的 {{token}} 不足",
"noBalanceRouteMessage": "余额不足"
}
},
"footers": {
Expand Down

0 comments on commit d5cc2cd

Please sign in to comment.