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

This commit is contained in:
OleksandrSobol 2021-01-11 19:14:53 +02:00
parent 41b436d9d4
commit 580c0d87f0
14 changed files with 67 additions and 14 deletions

View file

@ -103,6 +103,7 @@ class S implements WidgetsLocalizations {
String get exchange_result_write_down_trade_id => "Please copy or write down the trade ID to continue.";
String get exchange_sync_alert_content => "Please wait until your wallet is synchronized";
String get expired => "Expired";
String get extra_id => "Extra ID:";
String get faq => "FAQ";
String get fetching => "Fetching";
String get filters => "Filter";
@ -651,6 +652,8 @@ class $de extends S {
@override
String get expired => "Abgelaufen";
@override
String get extra_id => "Zusätzliche ID:";
@override
String get transaction_priority_regular => "Regulär";
@override
String get trade_details_created_at => "Hergestellt in";
@ -1365,6 +1368,8 @@ class $hi extends S {
@override
String get expired => "समय सीमा समाप्त";
@override
String get extra_id => "अतिरिक्त आईडी:";
@override
String get transaction_priority_regular => "नियमित";
@override
String get trade_details_created_at => "पर बनाया गया";
@ -2079,6 +2084,8 @@ class $ru extends S {
@override
String get expired => "Истекает";
@override
String get extra_id => "Дополнительный ID:";
@override
String get transaction_priority_regular => "Обычный";
@override
String get trade_details_created_at => "Создано";
@ -2793,6 +2800,8 @@ class $ko extends S {
@override
String get expired => "만료";
@override
String get extra_id => "추가 ID:";
@override
String get transaction_priority_regular => "정규병";
@override
String get trade_details_created_at => "에 작성";
@ -3507,6 +3516,8 @@ class $pt extends S {
@override
String get expired => "Expirada";
@override
String get extra_id => "ID extra:";
@override
String get transaction_priority_regular => "Regular";
@override
String get trade_details_created_at => "Criada em";
@ -4221,6 +4232,8 @@ class $uk extends S {
@override
String get expired => "Закінчується";
@override
String get extra_id => "Додатковий ID:";
@override
String get transaction_priority_regular => "Звичайний";
@override
String get trade_details_created_at => "Створено";
@ -4935,6 +4948,8 @@ class $ja extends S {
@override
String get expired => "期限切れ";
@override
String get extra_id => "追加ID:";
@override
String get transaction_priority_regular => "レギュラー";
@override
String get trade_details_created_at => "で作成";
@ -5653,6 +5668,8 @@ class $pl extends S {
@override
String get expired => "Przedawniony";
@override
String get extra_id => "Dodatkowy ID:";
@override
String get transaction_priority_regular => "Regularny";
@override
String get trade_details_created_at => "Utworzono w";
@ -6367,6 +6384,8 @@ class $es extends S {
@override
String get expired => "Muerto";
@override
String get extra_id => "ID adicional:";
@override
String get transaction_priority_regular => "Regular";
@override
String get trade_details_created_at => "Creado en";
@ -7081,6 +7100,8 @@ class $nl extends S {
@override
String get expired => "Verlopen";
@override
String get extra_id => "Extra ID:";
@override
String get transaction_priority_regular => "Regelmatig";
@override
String get trade_details_created_at => "Gemaakt bij";
@ -7795,6 +7816,8 @@ class $zh extends S {
@override
String get expired => "已过期";
@override
String get extra_id => "額外編號:";
@override
String get transaction_priority_regular => "定期";
@override
String get trade_details_created_at => "创建于";

View file

@ -96,9 +96,15 @@ abstract class ExchangeTradeViewModelBase with Store {
void _updateItems() {
items?.clear();
items.add(ExchangeTradeItem(
title: S.current.id, data: '${trade.id}', isCopied: true));
if (trade.extraId != null) {
items.add(ExchangeTradeItem(
title: S.current.extra_id, data: '${trade.extraId}', isCopied: false));
}
items.addAll([
ExchangeTradeItem(
title: S.current.id, data: '${trade.id}', isCopied: true),
ExchangeTradeItem(
title: S.current.amount, data: '${trade.amount}', isCopied: false),
ExchangeTradeItem(

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Hinweis (zum Ändern tippen)",
"transaction_key" : "Transaktionsschlüssel",
"confirmations" : "Bestätigungen",
"recipient_address" : "Empfängeradresse"
"recipient_address" : "Empfängeradresse",
"extra_id" : "Zusätzliche ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Note (tap to change)",
"transaction_key" : "Transaction Key",
"confirmations" : "Confirmations",
"recipient_address" : "Recipient address"
"recipient_address" : "Recipient address",
"extra_id" : "Extra ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Nota (toque para cambiar)",
"transaction_key" : "Clave de transacción",
"confirmations" : "Confirmaciones",
"recipient_address" : "Dirección del receptor"
"recipient_address" : "Dirección del receptor",
"extra_id" : "ID adicional:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "नोट (टैप टू चेंज)",
"transaction_key" : "लेन-देन की",
"confirmations" : "पुष्टिकरण",
"recipient_address" : "प्राप्तकर्ता का पता"
"recipient_address" : "प्राप्तकर्ता का पता",
"extra_id" : "अतिरिक्त आईडी:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "注(タップして変更)",
"transaction_key" : "トランザクションキー",
"confirmations" : "確認",
"recipient_address" : "受信者のアドレス"
"recipient_address" : "受信者のアドレス",
"extra_id" : "追加ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "메모 (변경하려면 탭하세요)",
"transaction_key" : "거래 키",
"confirmations" : "확인",
"recipient_address" : "받는 사람 주소"
"recipient_address" : "받는 사람 주소",
"extra_id" : "추가 ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Opmerking (tik om te wijzigen)",
"transaction_key" : "Transactiesleutel",
"confirmations" : "Bevestigingen",
"recipient_address" : "Adres ontvanger"
"recipient_address" : "Adres ontvanger",
"extra_id" : "Extra ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Notatka (dotknij, aby zmienić)",
"transaction_key" : "Klucz transakcji",
"confirmations" : "Potwierdzenia",
"recipient_address" : "Adres odbiorcy"
"recipient_address" : "Adres odbiorcy",
"extra_id" : "Dodatkowy ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Nota (toque para alterar)",
"transaction_key" : "Chave de transação",
"confirmations" : "Confirmações",
"recipient_address" : "Endereço do destinatário"
"recipient_address" : "Endereço do destinatário",
"extra_id" : "ID extra:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Примечание (нажмите для изменения)",
"transaction_key" : "Ключ транзакции",
"confirmations" : "Подтверждения",
"recipient_address" : "Адрес получателя"
"recipient_address" : "Адрес получателя",
"extra_id" : "Дополнительный ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "Примітка (натисніть для зміни)",
"transaction_key" : "Ключ транзакції",
"confirmations" : "Підтвердження",
"recipient_address" : "Адреса одержувача"
"recipient_address" : "Адреса одержувача",
"extra_id" : "Додатковий ID:"
}

View file

@ -435,5 +435,7 @@
"note_tap_to_change" : "注意(輕按即可更改)",
"transaction_key" : "交易密碼",
"confirmations" : "確認書",
"recipient_address" : "收件人地址"
"recipient_address" : "收件人地址",
"extra_id" : "額外編號:"
}