CAKE-306 | applied localization to MoonPay alert
OleksandrSobol committed
Jun 2, 2021 at 09:56 UTC
1bf6ef607765272239b8839b7f4191ad879a2ec9
15 files changed
+31
-15
lib/src/screens/buy/pre_order_page.dart
+3
-1
@@ -261,7 +261,9 @@ class PreOrderPage extends BasePage {
261
builder: (BuildContext context) {
262
return AlertWithOneAction(
263
alertTitle: 'MoonPay',
264
- alertContent: 'Value of the amount must be more than $minAmount ${buyViewModel.fiatCurrency.toString()}',
264
+ alertContent: S.of(context).moonpay_alert_text(
265
+ minAmount.toString(),
266
+ buyViewModel.fiatCurrency.toString()),
267
buttonText: S.of(context).ok,
268
buttonAction: () => Navigator.of(context).pop());
269
});
res/values/strings_de.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Bitcoin kaufen",
480
- "buy_with" : "Kaufen mit"
480
+ "buy_with" : "Kaufen mit",
481
+ "moonpay_alert_text" : "Der Wert des Betrags muss größer oder gleich sein ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_en.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Buy Bitcoin",
480
- "buy_with" : "Buy with"
480
+ "buy_with" : "Buy with",
481
+ "moonpay_alert_text" : "Value of the amount must be more or equal to ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_es.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Comprar Bitcoin",
480
- "buy_with" : "Compra con"
480
+ "buy_with" : "Compra con",
481
+ "moonpay_alert_text" : "El valor de la cantidad debe ser mayor o igual a ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_hi.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "बिटकॉइन खरीदें",
480
- "buy_with" : "के साथ खरीदें"
480
+ "buy_with" : "के साथ खरीदें",
481
+ "moonpay_alert_text" : "राशि का मूल्य अधिक है या करने के लिए बराबर होना चाहिए ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_hr.arb
+2
-1
@@ -474,5 +474,6 @@
474
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
475
476
"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.",
477
- "understand" : "I understand"
477
+ "understand" : "I understand",
478
+ "moonpay_alert_text" : "Vrijednost iznosa mora biti veća ili jednaka ${minAmount} ${fiatCurrency}"
479
}
\ No newline at end of file
res/values/strings_it.arb
+2
-1
@@ -474,5 +474,6 @@
474
"buy_alert_content" : "Currently we only support the purchase of Bitcoin. To buy Bitcoin, please create or switch to your Bitcoin wallet",
475
476
"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.",
477
- "understand" : "I understand"
477
+ "understand" : "I understand",
478
+ "moonpay_alert_text" : "Il valore dell'importo deve essere maggiore o uguale a ${minAmount} ${fiatCurrency}"
479
}
\ No newline at end of file
res/values/strings_ja.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "ビットコインを購入する",
480
- "buy_with" : "で購入"
480
+ "buy_with" : "で購入",
481
+ "moonpay_alert_text" : "金額の値は以上でなければなりません ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_ko.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "비트 코인 구매",
480
- "buy_with" : "구매"
480
+ "buy_with" : "구매",
481
+ "moonpay_alert_text" : "금액은 다음보다 크거나 같아야합니다 ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_nl.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Koop Bitcoin",
480
- "buy_with" : "Koop met"
480
+ "buy_with" : "Koop met",
481
+ "moonpay_alert_text" : "Waarde van het bedrag moet meer of gelijk zijn aan ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_pl.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Kup Bitcoin",
480
- "buy_with" : "Kup za pomocą"
480
+ "buy_with" : "Kup za pomocą",
481
+ "moonpay_alert_text" : "Wartość kwoty musi być większa lub równa ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_pt.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Compre Bitcoin",
480
- "buy_with" : "Compre com"
480
+ "buy_with" : "Compre com",
481
+ "moonpay_alert_text" : "O valor do montante deve ser maior ou igual a ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_ru.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Купить Bitcoin",
480
- "buy_with" : "Купить с помощью"
480
+ "buy_with" : "Купить с помощью",
481
+ "moonpay_alert_text" : "Сумма должна быть больше или равна ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_uk.arb
+2
-1
@@ -477,5 +477,6 @@
477
"understand" : "I understand",
478
479
"buy_bitcoin" : "Купити Bitcoin",
480
- "buy_with" : "Купити за допомогою"
480
+ "buy_with" : "Купити за допомогою",
481
+ "moonpay_alert_text" : "Значення суми має бути більшим або дорівнювати ${minAmount} ${fiatCurrency}"
482
}
\ No newline at end of file
res/values/strings_zh.arb
+2
-1
@@ -474,5 +474,6 @@
474
"understand" : "I understand",
475
476
"buy_bitcoin" : "購買比特幣",
477
- "buy_with" : "與一起購買"
477
+ "buy_with" : "與一起購買",
478
+ "moonpay_alert_text" : "金額的價值必須大於或等於 ${minAmount} ${fiatCurrency}"
479
}
\ No newline at end of file