From ffa75ba87fcbfbae51ab167b475f5f47232f199a Mon Sep 17 00:00:00 2001 From: koalasat Date: Wed, 5 Mar 2025 10:40:35 +0100 Subject: [PATCH] Revert "Frontend" This reverts commit 18a0edf9de880ef7b6e7f541d29778546facdb38. --- api/logics.py | 11 +------ .../src/components/TradeBox/CancelButton.tsx | 2 +- .../TradeBox/Prompts/TakerFound.tsx | 22 ++++++++++++++ .../src/components/TradeBox/Prompts/index.ts | 1 + frontend/src/components/TradeBox/index.tsx | 29 +++++++++++++------ frontend/static/locales/ca.json | 6 ++-- frontend/static/locales/cs.json | 6 ++-- frontend/static/locales/de.json | 6 ++-- frontend/static/locales/en.json | 6 ++-- frontend/static/locales/es.json | 6 ++-- frontend/static/locales/eu.json | 6 ++-- frontend/static/locales/fr.json | 6 ++-- frontend/static/locales/it.json | 6 ++-- frontend/static/locales/ja.json | 6 ++-- frontend/static/locales/pl.json | 6 ++-- frontend/static/locales/pt.json | 6 ++-- frontend/static/locales/ru.json | 6 ++-- frontend/static/locales/sv.json | 6 ++-- frontend/static/locales/sw.json | 6 ++-- frontend/static/locales/th.json | 6 ++-- frontend/static/locales/zh-SI.json | 6 ++-- frontend/static/locales/zh-TR.json | 6 ++-- 22 files changed, 113 insertions(+), 54 deletions(-) create mode 100644 frontend/src/components/TradeBox/Prompts/TakerFound.tsx diff --git a/api/logics.py b/api/logics.py index 185e4bf1..9d908efb 100644 --- a/api/logics.py +++ b/api/logics.py @@ -184,20 +184,11 @@ class Logics: @classmethod def take(cls, order, user, amount=None): is_penalized, time_out = cls.is_penalized(user) - take_order = TakeOrder.objects.filter( - taker=user, order=order, expires_at__gt=timezone.now() - ) - if is_penalized: return False, { "bad_request", f"You need to wait {time_out} seconds to take an order", } - elif take_order.exists(): - order.log( - f"Order already Pre-Taken by Robot({user.robot.id},{user.username}) for {order.amount} fiat units" - ) - return True, None else: take_order = TakeOrder.objects.create( taker=user, @@ -211,7 +202,7 @@ class Logics: take_order.save(update_fields=["amount"]) order.log( - f"Pre-Taken by Robot({user.robot.id},{user.username}) for {order.amount} fiat units" + f"Taken by Robot({user.robot.id},{user.username}) for {order.amount} fiat units" ) return True, None diff --git a/frontend/src/components/TradeBox/CancelButton.tsx b/frontend/src/components/TradeBox/CancelButton.tsx index 515d0e8c..704c9372 100644 --- a/frontend/src/components/TradeBox/CancelButton.tsx +++ b/frontend/src/components/TradeBox/CancelButton.tsx @@ -22,7 +22,7 @@ const CancelButton = ({ const { t } = useTranslation(); const showCancelButton = - Boolean(order?.is_participant && [0, 1, 2].includes(order?.status)) || + Boolean(order?.is_maker && [0, 1, 2].includes(order?.status)) || Boolean([3, 6, 7].includes(order?.status ?? -1)); const showCollabCancelButton = order?.status === 9 && !order?.asked_for_cancel; const noConfirmation = diff --git a/frontend/src/components/TradeBox/Prompts/TakerFound.tsx b/frontend/src/components/TradeBox/Prompts/TakerFound.tsx new file mode 100644 index 00000000..d01efb2b --- /dev/null +++ b/frontend/src/components/TradeBox/Prompts/TakerFound.tsx @@ -0,0 +1,22 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; +import { Divider, List, ListItem, Typography } from '@mui/material'; + +export const TakerFoundPrompt = (): JSX.Element => { + const { t } = useTranslation(); + + return ( + + + + + {t( + 'Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.', + )} + + + + ); +}; + +export default TakerFoundPrompt; diff --git a/frontend/src/components/TradeBox/Prompts/index.ts b/frontend/src/components/TradeBox/Prompts/index.ts index 5d5ed657..fe514084 100644 --- a/frontend/src/components/TradeBox/Prompts/index.ts +++ b/frontend/src/components/TradeBox/Prompts/index.ts @@ -1,4 +1,5 @@ export { LockInvoicePrompt } from './LockInvoice'; +export { TakerFoundPrompt } from './TakerFound'; export { PublicWaitPrompt } from './PublicWait'; export { PausedPrompt } from './Paused'; export { ExpiredPrompt } from './Expired'; diff --git a/frontend/src/components/TradeBox/index.tsx b/frontend/src/components/TradeBox/index.tsx index 0dc64ae1..223e8db3 100644 --- a/frontend/src/components/TradeBox/index.tsx +++ b/frontend/src/components/TradeBox/index.tsx @@ -15,6 +15,7 @@ import { import Title from './Title'; import { LockInvoicePrompt, + TakerFoundPrompt, PublicWaitPrompt, PausedPrompt, ExpiredPrompt, @@ -308,7 +309,7 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element => webln.sendPayment(order.bond_invoice); setWaitingWebln(true); setOpen({ ...open, webln: true }); - } else if (order.is_pretaker && order.status === 1) { + } else if (order.is_taker && order.status === 3) { webln.sendPayment(order.bond_invoice); setWaitingWebln(true); setOpen({ ...open, webln: true }); @@ -362,7 +363,6 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element => const status = order.status; const isBuyer = order.is_buyer; const isMaker = order.is_maker; - const isPretaker = order.is_pretaker; switch (status) { // 0: 'Waiting for maker bond' @@ -390,13 +390,6 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element => ); }; baseContract.bondStatus = 'locked'; - } else if (isPretaker) { - baseContract.title = 'Lock {{amountSats}} Sats to TAKE order'; - baseContract.titleVariables = { amountSats: pn(order.bond_satoshis) }; - baseContract.prompt = () => { - return ; - }; - baseContract.bondStatus = 'hide'; } break; // 2: 'Paused' @@ -415,6 +408,24 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element => } break; + // 3: 'Waiting for taker bond' + case 3: + if (isMaker) { + baseContract.title = 'A taker has been found!'; + baseContract.prompt = () => { + return ; + }; + baseContract.bondStatus = 'locked'; + } else { + baseContract.title = 'Lock {{amountSats}} Sats to TAKE order'; + baseContract.titleVariables = { amountSats: pn(order.bond_satoshis) }; + baseContract.prompt = () => { + return ; + }; + baseContract.bondStatus = 'hide'; + } + break; + // 5: 'Expired' case 5: baseContract.title = 'The order has expired'; diff --git a/frontend/static/locales/ca.json b/frontend/static/locales/ca.json index 5092c091..a54f1568 100644 --- a/frontend/static/locales/ca.json +++ b/frontend/static/locales/ca.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Gràcies! RoboSats també t'estima", "What do you think your order host \"{{coordinator}}\"?": "Què en penses del teu amfitrió \"{{coordinator}}\"?", "Your TXID": "El teu TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Si us plau, espera a que el prenedor bloquegi la seva fiança. Si no ho fa a temps, l'ordre serà pública de nou.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "Ha arribat un tècnic de robots!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "Porto els meus propis robots, són aquí. (Arrossegar i deixar anar workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "Per primer cop aquí. Generar un nou robot de garatge i el token de robot estès (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Personalitza l'àrea de visió", "Freeze viewports": "Congela l'àrea de visió", "unsafe_alert": "Per protegir les vostres dades i la vostra privadesa utilitzeu <1>Tor Browser i visiteu una federació allotjada a <3>Onion. O hostatgeu el vostre propi <5>Client.", diff --git a/frontend/static/locales/cs.json b/frontend/static/locales/cs.json index a7705077..75904e48 100644 --- a/frontend/static/locales/cs.json +++ b/frontend/static/locales/cs.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Tvé TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Vyčkej, až příjemce uzamkne kauci. Pokud příjemce neuzamkne kauci včas, nabídka se znovu zveřejní.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/de.json b/frontend/static/locales/de.json index 2035c5f9..40c4a188 100644 --- a/frontend/static/locales/de.json +++ b/frontend/static/locales/de.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Your TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Bitte warte auf den Taker, um eine Kaution zu sperren. Wenn der Taker nicht rechtzeitig eine Kaution sperrt, wird die Order erneut veröffentlicht.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/en.json b/frontend/static/locales/en.json index f879af95..0445fed7 100644 --- a/frontend/static/locales/en.json +++ b/frontend/static/locales/en.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Your TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To fully enable RoboSats and protect your data and privacy, use <1>Tor Browser and visit the federation hosted <3>Onion site or <5>host your own app.", diff --git a/frontend/static/locales/es.json b/frontend/static/locales/es.json index b7858cc6..af580141 100644 --- a/frontend/static/locales/es.json +++ b/frontend/static/locales/es.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "¡Gracias! RoboSats también te quiere", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Tu TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Por favor, espera a que el tomador bloquee su fianza. Si no lo hace a tiempo, la orden volverá a publicarse.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "¡Ha llegado un técnico robótico!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "Aquí traigo mis propios robosts. (Arrastra y suelta workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "Mi primera vez aquí. Crear un Robot Garage y un token extendido (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Personalizar vistas", "Freeze viewports": "Congelar vistas", "unsafe_alert": "Protege tus datos y privacidad usando <1>Tor Browser y visitando un <3>Onion de la federación. O hostea <5>tu propia app.", diff --git a/frontend/static/locales/eu.json b/frontend/static/locales/eu.json index ce401c3c..f892caff 100644 --- a/frontend/static/locales/eu.json +++ b/frontend/static/locales/eu.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Zure TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Mesedez itxaron hartzaileak fidantza blokeatu harte. Hartzaileak fidantza garaiz blokeatzen ez badu, eskaera berriz publikatuko da.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/fr.json b/frontend/static/locales/fr.json index eef7caf0..d45e371c 100644 --- a/frontend/static/locales/fr.json +++ b/frontend/static/locales/fr.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Merci ! RoboSats vous aime aussi", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Votre TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Veuillez attendre que le preneur verrouille une caution. Si le preneur ne verrouille pas la caution à temps, l'ordre sera rendue publique à nouveau", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "Un robot technicien est arrivé !", "I bring my own robots, here they are. (Drag and drop workspace.json)": "J'apporte mes propres robots, les voici. (Glisser-déposer workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "C'est la première fois que je viens ici. Générer un nouveau Robot Garage et un jeton robot étendu (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Personnaliser fenêtres d'affichage", "Freeze viewports": "Geler fenêtres d'affichage", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/it.json b/frontend/static/locales/it.json index 42000558..cab37c4c 100644 --- a/frontend/static/locales/it.json +++ b/frontend/static/locales/it.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Grazie! Anche RoboSats ti ama", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Il tuo TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Per favore, attendi che l'acquirente blocchi una cauzione. Se l'acquirente non blocca una cauzione in tempo, l'ordine verrà reso nuovamente pubblico.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "Un tecnico robot è arrivato!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "Porto i miei robots personali, eccoli. (Trascina e rilascia workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "Questa è la mia prima volta qui. Genera un nuovo Robot Garage e un token robot esteso (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Personalizza le finestre di visualizzazione", "Freeze viewports": "Fissa le finestre di visualizzazione", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/ja.json b/frontend/static/locales/ja.json index 87b04bee..09b04651 100644 --- a/frontend/static/locales/ja.json +++ b/frontend/static/locales/ja.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "ありがとうございます! RoboSatsもあなたを愛しています", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "あなたのTXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "テイカーが担保金をロックするまでお待ちください。タイムリミット内に担保金がロックされない場合、オーダーは再度公開されます。", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "ロボット技術者が到着しました!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "私は自分のロボットを持っています、ここにあります。(workspace.jsonをドラッグアンドドロップしてください)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "初めてここに来ました。新しいロボットガレージと拡張ロボットトークン(xToken)を生成します。", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "表示のカスタマイズ", "Freeze viewports": "表示を凍結", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/pl.json b/frontend/static/locales/pl.json index 04be7931..7cde4383 100644 --- a/frontend/static/locales/pl.json +++ b/frontend/static/locales/pl.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Your TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Poczekaj, aż przyjmujący zablokuje obligację. Jeśli przyjmujący nie zablokuje obligacji na czas, zlecenie zostanie ponownie upublicznione.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/pt.json b/frontend/static/locales/pt.json index d3ce2969..398d6800 100644 --- a/frontend/static/locales/pt.json +++ b/frontend/static/locales/pt.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Obriagdo! RoboSats também te ama", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Sua TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Por favor, espere que o tomador bloqueie uma fiança. Se o tomador não fechar um vínculo a tempo, a ordem será tornada pública novamente.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/ru.json b/frontend/static/locales/ru.json index 9831b945..737bac33 100644 --- a/frontend/static/locales/ru.json +++ b/frontend/static/locales/ru.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Спасибо! RoboSats тоже Вас любит", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Ваш TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Пожалуйста, подождите, пока тейкер заблокирует залог. Если тейкер не заблокирует залог вовремя, ордер будет снова опубликован", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "Прибыл робот-техник!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "Я привожу своих роботов, вот они. (Перетащите workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "Я здесь впервые. Создайте новый гараж роботов и расширенный токен робота (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Настройка видовых экранов", "Freeze viewports": "Заморозить видовые экраны", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/sv.json b/frontend/static/locales/sv.json index d1b4316e..2934d0b3 100644 --- a/frontend/static/locales/sv.json +++ b/frontend/static/locales/sv.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Ditt TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Var god vänta på att takern låser sin obligation. Om den inte gör det i tid kommer ordern att göras publik igen.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/sw.json b/frontend/static/locales/sw.json index 9f23e7d3..95e00ce1 100644 --- a/frontend/static/locales/sw.json +++ b/frontend/static/locales/sw.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Asante! RoboSats pia inakupenda", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "Kitambulisho chako cha TX", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Tafadhali subiri mpokeaji aweke dhamana. Ikiwa mpokeaji hataweka dhamana kwa wakati, agizo litatangazwa tena kwa umma.", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "Mfundi wa roboti amewasili!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "Ninakuja na roboti zangu wenyewe, hapa zipo. (Buruta na weka workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "Kwa mara yangu ya kwanza hapa. Unda Gari jipya la Roboti na alama ya roboti iliyosanifiwa (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Sanidi maoni", "Freeze viewports": "Gandamiza maoni", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/th.json b/frontend/static/locales/th.json index c5c3438b..638c1a52 100644 --- a/frontend/static/locales/th.json +++ b/frontend/static/locales/th.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "Thank you! RoboSats loves you too", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "TXID ของคุณ", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "โปรดรอคู่ค้าทำการกักกันเหรียญใน bond ถ้าเขากักกันเหรียญไม่ทันในเวลาที่กำหนด รายการจะถูกประำกาศใหม่", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "A robot technician has arrived!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "I bring my own robots, here they are. (Drag and drop workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "My first time here. Generate a new Robot Garage and extended robot token (xToken).", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "Customize viewports", "Freeze viewports": "Freeze viewports", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/zh-SI.json b/frontend/static/locales/zh-SI.json index 5917f715..9acc1ac5 100644 --- a/frontend/static/locales/zh-SI.json +++ b/frontend/static/locales/zh-SI.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "谢谢!RoboSats 也爱你", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "你的 TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "请等待吃单方锁定保证金。如果吃单方没有及时锁定保证金,订单将再次公开。", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "机器人技术人员来了!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "我自带机器人,它们在这里。(拖放 workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "这是我的第一次。生成机器人仓库和扩展机器人令牌(xToken)。", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "自定义视口", "Freeze viewports": "冻结视口", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.", diff --git a/frontend/static/locales/zh-TR.json b/frontend/static/locales/zh-TR.json index aa47c788..8eac47b2 100644 --- a/frontend/static/locales/zh-TR.json +++ b/frontend/static/locales/zh-TR.json @@ -676,11 +676,13 @@ "Thank you! RoboSats loves you too": "謝謝!RoboSats 也愛你", "What do you think your order host \"{{coordinator}}\"?": "What do you think your order host \"{{coordinator}}\"?", "Your TXID": "你的 TXID", - "#82": "Phrases in pro/LandingDialog/index.tsx", + "#82": "Phrases in components/TradeBox/Prompts/TakerFound.tsx", + "Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "請等待吃單方鎖定保證金。如果吃單方沒有及時鎖定保證金,訂單將再次公開。", + "#83": "Phrases in pro/LandingDialog/index.tsx", "A robot technician has arrived!": "機器人技術人員來了!", "I bring my own robots, here they are. (Drag and drop workspace.json)": "我自帶機器人,它們在這裡。(拖放 workspace.json)", "My first time here. Generate a new Robot Garage and extended robot token (xToken).": "這是我的第一次。生成機器人倉庫和擴展機器人領牌 (xToken)。", - "#83": "Phrases in pro/ToolBar/index.tsx", + "#84": "Phrases in pro/ToolBar/index.tsx", "Customize viewports": "自定義視口", "Freeze viewports": "凍結視口", "unsafe_alert": "To protect your data and privacy use<1>Tor Browser and visit a federation hosted <3>Onion site. Or host your own <5>Client.",