CAKE-198 | fixed string resources (send_success)
Oleksandr Sobol committed
Dec 24, 2020 at 10:33 UTC
44536a82318f5be082cdd284f593d55bdc73d2b6
15 files changed
+43
-37
lib/generated/i18n.dart
+23
-23
@@ -222,7 +222,6 @@ class S implements WidgetsLocalizations {
222
String get send_new => "New";
223
String get send_payment_id => "Payment ID (optional)";
224
String get send_sending => "Sending...";
225
- String get send_success => "Your Monero was successfully sent";
225
String get send_templates => "Templates";
226
String get send_title => "Send";
227
String get send_xmr => "Send XMR";
@@ -362,6 +361,7 @@ class S implements WidgetsLocalizations {
361
String router_no_route(String name) => "No route defined for ${name}";
362
String send_address(String cryptoCurrency) => "${cryptoCurrency} address";
363
String send_priority(String transactionPriority) => "Currently the fee is set at ${transactionPriority} priority.\nTransaction priority can be adjusted in the settings";
364
+ String send_success(String crypto) => "Your ${crypto} was successfully sent";
365
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
366
String trade_details_copied(String title) => "${title} copied to Clipboard";
367
String trade_for_not_created(String title) => "Trade for ${title} is not created.";
@@ -656,8 +656,6 @@ class $de extends S {
656
@override
657
String get trade_details_created_at => "Hergestellt in";
658
@override
659
- String get send_success => "Ihr Monero wurde erfolgreich gesendet";
660
- @override
659
String get settings_wallets => "Brieftaschen";
660
@override
661
String get settings_only_transactions => "Nur Transaktionen";
@@ -1050,6 +1048,8 @@ class $de extends S {
1048
@override
1049
String change_wallet_alert_content(String wallet_name) => "Möchten Sie die aktuelle Brieftasche in ändern ${wallet_name}?";
1050
@override
1051
+ String send_success(String crypto) => "Ihr ${crypto} wurde erfolgreich gesendet";
1052
+ @override
1053
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
1054
@override
1055
String max_value(String value, String currency) => "Max: ${value} ${currency}";
@@ -1368,8 +1368,6 @@ class $hi extends S {
1368
@override
1369
String get trade_details_created_at => "पर बनाया गया";
1370
@override
1371
- String get send_success => "आपका Monero सफलतापूर्वक भेजा गया";
1372
- @override
1371
String get settings_wallets => "पर्स";
1372
@override
1373
String get settings_only_transactions => "केवल लेन-देन";
@@ -1762,6 +1760,8 @@ class $hi extends S {
1760
@override
1761
String change_wallet_alert_content(String wallet_name) => "क्या आप करंट वॉलेट को बदलना चाहते हैं ${wallet_name}?";
1762
@override
1763
+ String send_success(String crypto) => "आपका ${crypto} सफलतापूर्वक भेजा गया";
1764
+ @override
1765
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
1766
@override
1767
String max_value(String value, String currency) => "मैक्स: ${value} ${currency}";
@@ -2080,8 +2080,6 @@ class $ru extends S {
2080
@override
2081
String get trade_details_created_at => "Создано";
2082
@override
2083
- String get send_success => "Ваш Monero был успешно отправлен";
2084
- @override
2083
String get settings_wallets => "Кошельки";
2084
@override
2085
String get settings_only_transactions => "Транзакции";
@@ -2474,6 +2472,8 @@ class $ru extends S {
2472
@override
2473
String change_wallet_alert_content(String wallet_name) => "Вы хотите изменить текущий кошелек на ${wallet_name}?";
2474
@override
2475
+ String send_success(String crypto) => "Ваш ${crypto} был успешно отправлен";
2476
+ @override
2477
String time(String minutes, String seconds) => "${minutes}мин ${seconds}сек";
2478
@override
2479
String max_value(String value, String currency) => "Макс: ${value} ${currency}";
@@ -2792,8 +2792,6 @@ class $ko extends S {
2792
@override
2793
String get trade_details_created_at => "에 작성";
2794
@override
2795
- String get send_success => "Monero가 성공적으로 전송되었습니다";
2796
- @override
2795
String get settings_wallets => "지갑";
2796
@override
2797
String get settings_only_transactions => "거래 만";
@@ -3186,6 +3184,8 @@ class $ko extends S {
3184
@override
3185
String change_wallet_alert_content(String wallet_name) => "현재 지갑을 다음으로 변경 하시겠습니까 ${wallet_name}?";
3186
@override
3187
+ String send_success(String crypto) => "${crypto}가 성공적으로 전송되었습니다";
3188
+ @override
3189
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
3190
@override
3191
String max_value(String value, String currency) => "맥스: ${value} ${currency}";
@@ -3504,8 +3504,6 @@ class $pt extends S {
3504
@override
3505
String get trade_details_created_at => "Criada em";
3506
@override
3507
- String get send_success => "Seu Monero foi enviado com sucesso";
3508
- @override
3507
String get settings_wallets => "Carteiras";
3508
@override
3509
String get settings_only_transactions => "Somente transações";
@@ -3898,6 +3896,8 @@ class $pt extends S {
3896
@override
3897
String change_wallet_alert_content(String wallet_name) => "Quer mudar a carteira atual para ${wallet_name}?";
3898
@override
3899
+ String send_success(String crypto) => "Seu ${crypto} foi enviado com sucesso";
3900
+ @override
3901
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
3902
@override
3903
String max_value(String value, String currency) => "Máx: ${value} ${currency}";
@@ -4216,8 +4216,6 @@ class $uk extends S {
4216
@override
4217
String get trade_details_created_at => "Створено";
4218
@override
4219
- String get send_success => "Ваш Monero успішно надісланий";
4220
- @override
4219
String get settings_wallets => "Гаманці";
4220
@override
4221
String get settings_only_transactions => "Транзакції";
@@ -4610,6 +4608,8 @@ class $uk extends S {
4608
@override
4609
String change_wallet_alert_content(String wallet_name) => "Ви хочете змінити поточний гаманець на ${wallet_name}?";
4610
@override
4611
+ String send_success(String crypto) => "Ваш ${crypto} успішно надісланий";
4612
+ @override
4613
String time(String minutes, String seconds) => "${minutes}хв ${seconds}сек";
4614
@override
4615
String max_value(String value, String currency) => "Макс: ${value} ${currency}";
@@ -4928,8 +4928,6 @@ class $ja extends S {
4928
@override
4929
String get trade_details_created_at => "で作成";
4930
@override
4931
- String get send_success => "Moneroが送信されました";
4932
- @override
4931
String get settings_wallets => "財布";
4932
@override
4933
String get settings_only_transactions => "トランザクションのみ";
@@ -5322,6 +5320,8 @@ class $ja extends S {
5320
@override
5321
String change_wallet_alert_content(String wallet_name) => "現在のウォレットをに変更しますか ${wallet_name}?";
5322
@override
5323
+ String send_success(String crypto) => "${crypto}が送信されました";
5324
+ @override
5325
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
5326
@override
5327
String max_value(String value, String currency) => "マックス: ${value} ${currency}";
@@ -5644,8 +5644,6 @@ class $pl extends S {
5644
@override
5645
String get trade_details_created_at => "Utworzono w";
5646
@override
5647
- String get send_success => "Twoje Monero zostało pomyślnie wysłane";
5648
- @override
5647
String get settings_wallets => "Portfele";
5648
@override
5649
String get settings_only_transactions => "Tylko transakcje";
@@ -6038,6 +6036,8 @@ class $pl extends S {
6036
@override
6037
String change_wallet_alert_content(String wallet_name) => "Czy chcesz zmienić obecny portfel na ${wallet_name}?";
6038
@override
6039
+ String send_success(String crypto) => "Twoje ${crypto} zostało pomyślnie wysłane";
6040
+ @override
6041
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
6042
@override
6043
String max_value(String value, String currency) => "Max: ${value} ${currency}";
@@ -6356,8 +6356,6 @@ class $es extends S {
6356
@override
6357
String get trade_details_created_at => "Creado en";
6358
@override
6359
- String get send_success => "Su Monero fue enviado con éxito";
6360
- @override
6359
String get settings_wallets => "Carteras";
6360
@override
6361
String get settings_only_transactions => "Solo transacciones";
@@ -6750,6 +6748,8 @@ class $es extends S {
6748
@override
6749
String change_wallet_alert_content(String wallet_name) => "¿Quieres cambiar la billetera actual a ${wallet_name}?";
6750
@override
6751
+ String send_success(String crypto) => "Su ${crypto} fue enviado con éxito";
6752
+ @override
6753
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
6754
@override
6755
String max_value(String value, String currency) => "Max: ${value} ${currency}";
@@ -7068,8 +7068,6 @@ class $nl extends S {
7068
@override
7069
String get trade_details_created_at => "Gemaakt bij";
7070
@override
7071
- String get send_success => "Uw Monero is succesvol verzonden";
7072
- @override
7071
String get settings_wallets => "Portemonnee";
7072
@override
7073
String get settings_only_transactions => "Alleen transacties";
@@ -7462,6 +7460,8 @@ class $nl extends S {
7460
@override
7461
String change_wallet_alert_content(String wallet_name) => "Wilt u de huidige portemonnee wijzigen in ${wallet_name}?";
7462
@override
7463
+ String send_success(String crypto) => "Uw ${crypto} is succesvol verzonden";
7464
+ @override
7465
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
7466
@override
7467
String max_value(String value, String currency) => "Max: ${value} ${currency}";
@@ -7780,8 +7780,6 @@ class $zh extends S {
7780
@override
7781
String get trade_details_created_at => "创建于";
7782
@override
7783
- String get send_success => "你Monero已成功發送";
7784
- @override
7783
String get settings_wallets => "皮夹";
7784
@override
7785
String get settings_only_transactions => "仅交易";
@@ -8174,6 +8172,8 @@ class $zh extends S {
8172
@override
8173
String change_wallet_alert_content(String wallet_name) => "您要將當前的錢包更改為 ${wallet_name}?";
8174
@override
8175
+ String send_success(String crypto) => "你${crypto}已成功發送";
8176
+ @override
8177
String time(String minutes, String seconds) => "${minutes}m ${seconds}s";
8178
@override
8179
String max_value(String value, String currency) => "最高: ${value} ${currency}";
lib/src/screens/exchange_trade/exchange_trade_page.dart
+5
-1
@@ -305,7 +305,11 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
305
padding: EdgeInsets.only(
306
top: 220, left: 24, right: 24),
307
child: Text(
308
- S.of(context).send_success,
308
+ S.of(context).send_success(widget
309
+ .exchangeTradeViewModel
310
+ .wallet
311
+ .currency
312
+ .toString()),
313
textAlign: TextAlign.center,
314
style: TextStyle(
315
fontSize: 22,
lib/src/screens/send/send_page.dart
+3
-1
@@ -668,7 +668,9 @@ class SendPage extends BasePage {
668
padding: EdgeInsets.only(
669
top: 220, left: 24, right: 24),
670
child: Text(
671
- S.of(context).send_success,
671
+ S.of(context).send_success(
672
+ sendViewModel.currency
673
+ .toString()),
674
textAlign: TextAlign.center,
675
style: TextStyle(
676
fontSize: 22,
res/values/strings_de.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Name",
213
"send_got_it" : "Ich habs",
214
"send_sending" : "Senden...",
215
- "send_success" : "Ihr Monero wurde erfolgreich gesendet",
215
+ "send_success" : "Ihr ${crypto} wurde erfolgreich gesendet",
216
217
218
"settings_title" : "die Einstellungen",
res/values/strings_en.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Name",
213
"send_got_it" : "Got it",
214
"send_sending" : "Sending...",
215
- "send_success" : "Your Monero was successfully sent",
215
+ "send_success" : "Your ${crypto} was successfully sent",
216
217
218
"settings_title" : "Settings",
res/values/strings_es.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Nombre",
213
"send_got_it" : "Entendido",
214
"send_sending" : "Enviando...",
215
- "send_success" : "Su Monero fue enviado con éxito",
215
+ "send_success" : "Su ${crypto} fue enviado con éxito",
216
217
218
"settings_title" : "Configuraciones",
res/values/strings_hi.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "नाम",
213
"send_got_it" : "समझ गया",
214
"send_sending" : "भेजना...",
215
- "send_success" : "आपका Monero सफलतापूर्वक भेजा गया",
215
+ "send_success" : "आपका ${crypto} सफलतापूर्वक भेजा गया",
216
217
218
"settings_title" : "सेटिंग्स",
res/values/strings_ja.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "名前",
213
"send_got_it" : "とった",
214
"send_sending" : "送信...",
215
- "send_success" : "Moneroが送信されました",
215
+ "send_success" : "${crypto}が送信されました",
216
217
218
"settings_title" : "設定",
res/values/strings_ko.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "이름",
213
"send_got_it" : "알았다",
214
"send_sending" : "배상...",
215
- "send_success" : "Monero가 성공적으로 전송되었습니다",
215
+ "send_success" : "${crypto}가 성공적으로 전송되었습니다",
216
217
218
"settings_title" : "설정",
res/values/strings_nl.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Naam",
213
"send_got_it" : "Ik snap het",
214
"send_sending" : "Bezig met verzenden...",
215
- "send_success" : "Uw Monero is succesvol verzonden",
215
+ "send_success" : "Uw ${crypto} is succesvol verzonden",
216
217
218
"settings_title" : "Instellingen",
res/values/strings_pl.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Imię",
213
"send_got_it" : "Rozumiem",
214
"send_sending" : "Wysyłanie...",
215
- "send_success" : "Twoje Monero zostało pomyślnie wysłane",
215
+ "send_success" : "Twoje ${crypto} zostało pomyślnie wysłane",
216
217
218
"settings_title" : "Ustawienia",
res/values/strings_pt.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Nome",
213
"send_got_it" : "Entendi",
214
"send_sending" : "Enviando...",
215
- "send_success" : "Seu Monero foi enviado com sucesso",
215
+ "send_success" : "Seu ${crypto} foi enviado com sucesso",
216
217
218
"settings_title" : "Configurações",
res/values/strings_ru.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Имя",
213
"send_got_it" : "Понял",
214
"send_sending" : "Отправка...",
215
- "send_success" : "Ваш Monero был успешно отправлен",
215
+ "send_success" : "Ваш ${crypto} был успешно отправлен",
216
217
218
"settings_title" : "Настройки",
res/values/strings_uk.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "Ім'я",
213
"send_got_it" : "Зрозумів",
214
"send_sending" : "Відправлення...",
215
- "send_success" : "Ваш Monero успішно надісланий",
215
+ "send_success" : "Ваш ${crypto} успішно надісланий",
216
217
218
"settings_title" : "Налаштування",
res/values/strings_zh.arb
+1
-1
@@ -212,7 +212,7 @@
212
"send_name" : "名稱",
213
"send_got_it" : "得到它了",
214
"send_sending" : "正在發送...",
215
- "send_success" : "你Monero已成功發送",
215
+ "send_success" : "你${crypto}已成功發送",
216
217
218
"settings_title" : "设定值",