minor fixes
Serhii committed
Jan 26, 2023 at 13:33 UTC
cce56a61a36bfe3a753aa368d003d1a5037f4828
20 files changed
+44
-39
lib/view_model/exchange/exchange_trade_view_model.dart
+4
-3
@@ -119,6 +119,8 @@ abstract class ExchangeTradeViewModelBase with Store {
119
}
120
121
void _updateItems() {
122
+ final tagFrom = trade.from.tag != null ? '${trade.from.tag}' + ' ' : '';
123
+ final tagTo = trade.to.tag != null ? '${trade.to.tag}' + ' ' : '';
124
items.clear();
125
items.add(ExchangeTradeItem(
126
title: "${trade.provider.title} ${S.current.id}", data: '${trade.id}', isCopied: true));
@@ -135,13 +137,12 @@ abstract class ExchangeTradeViewModelBase with Store {
137
138
items.addAll([
139
ExchangeTradeItem(title: S.current.amount, data: '${trade.amount}', isCopied: false),
138
- ExchangeTradeItem(title: S.current.status, data: '${trade.state}', isCopied: false),
140
ExchangeTradeItem(
140
- title: S.current.send_to_this_address('${trade.from} ${trade.from.tag ?? ''}') + ':',
141
+ title: S.current.send_to_this_address('${trade.from}', tagFrom) + ':',
142
data: trade.inputAddress ?? '',
143
isCopied: true),
144
ExchangeTradeItem(
144
- title: S.current.arrive_in_this_address('${trade.to} ${trade.to.tag ?? ''}') + ':',
145
+ title: S.current.arrive_in_this_address('${trade.to}', tagTo) + ':',
146
data: trade.payoutAddress ?? '',
147
isCopied: true),
148
]);
res/values/strings_ar.arb
+2
-2
@@ -679,6 +679,6 @@
679
"tor_only":"Tor فقط",
680
"unmatched_currencies": "عملة محفظتك الحالية لا تتطابق مع عملة QR الممسوحة ضوئيًا",
681
"orbot_running_alert": "يرجى التأكد من تشغيل Orbot قبل الاتصال بهذه العقدة.",
682
- "send_to_this_address" : "أرسل ${currency} إلى هذا العنوان",
683
- "arrive_in_this_address" : "سيصل ${currency} إلى هذا العنوان"
682
+ "send_to_this_address" : "أرسل ${currency} ${tag}إلى هذا العنوان",
683
+ "arrive_in_this_address" : "سيصل ${currency} ${tag}إلى هذا العنوان"
684
}
res/values/strings_de.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Bitte stellen Sie sicher, dass Orbot läuft, bevor Sie sich mit diesem Knoten verbinden.",
682
"contact_list_contacts": "Kontakte",
683
"contact_list_wallets": "Meine Geldbörsen",
684
- "send_to_this_address" : "Senden Sie ${currency} an diese Adresse",
685
- "arrive_in_this_address" : "${currency} wird an dieser Adresse ankommen",
684
+ "send_to_this_address" : "Senden Sie ${currency} ${tag}an diese Adresse",
685
+ "arrive_in_this_address" : "${currency} ${tag}wird an dieser Adresse ankommen",
686
"do_not_send": "Nicht senden",
687
"error_dialog_content": "Hoppla, wir haben einen Fehler.\n\nBitte senden Sie den Absturzbericht an unser Support-Team, um die Anwendung zu verbessern."
688
}
res/values/strings_en.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Please make sure Orbot is running prior to connecting to this node.",
682
"contact_list_contacts": "Contacts",
683
"contact_list_wallets": "My Wallets",
684
- "send_to_this_address" : "Send ${currency} to this address",
685
- "arrive_in_this_address" : "${currency} will arrive in this address",
684
+ "send_to_this_address" : "Send ${currency} ${tag}to this address",
685
+ "arrive_in_this_address" : "${currency} ${tag}will arrive in this address",
686
"do_not_send": "Don't send",
687
"error_dialog_content": "Oops, we got some error.\n\nPlease send the crash report to our support team to make the application better."
688
}
res/values/strings_es.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Asegúrese de que Orbot se esté ejecutando antes de conectarse a este nodo.",
682
"contact_list_contacts": "Contactos",
683
"contact_list_wallets": "Mis billeteras",
684
- "send_to_this_address" : "Enviar ${currency} a esta dirección",
685
- "arrive_in_this_address" : "${currency} llegará a esta dirección",
684
+ "send_to_this_address" : "Enviar ${currency} ${tag}a esta dirección",
685
+ "arrive_in_this_address" : "${currency} ${tag}llegará a esta dirección",
686
"do_not_send": "no enviar",
687
"error_dialog_content": "Vaya, tenemos un error.\n\nEnvíe el informe de bloqueo a nuestro equipo de soporte para mejorar la aplicación."
688
}
res/values/strings_fr.arb
+2
-2
@@ -679,8 +679,8 @@
679
"orbot_running_alert": "Veuillez vous assurer qu'Orbot est en cours d'exécution avant de vous connecter à ce nœud.",
680
"contact_list_contacts": "Contacts",
681
"contact_list_wallets": "Mes portefeuilles (wallets)",
682
- "send_to_this_address" : "Envoyez ${currency} à cette adresse",
683
- "arrive_in_this_address" : "${currency} arrivera à cette adresse",
682
+ "send_to_this_address" : "Envoyez ${currency} ${tag}à cette adresse",
683
+ "arrive_in_this_address" : "${currency} ${tag}arrivera à cette adresse",
684
"do_not_send": "N'envoyez pas",
685
"error_dialog_content": "Oups, nous avons eu une erreur.\n\nVeuillez envoyer le rapport de plantage à notre équipe d'assistance pour améliorer l'application."
686
}
res/values/strings_hi.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "कृपया सुनिश्चित करें कि इस नोड से कनेक्ट करने से पहले Orbot चल रहा है।",
682
"contact_list_contacts": "संपर्क",
683
"contact_list_wallets": "मेरा बटुआ",
684
- "send_to_this_address" : "इस पते पर ${currency} भेजें",
685
- "arrive_in_this_address" : "${currency} इस पते पर पहुंचेंगे",
684
+ "send_to_this_address" : "इस पते पर ${currency} ${tag}भेजें",
685
+ "arrive_in_this_address" : "${currency} ${tag}इस पते पर पहुंचेंगे",
686
"do_not_send": "मत भेजो",
687
"error_dialog_content": "ओह, हमसे कुछ गड़बड़ी हुई है.\n\nएप्लिकेशन को बेहतर बनाने के लिए कृपया क्रैश रिपोर्ट हमारी सहायता टीम को भेजें।"
688
}
res/values/strings_hr.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Provjerite radi li Orbot prije spajanja na ovaj čvor.",
682
"contact_list_contacts": "Kontakti",
683
"contact_list_wallets": "Moji novčanici",
684
- "send_to_this_address" : "Pošaljite ${currency} na ovu adresu",
685
- "arrive_in_this_address" : "${currency} će stići na ovu adresu",
684
+ "send_to_this_address" : "Pošaljite ${currency} ${tag}na ovu adresu",
685
+ "arrive_in_this_address" : "${currency} ${tag}će stići na ovu adresu",
686
"do_not_send": "Ne šalji",
687
"error_dialog_content": "Ups, imamo grešku.\n\nPošaljite izvješće o padu našem timu za podršku kako bismo poboljšali aplikaciju."
688
}
res/values/strings_it.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Assicurati che Orbot sia in esecuzione prima di connetterti a questo nodo.",
682
"contact_list_contacts": "Contatti",
683
"contact_list_wallets": "I miei portafogli",
684
- "send_to_this_address" : "Invia ${currency} a questo indirizzo",
685
- "arrive_in_this_address" : "${currency} arriverà a questo indirizzo",
684
+ "send_to_this_address" : "Invia ${currency} ${tag}a questo indirizzo",
685
+ "arrive_in_this_address" : "${currency} ${tag}arriverà a questo indirizzo",
686
"do_not_send": "Non inviare",
687
"error_dialog_content": "Ups, imamo grešku.\n\nPošaljite izvješće o padu našem timu za podršku kako bismo poboljšali aplikaciju."
688
}
res/values/strings_ja.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "このノードに接続する前に、Orbot が実行されていることを確認してください",
682
"contact_list_contacts": "連絡先",
683
"contact_list_wallets": "マイウォレット",
684
- "send_to_this_address" : "${currency} をこのアドレスに送金",
685
- "arrive_in_this_address" : "${currency} はこの住所に到着します",
684
+ "send_to_this_address" : "${currency} ${tag}をこのアドレスに送金",
685
+ "arrive_in_this_address" : "${currency} ${tag}はこの住所に到着します",
686
"do_not_send": "送信しない",
687
"error_dialog_content": "Spiacenti, abbiamo riscontrato un errore.\n\nSi prega di inviare il rapporto sull'arresto anomalo al nostro team di supporto per migliorare l'applicazione."
688
}
res/values/strings_ko.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "이 노드에 연결하기 전에 Orbot이 실행 중인지 확인하십시오.",
682
"contact_list_contacts": "콘택트 렌즈",
683
"contact_list_wallets": "내 지갑",
684
- "send_to_this_address" : "이 주소로 ${currency} 송금",
685
- "arrive_in_this_address" : "${currency}이(가) 이 주소로 도착합니다",
684
+ "send_to_this_address" : "이 주소로 ${currency} ${tag}송금",
685
+ "arrive_in_this_address" : "${currency} ${tag}이(가) 이 주소로 도착합니다",
686
"do_not_send": "보내지 마세요",
687
"error_dialog_content": "죄송합니다. 오류가 발생했습니다.\n\n응용 프로그램을 개선하려면 지원 팀에 충돌 보고서를 보내주십시오."
688
}
res/values/strings_my.arb
+3
-1
@@ -679,5 +679,7 @@
679
"tor_only" : "Tor သာ",
680
"unmatched_currencies" : "သင့်လက်ရှိပိုက်ဆံအိတ်၏ငွေကြေးသည် စကင်ဖတ်ထားသော QR နှင့် မကိုက်ညီပါ။",
681
"contact_list_contacts" : "အဆက်အသွယ်များ",
682
- "contact_list_wallets" : "ကျွန်ုပ်၏ ပိုက်ဆံအိတ်များ"
682
+ "contact_list_wallets" : "ကျွန်ုပ်၏ ပိုက်ဆံအိတ်များ",
683
+ "send_to_this_address" : "ဤလိပ်စာသို့ ${currency} ${tag}သို့ ပို့ပါ။",
684
+ "arrive_in_this_address" : "${currency} ${tag}ဤလိပ်စာသို့ ရောက်ရှိပါမည်။"
685
}
res/values/strings_nl.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Zorg ervoor dat Orbot actief is voordat u verbinding maakt met dit knooppunt.",
682
"contact_list_contacts": "Contacten",
683
"contact_list_wallets": "Mijn portefeuilles",
684
- "send_to_this_address" : "Stuur ${currency} naar dit adres",
685
- "arrive_in_this_address" : "${currency} komt aan op dit adres",
684
+ "send_to_this_address" : "Stuur ${currency} ${tag}naar dit adres",
685
+ "arrive_in_this_address" : "${currency} ${tag}komt aan op dit adres",
686
"do_not_send": "Niet sturen",
687
"error_dialog_content": "Oeps, er is een fout opgetreden.\n\nStuur het crashrapport naar ons ondersteuningsteam om de applicatie te verbeteren."
688
}
res/values/strings_pl.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Upewnij się, że Orbot działa przed połączeniem z tym węzłem.",
682
"contact_list_contacts": "Łączność",
683
"contact_list_wallets": "Moje portfele",
684
- "send_to_this_address" : "Wyślij ${currency} na ten adres",
685
- "arrive_in_this_address" : "${currency} dotrze na ten adres",
684
+ "send_to_this_address" : "Wyślij ${currency} ${tag}na ten adres",
685
+ "arrive_in_this_address" : "${currency} ${tag}dotrze na ten adres",
686
"do_not_send": "Nie wysyłaj",
687
"error_dialog_content": "Ups, wystąpił błąd.\n\nPrześlij raport o awarii do naszego zespołu wsparcia, aby ulepszyć aplikację."
688
}
res/values/strings_pt.arb
+2
-2
@@ -680,8 +680,8 @@
680
"orbot_running_alert": "Certifique-se de que o Orbot esteja em execução antes de se conectar a este nó.",
681
"contact_list_contacts": "Contatos",
682
"contact_list_wallets": "minhas carteiras",
683
- "send_to_this_address" : "Envie ${currency} para este endereço",
684
- "arrive_in_this_address" : "${currency} chegará neste endereço",
683
+ "send_to_this_address" : "Envie ${currency} ${tag}para este endereço",
684
+ "arrive_in_this_address" : "${currency} ${tag}chegará neste endereço",
685
"do_not_send": "não envie",
686
"error_dialog_content": "Ops, houve algum erro.\n\nPor favor, envie o relatório de falha para nossa equipe de suporte para melhorar o aplicativo."
687
}
res/values/strings_ru.arb
+2
-2
@@ -681,8 +681,8 @@
681
"orbot_running_alert": "Перед подключением к этому узлу убедитесь, что Orbot запущен.",
682
"contact_list_contacts": "Контакты",
683
"contact_list_wallets": "Мои кошельки",
684
- "send_to_this_address" : "Отправить ${currency} на этот адрес",
685
- "arrive_in_this_address" : "${currency} придет на этот адрес",
684
+ "send_to_this_address" : "Отправить ${currency} ${tag}на этот адрес",
685
+ "arrive_in_this_address" : "${currency} ${tag}придет на этот адрес",
686
"do_not_send": "Не отправлять",
687
"error_dialog_content": "Ой, у нас какая-то ошибка.\n\nПожалуйста, отправьте отчет о сбое в нашу службу поддержки, чтобы сделать приложение лучше."
688
}
res/values/strings_th.arb
+2
-2
@@ -679,8 +679,8 @@
679
"orbot_running_alert": "โปรดตรวจสอบว่า Orbot กำลังทำงานก่อนที่จะเชื่อมต่อกับโหนดนี้",
680
"contact_list_contacts": "ติดต่อ",
681
"contact_list_wallets": "กระเป๋าเงินของฉัน",
682
- "send_to_this_address" : "ส่ง ${currency} ไปยังที่อยู่นี้",
683
- "arrive_in_this_address" : "${currency} จะมาถึงที่อยู่นี้",
682
+ "send_to_this_address" : "ส่ง ${currency} ${tag}ไปยังที่อยู่นี้",
683
+ "arrive_in_this_address" : "${currency} ${tag}จะมาถึงที่อยู่นี้",
684
"do_not_send": "อย่าส่ง",
685
"error_dialog_content": "อ๊ะ เราพบข้อผิดพลาดบางอย่าง\n\nโปรดส่งรายงานข้อขัดข้องไปยังทีมสนับสนุนของเราเพื่อปรับปรุงแอปพลิเคชันให้ดียิ่งขึ้น"
686
}
res/values/strings_tr.arb
+3
-1
@@ -679,5 +679,7 @@
679
"tor_only": "Yalnızca Tor",
680
"unmatched_currencies": "Mevcut cüzdanınızın para birimi taranan QR ile eşleşmiyor",
681
"contact_list_contacts": "Rehberim",
682
- "contact_list_wallets": "Cüzdanlarım"
682
+ "contact_list_wallets": "Cüzdanlarım",
683
+ "send_to_this_address" : "Bu adrese ${currency} ${tag}gönder",
684
+ "arrive_in_this_address" : "${currency} ${tag}bu adrese ulaşacak"
685
}
res/values/strings_uk.arb
+2
-2
@@ -680,8 +680,8 @@
680
"orbot_running_alert": "Перед підключенням до цього вузла переконайтеся, що Orbot запущено.",
681
"contact_list_contacts": "Контакти",
682
"contact_list_wallets": "Мої гаманці",
683
- "send_to_this_address" : "Надіслати ${currency} на цю адресу",
684
- "arrive_in_this_address" : "${currency} надійде на цю адресу",
683
+ "send_to_this_address" : "Надіслати ${currency} ${tag}на цю адресу",
684
+ "arrive_in_this_address" : "${currency} ${tag}надійде на цю адресу",
685
"do_not_send": "Не надсилайте",
686
"error_dialog_content": "На жаль, ми отримали помилку.\n\nБудь ласка, надішліть звіт про збій нашій команді підтримки, щоб покращити додаток."
687
}
res/values/strings_zh.arb
+2
-2
@@ -679,8 +679,8 @@
679
"orbot_running_alert": "请确保 Orbot 在连接到此节点之前正在运行。",
680
"contact_list_contacts": "联系人",
681
"contact_list_wallets": "我的钱包",
682
- "send_to_this_address" : "发送 ${currency} 到这个地址",
683
- "arrive_in_this_address" : "${currency} 将到达此地址",
682
+ "send_to_this_address" : "发送 ${currency} ${tag}到这个地址",
683
+ "arrive_in_this_address" : "${currency} ${tag}将到达此地址",
684
"do_not_send": "不要发送",
685
"error_dialog_content": "糟糕,我们遇到了一些错误。\n\n请将崩溃报告发送给我们的支持团队,以改进应用程序。"
686
}