CAKE-306 | applied localization to MoonPay alert

This commit is contained in:
OleksandrSobol 2021-06-02 09:56:06 +03:00
parent 9e1c151f85
commit 1bf6ef6077
15 changed files with 31 additions and 15 deletions

View file

@ -261,7 +261,9 @@ class PreOrderPage extends BasePage {
builder: (BuildContext context) { builder: (BuildContext context) {
return AlertWithOneAction( return AlertWithOneAction(
alertTitle: 'MoonPay', alertTitle: 'MoonPay',
alertContent: 'Value of the amount must be more than $minAmount ${buyViewModel.fiatCurrency.toString()}', alertContent: S.of(context).moonpay_alert_text(
minAmount.toString(),
buyViewModel.fiatCurrency.toString()),
buttonText: S.of(context).ok, buttonText: S.of(context).ok,
buttonAction: () => Navigator.of(context).pop()); buttonAction: () => Navigator.of(context).pop());
}); });

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Bitcoin kaufen", "buy_bitcoin" : "Bitcoin kaufen",
"buy_with" : "Kaufen mit" "buy_with" : "Kaufen mit",
"moonpay_alert_text" : "Der Wert des Betrags muss größer oder gleich sein ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Buy Bitcoin", "buy_bitcoin" : "Buy Bitcoin",
"buy_with" : "Buy with" "buy_with" : "Buy with",
"moonpay_alert_text" : "Value of the amount must be more or equal to ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Comprar Bitcoin", "buy_bitcoin" : "Comprar Bitcoin",
"buy_with" : "Compra con" "buy_with" : "Compra con",
"moonpay_alert_text" : "El valor de la cantidad debe ser mayor o igual a ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "बिटकॉइन खरीदें", "buy_bitcoin" : "बिटकॉइन खरीदें",
"buy_with" : "के साथ खरीदें" "buy_with" : "के साथ खरीदें",
"moonpay_alert_text" : "राशि का मूल्य अधिक है या करने के लिए बराबर होना चाहिए ${minAmount} ${fiatCurrency}"
} }

View file

@ -474,5 +474,6 @@
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet", "buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
"outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.", "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
"understand" : "I understand" "understand" : "I understand",
"moonpay_alert_text" : "Vrijednost iznosa mora biti veća ili jednaka ${minAmount} ${fiatCurrency}"
} }

View file

@ -474,5 +474,6 @@
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet", "buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
"outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.", "outdated_electrum_wallet_desceription" : "New Bitcoin wallets created in Cake now have a 24-word seed. It is mandatory that you create a new Bitcoin wallet and transfer all of your funds to the new 24-word wallet, and stop using wallets with a 12-word seed. Please do this immediately to secure your funds.",
"understand" : "I understand" "understand" : "I understand",
"moonpay_alert_text" : "Il valore dell'importo deve essere maggiore o uguale a ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "ビットコインを購入する", "buy_bitcoin" : "ビットコインを購入する",
"buy_with" : "で購入" "buy_with" : "で購入",
"moonpay_alert_text" : "金額の値は以上でなければなりません ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "비트 코인 구매", "buy_bitcoin" : "비트 코인 구매",
"buy_with" : "구매" "buy_with" : "구매",
"moonpay_alert_text" : "금액은 다음보다 크거나 같아야합니다 ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Koop Bitcoin", "buy_bitcoin" : "Koop Bitcoin",
"buy_with" : "Koop met" "buy_with" : "Koop met",
"moonpay_alert_text" : "Waarde van het bedrag moet meer of gelijk zijn aan ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Kup Bitcoin", "buy_bitcoin" : "Kup Bitcoin",
"buy_with" : "Kup za pomocą" "buy_with" : "Kup za pomocą",
"moonpay_alert_text" : "Wartość kwoty musi być większa lub równa ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Compre Bitcoin", "buy_bitcoin" : "Compre Bitcoin",
"buy_with" : "Compre com" "buy_with" : "Compre com",
"moonpay_alert_text" : "O valor do montante deve ser maior ou igual a ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Купить Bitcoin", "buy_bitcoin" : "Купить Bitcoin",
"buy_with" : "Купить с помощью" "buy_with" : "Купить с помощью",
"moonpay_alert_text" : "Сумма должна быть больше или равна ${minAmount} ${fiatCurrency}"
} }

View file

@ -477,5 +477,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "Купити Bitcoin", "buy_bitcoin" : "Купити Bitcoin",
"buy_with" : "Купити за допомогою" "buy_with" : "Купити за допомогою",
"moonpay_alert_text" : "Значення суми має бути більшим або дорівнювати ${minAmount} ${fiatCurrency}"
} }

View file

@ -474,5 +474,6 @@
"understand" : "I understand", "understand" : "I understand",
"buy_bitcoin" : "購買比特幣", "buy_bitcoin" : "購買比特幣",
"buy_with" : "與一起購買" "buy_with" : "與一起購買",
"moonpay_alert_text" : "金額的價值必須大於或等於 ${minAmount} ${fiatCurrency}"
} }