aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/hex-as-decimal-input.js
diff options
context:
space:
mode:
authorNick Doiron <ndoiron@mapmeld.com>2018-01-30 04:29:01 +0800
committerNick Doiron <ndoiron@mapmeld.com>2018-01-30 04:29:01 +0800
commitabfa74f09a0119345165a32090d88a1d95df6c80 (patch)
tree0b826ccd552f3c31524d2dc1c970ea0ddcb1083b /ui/app/components/hex-as-decimal-input.js
parent1698541bcdce6c2933c8b3b4e1c89e2f391c3a68 (diff)
downloadtangerine-wallet-browser-abfa74f09a0119345165a32090d88a1d95df6c80.tar.gz
tangerine-wallet-browser-abfa74f09a0119345165a32090d88a1d95df6c80.tar.zst
tangerine-wallet-browser-abfa74f09a0119345165a32090d88a1d95df6c80.zip
complete i18n across new UI
Diffstat (limited to 'ui/app/components/hex-as-decimal-input.js')
-rw-r--r--ui/app/components/hex-as-decimal-input.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/hex-as-decimal-input.js b/ui/app/components/hex-as-decimal-input.js
index 992d8c8cd..a43d44f89 100644
--- a/ui/app/components/hex-as-decimal-input.js
+++ b/ui/app/components/hex-as-decimal-input.js
@@ -127,11 +127,11 @@ HexAsDecimalInput.prototype.constructWarning = function () {
let message = name ? name + ' ' : ''
if (min && max) {
- message += `must be greater than or equal to ${min} and less than or equal to ${max}.`
+ message += t('betweenMinAndMax', [min, max])
} else if (min) {
- message += `must be greater than or equal to ${min}.`
+ message += t('greaterThanMin', [min])
} else if (max) {
- message += `must be less than or equal to ${max}.`
+ message += t('lessThanMax', [max])
} else {
message += t('invalidInput')
}