CAKE-64 | added extra ID to _updateItems() method in the exchange_trade_view_model.dart; added extra_id to string resources

OleksandrSobol committed Jan 11, 2021 at 19:14 UTC 580c0d87f05aa4fed93f4ba4ccdf75bc841c59ac
14 files changed +67 -14
lib/generated/i18n.dart
+23
@@ -103,6 +103,7 @@ class S implements WidgetsLocalizations {
103 String get exchange_result_write_down_trade_id => "Please copy or write down the trade ID to continue.";
104 String get exchange_sync_alert_content => "Please wait until your wallet is synchronized";
105 String get expired => "Expired";
106 + String get extra_id => "Extra ID:";
107 String get faq => "FAQ";
108 String get fetching => "Fetching";
109 String get filters => "Filter";
@@ -651,6 +652,8 @@ class $de extends S {
652 @override
653 String get expired => "Abgelaufen";
654 @override
655 + String get extra_id => "Zusätzliche ID:";
656 + @override
657 String get transaction_priority_regular => "Regulär";
658 @override
659 String get trade_details_created_at => "Hergestellt in";
@@ -1365,6 +1368,8 @@ class $hi extends S {
1368 @override
1369 String get expired => "समय सीमा समाप्त";
1370 @override
1371 + String get extra_id => "अतिरिक्त आईडी:";
1372 + @override
1373 String get transaction_priority_regular => "नियमित";
1374 @override
1375 String get trade_details_created_at => "पर बनाया गया";
@@ -2079,6 +2084,8 @@ class $ru extends S {
2084 @override
2085 String get expired => "Истекает";
2086 @override
2087 + String get extra_id => "Дополнительный ID:";
2088 + @override
2089 String get transaction_priority_regular => "Обычный";
2090 @override
2091 String get trade_details_created_at => "Создано";
@@ -2793,6 +2800,8 @@ class $ko extends S {
2800 @override
2801 String get expired => "만료";
2802 @override
2803 + String get extra_id => "추가 ID:";
2804 + @override
2805 String get transaction_priority_regular => "정규병";
2806 @override
2807 String get trade_details_created_at => "에 작성";
@@ -3507,6 +3516,8 @@ class $pt extends S {
3516 @override
3517 String get expired => "Expirada";
3518 @override
3519 + String get extra_id => "ID extra:";
3520 + @override
3521 String get transaction_priority_regular => "Regular";
3522 @override
3523 String get trade_details_created_at => "Criada em";
@@ -4221,6 +4232,8 @@ class $uk extends S {
4232 @override
4233 String get expired => "Закінчується";
4234 @override
4235 + String get extra_id => "Додатковий ID:";
4236 + @override
4237 String get transaction_priority_regular => "Звичайний";
4238 @override
4239 String get trade_details_created_at => "Створено";
@@ -4935,6 +4948,8 @@ class $ja extends S {
4948 @override
4949 String get expired => "期限切れ";
4950 @override
4951 + String get extra_id => "追加ID:";
4952 + @override
4953 String get transaction_priority_regular => "レギュラー";
4954 @override
4955 String get trade_details_created_at => "で作成";
@@ -5653,6 +5668,8 @@ class $pl extends S {
5668 @override
5669 String get expired => "Przedawniony";
5670 @override
5671 + String get extra_id => "Dodatkowy ID:";
5672 + @override
5673 String get transaction_priority_regular => "Regularny";
5674 @override
5675 String get trade_details_created_at => "Utworzono w";
@@ -6367,6 +6384,8 @@ class $es extends S {
6384 @override
6385 String get expired => "Muerto";
6386 @override
6387 + String get extra_id => "ID adicional:";
6388 + @override
6389 String get transaction_priority_regular => "Regular";
6390 @override
6391 String get trade_details_created_at => "Creado en";
@@ -7081,6 +7100,8 @@ class $nl extends S {
7100 @override
7101 String get expired => "Verlopen";
7102 @override
7103 + String get extra_id => "Extra ID:";
7104 + @override
7105 String get transaction_priority_regular => "Regelmatig";
7106 @override
7107 String get trade_details_created_at => "Gemaakt bij";
@@ -7795,6 +7816,8 @@ class $zh extends S {
7816 @override
7817 String get expired => "已过期";
7818 @override
7819 + String get extra_id => "額外編號:";
7820 + @override
7821 String get transaction_priority_regular => "定期";
7822 @override
7823 String get trade_details_created_at => "创建于";
lib/view_model/exchange/exchange_trade_view_model.dart
+8 -2
@@ -96,9 +96,15 @@ abstract class ExchangeTradeViewModelBase with Store {
96 void _updateItems() {
97 items?.clear();
98
99 + items.add(ExchangeTradeItem(
100 + title: S.current.id, data: '${trade.id}', isCopied: true));
101 +
102 + if (trade.extraId != null) {
103 + items.add(ExchangeTradeItem(
104 + title: S.current.extra_id, data: '${trade.extraId}', isCopied: false));
105 + }
106 +
107 items.addAll([
100 - ExchangeTradeItem(
101 - title: S.current.id, data: '${trade.id}', isCopied: true),
108 ExchangeTradeItem(
109 title: S.current.amount, data: '${trade.amount}', isCopied: false),
110 ExchangeTradeItem(
res/values/strings_de.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Hinweis (zum Ändern tippen)",
436 "transaction_key" : "Transaktionsschlüssel",
437 "confirmations" : "Bestätigungen",
438 - "recipient_address" : "Empfängeradresse"
438 + "recipient_address" : "Empfängeradresse",
439 +
440 + "extra_id" : "Zusätzliche ID:"
441 }
\ No newline at end of file
res/values/strings_en.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Note (tap to change)",
436 "transaction_key" : "Transaction Key",
437 "confirmations" : "Confirmations",
438 - "recipient_address" : "Recipient address"
438 + "recipient_address" : "Recipient address",
439 +
440 + "extra_id" : "Extra ID:"
441 }
\ No newline at end of file
res/values/strings_es.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Nota (toque para cambiar)",
436 "transaction_key" : "Clave de transacción",
437 "confirmations" : "Confirmaciones",
438 - "recipient_address" : "Dirección del receptor"
438 + "recipient_address" : "Dirección del receptor",
439 +
440 + "extra_id" : "ID adicional:"
441 }
\ No newline at end of file
res/values/strings_hi.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "नोट (टैप टू चेंज)",
436 "transaction_key" : "लेन-देन की",
437 "confirmations" : "पुष्टिकरण",
438 - "recipient_address" : "प्राप्तकर्ता का पता"
438 + "recipient_address" : "प्राप्तकर्ता का पता",
439 +
440 + "extra_id" : "अतिरिक्त आईडी:"
441 }
\ No newline at end of file
res/values/strings_ja.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "注(タップして変更)",
436 "transaction_key" : "トランザクションキー",
437 "confirmations" : "確認",
438 - "recipient_address" : "受信者のアドレス"
438 + "recipient_address" : "受信者のアドレス",
439 +
440 + "extra_id" : "追加ID:"
441 }
\ No newline at end of file
res/values/strings_ko.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "메모 (변경하려면 탭하세요)",
436 "transaction_key" : "거래 키",
437 "confirmations" : "확인",
438 - "recipient_address" : "받는 사람 주소"
438 + "recipient_address" : "받는 사람 주소",
439 +
440 + "extra_id" : "추가 ID:"
441 }
\ No newline at end of file
res/values/strings_nl.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Opmerking (tik om te wijzigen)",
436 "transaction_key" : "Transactiesleutel",
437 "confirmations" : "Bevestigingen",
438 - "recipient_address" : "Adres ontvanger"
438 + "recipient_address" : "Adres ontvanger",
439 +
440 + "extra_id" : "Extra ID:"
441 }
\ No newline at end of file
res/values/strings_pl.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Notatka (dotknij, aby zmienić)",
436 "transaction_key" : "Klucz transakcji",
437 "confirmations" : "Potwierdzenia",
438 - "recipient_address" : "Adres odbiorcy"
438 + "recipient_address" : "Adres odbiorcy",
439 +
440 + "extra_id" : "Dodatkowy ID:"
441 }
\ No newline at end of file
res/values/strings_pt.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Nota (toque para alterar)",
436 "transaction_key" : "Chave de transação",
437 "confirmations" : "Confirmações",
438 - "recipient_address" : "Endereço do destinatário"
438 + "recipient_address" : "Endereço do destinatário",
439 +
440 + "extra_id" : "ID extra:"
441 }
res/values/strings_ru.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Примечание (нажмите для изменения)",
436 "transaction_key" : "Ключ транзакции",
437 "confirmations" : "Подтверждения",
438 - "recipient_address" : "Адрес получателя"
438 + "recipient_address" : "Адрес получателя",
439 +
440 + "extra_id" : "Дополнительный ID:"
441 }
\ No newline at end of file
res/values/strings_uk.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "Примітка (натисніть для зміни)",
436 "transaction_key" : "Ключ транзакції",
437 "confirmations" : "Підтвердження",
438 - "recipient_address" : "Адреса одержувача"
438 + "recipient_address" : "Адреса одержувача",
439 +
440 + "extra_id" : "Додатковий ID:"
441 }
\ No newline at end of file
res/values/strings_zh.arb
+3 -1
@@ -435,5 +435,7 @@
435 "note_tap_to_change" : "注意(輕按即可更改)",
436 "transaction_key" : "交易密碼",
437 "confirmations" : "確認書",
438 - "recipient_address" : "收件人地址"
438 + "recipient_address" : "收件人地址",
439 +
440 + "extra_id" : "額外編號:"
441 }
\ No newline at end of file