From 0c56566780d8778a9f42b6b4457051cffe8f0fec Mon Sep 17 00:00:00 2001 From: koalasat Date: Sun, 23 Mar 2025 18:23:05 +0100 Subject: [PATCH] Contact methods --- .../src/components/TradeBox/Forms/Dispute.tsx | 37 +++++++++++++------ frontend/src/components/TradeBox/index.tsx | 10 ++++- frontend/static/locales/ca.json | 3 ++ frontend/static/locales/cs.json | 3 ++ frontend/static/locales/de.json | 3 ++ frontend/static/locales/en.json | 3 ++ frontend/static/locales/es.json | 5 ++- frontend/static/locales/eu.json | 3 ++ frontend/static/locales/fr.json | 3 ++ frontend/static/locales/it.json | 3 ++ frontend/static/locales/ja.json | 3 ++ frontend/static/locales/pl.json | 3 ++ frontend/static/locales/pt.json | 3 ++ frontend/static/locales/ru.json | 3 ++ frontend/static/locales/sv.json | 3 ++ frontend/static/locales/sw.json | 3 ++ frontend/static/locales/th.json | 3 ++ frontend/static/locales/zh-SI.json | 3 ++ frontend/static/locales/zh-TR.json | 3 ++ 19 files changed, 86 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/TradeBox/Forms/Dispute.tsx b/frontend/src/components/TradeBox/Forms/Dispute.tsx index c86be0d3..6a5fa7c0 100644 --- a/frontend/src/components/TradeBox/Forms/Dispute.tsx +++ b/frontend/src/components/TradeBox/Forms/Dispute.tsx @@ -18,7 +18,8 @@ import type { Contact } from '../../../models'; export interface DisputeForm { statement: string; - contactMethod?: string; + contactMethod: string; + badContact: string; contact: string; attachLogs: boolean; badStatement: string; @@ -27,7 +28,9 @@ export interface DisputeForm { export const defaultDispute: DisputeForm = { statement: '', attachLogs: false, + contactMethod: '', contact: '', + badContact: '', badStatement: '', }; @@ -55,18 +58,18 @@ export const DisputeStatementForm = ({ - + - + - + { setDispute({ ...dispute, contact: e.target.value }); }} diff --git a/frontend/src/components/TradeBox/index.tsx b/frontend/src/components/TradeBox/index.tsx index a43d6e8e..f2bef15c 100644 --- a/frontend/src/components/TradeBox/index.tsx +++ b/frontend/src/components/TradeBox/index.tsx @@ -289,8 +289,13 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element => const submitStatement = function (): void { let statement = dispute.statement; - if (!dispute.contact || dispute.contact.trim() === '') { - setDispute({ ...dispute, badStatement: t('A contact method is required') }); + if (!statement || statement.trim() === '' || statement.length < 100) { + setDispute({ + ...dispute, + badStatement: t('The statement is too short. Make sure to be thorough.'), + }); + } else if (!dispute.contact || dispute.contact.trim() === '') { + setDispute({ ...dispute, badContact: t('A contact method is required') }); } else { const { contactMethod, contact } = dispute; statement = `${contactMethod ?? ''}: ${contact ?? ''} \n\n ${statement}`; @@ -298,6 +303,7 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element => const payload = { statement, messages }; statement = JSON.stringify(payload, null, 2); } + setLoadingButtons({ ...noLoadingButtons, submitStatement: true }); submitAction({ action: 'submit_statement', statement }); } diff --git a/frontend/static/locales/ca.json b/frontend/static/locales/ca.json index 013baa24..9326abbc 100644 --- a/frontend/static/locales/ca.json +++ b/frontend/static/locales/ca.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Veure bitlleteres compatibles", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Cancel·lar l'ordre?", "Confirm Cancel": "Confirmar cancel·lació", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Adjuntar registres de xat", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Adjuntar registres de xat ajuda el procés de resolució de disputes i afegeix transparència. Tanmateix, pot comprometre la vostra privacitat.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Presentar declaració", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Opcions avançades", diff --git a/frontend/static/locales/cs.json b/frontend/static/locales/cs.json index 669053c4..f4793f33 100644 --- a/frontend/static/locales/cs.json +++ b/frontend/static/locales/cs.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Robrazit kompatibilní peněženky", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Zrušit objendávku?", "Confirm Cancel": "Potvrdit zrušení", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Odeslat vyjádření", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/de.json b/frontend/static/locales/de.json index ce15f5dd..05a99eb4 100644 --- a/frontend/static/locales/de.json +++ b/frontend/static/locales/de.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Kompatible Wallets ansehen", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Order abbrechen?", "Confirm Cancel": "Abbruch bestätigen", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Übermittle Fall-Aussage", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/en.json b/frontend/static/locales/en.json index e75b3377..619236da 100644 --- a/frontend/static/locales/en.json +++ b/frontend/static/locales/en.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "See Compatible Wallets", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Cancel the order?", "Confirm Cancel": "Confirm Cancel", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Submit dispute statement", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/es.json b/frontend/static/locales/es.json index 0ee74400..79eb2793 100644 --- a/frontend/static/locales/es.json +++ b/frontend/static/locales/es.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Ver carteras compatibles", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "¿Cancelar la orden?", "Confirm Cancel": "Confirmar cancelación", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Adjuntar el registro del chat", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Adjuntar transcripciones del chat ayuda a resolver la disputa y añade transparencia. Sin embargo, puede comprometer tu privacidad.", - "Other": "Other", + "Contact method": "Contact method", + "Other": "Otro", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Presentar declaración", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Opciones avanzadas", diff --git a/frontend/static/locales/eu.json b/frontend/static/locales/eu.json index e7dc4094..3b96480a 100644 --- a/frontend/static/locales/eu.json +++ b/frontend/static/locales/eu.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Begiratu Kartera Bateragarriak", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Eskaera ezeztatu?", "Confirm Cancel": "Onartu ezeztapena", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Aurkeztu eztabaidaren adierazpena", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/fr.json b/frontend/static/locales/fr.json index 2ea8f0b3..d76fcd8e 100644 --- a/frontend/static/locales/fr.json +++ b/frontend/static/locales/fr.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Voir Portefeuilles compatibles", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Annuler l'ordre?", "Confirm Cancel": "Confirmer l'annulation", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Joindre les journaux de discussion", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Le fait de joindre les journaux de discussion facilite le processus de résolution du litige et ajoute de la transparence. Cependant, cela peut compromettre votre vie privée.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Soumettre une déclaration de litige", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Options avancées", diff --git a/frontend/static/locales/it.json b/frontend/static/locales/it.json index cea51e9b..b794f543 100644 --- a/frontend/static/locales/it.json +++ b/frontend/static/locales/it.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Vedi wallet compatibili", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Annullare l'ordine?", "Confirm Cancel": "Conferma l'annullamento", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Allega i logs della chat", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Allegare i logs della chat semplifica il processo di risoluzione della contestazione e aggiunge trasparenza. Tuttavia, potrebbe compromettere la tua privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Dichiarazione inviata", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Opzioni avanzate", diff --git a/frontend/static/locales/ja.json b/frontend/static/locales/ja.json index 29646b2f..2e14eb12 100644 --- a/frontend/static/locales/ja.json +++ b/frontend/static/locales/ja.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "互換性のあるウォレットを見る", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "注文をキャンセルしますか?", "Confirm Cancel": "キャンセルを確認", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "チャットログを添付する", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "チャットログを添付することで紛争解決プロセスが促進され、透明性が高まります。ただし、プライバシーが危険にさらされる可能性があります。", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "紛争申し立てを送信する", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "高度な設定", diff --git a/frontend/static/locales/pl.json b/frontend/static/locales/pl.json index 053cc831..ac73147d 100644 --- a/frontend/static/locales/pl.json +++ b/frontend/static/locales/pl.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "See Compatible Wallets", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Anulować zamówienie?", "Confirm Cancel": "Potwierdź Anuluj", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Prześlij oświadczenie o sporze", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/pt.json b/frontend/static/locales/pt.json index 75495069..8c93f440 100644 --- a/frontend/static/locales/pt.json +++ b/frontend/static/locales/pt.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Ver Carteiras Compatíveis", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Cancelar a ordem?", "Confirm Cancel": "Confirmar cancelamento", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Enviar declaração de disputa", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Opções avançadas", diff --git a/frontend/static/locales/ru.json b/frontend/static/locales/ru.json index 70dc86e3..269b6622 100644 --- a/frontend/static/locales/ru.json +++ b/frontend/static/locales/ru.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Смотреть Совместимые Кошельки", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Отменить ордер?", "Confirm Cancel": "Подтвердить отмену", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Прикрепите журналы чата", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Прикрепление журналов чата помогает процессу разрешения споров и повышает прозрачность. Однако это может поставить под угрозу вашу конфиденциальность.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Отправить заявление о диспуте", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Расширенные настройки", diff --git a/frontend/static/locales/sv.json b/frontend/static/locales/sv.json index 53a7e275..ec8cbd7c 100644 --- a/frontend/static/locales/sv.json +++ b/frontend/static/locales/sv.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Se kompatibla wallets", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Makulera ordern?", "Confirm Cancel": "Bekräfta makulering", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Skicka dispytredogörelse", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/sw.json b/frontend/static/locales/sw.json index 0d0e18dd..fa20f8c5 100644 --- a/frontend/static/locales/sw.json +++ b/frontend/static/locales/sw.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "Tazama Wallets Zinazoendana", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "Ghairi agizo?", "Confirm Cancel": "Thibitisha Kughairi", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Tia kumbukumbu za gumzo", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Kuambatanisha kumbukumbu za gumzo husaidia mchakato wa kusuluhisha mzozo na kuongeza uwazi. Walakini, inaweza kudhoofisha faragha yako.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "Wasilisha taarifa ya mzozo", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Chaguzi za hali ya juu", diff --git a/frontend/static/locales/th.json b/frontend/static/locales/th.json index f24fdac6..0f04a284 100644 --- a/frontend/static/locales/th.json +++ b/frontend/static/locales/th.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "ดูกระเป๋าบิทคอยน์ (Wallets) ที่สามารถใช้งานได้", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "จะยกเลิกรายการหรือไม่?", "Confirm Cancel": "ยืนยันยกเลิก", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "Attach chat logs", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "ส่งคำแถลงสำหรับข้อร้องเรียน", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "Advanced options", diff --git a/frontend/static/locales/zh-SI.json b/frontend/static/locales/zh-SI.json index a6987874..3d0a1dac 100644 --- a/frontend/static/locales/zh-SI.json +++ b/frontend/static/locales/zh-SI.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "查看兼容钱包列表", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "取消订单?", "Confirm Cancel": "确认取消", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "附加聊天记录", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "附加聊天记录有助于争议解决过程并增加透明度。但可能会损害你的隐私。", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "提交争议声明", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "高级选项", diff --git a/frontend/static/locales/zh-TR.json b/frontend/static/locales/zh-TR.json index a52be0fc..70fae3d0 100644 --- a/frontend/static/locales/zh-TR.json +++ b/frontend/static/locales/zh-TR.json @@ -544,6 +544,7 @@ "See Compatible Wallets": "查看兼容錢包列表", "#51": "Phrases in components/TradeBox/index.tsx", "A contact method is required": "A contact method is required", + "The statement is too short. Make sure to be thorough.": "The statement is too short. Make sure to be thorough.", "#52": "Phrases in components/TradeBox/Dialogs/ConfirmCancel.tsx", "Cancel the order?": "取消訂單?", "Confirm Cancel": "確認取消", @@ -598,7 +599,9 @@ "#64": "Phrases in components/TradeBox/Forms/Dispute.tsx", "Attach chat logs": "附加聊天記錄", "Attaching chat logs helps the dispute resolution process and adds transparency. However, it might compromise your privacy.": "附加聊天記錄有助於爭議解決過程並增加透明度。但可能會損害你的隱私。", + "Contact method": "Contact method", "Other": "Other", + "Select a contact method": "Select a contact method", "Submit dispute statement": "提交爭議聲明", "#65": "Phrases in components/TradeBox/Forms/LightningPayout.tsx", "Advanced options": "高級選項",