From d7115f0a3964df36278ba7348a2a4cd2509878f7 Mon Sep 17 00:00:00 2001 From: koalasat Date: Fri, 28 Mar 2025 17:13:27 +0100 Subject: [PATCH] Hightlight Coordinator and peer rating --- .../TradeBox/Prompts/Successful.tsx | 24 ++++++++++++------- .../src/components/TradeBox/TradeSummary.tsx | 4 ++++ frontend/static/locales/ca.json | 4 ++-- frontend/static/locales/cs.json | 4 ++-- frontend/static/locales/de.json | 4 ++-- frontend/static/locales/en.json | 4 ++-- frontend/static/locales/es.json | 4 ++-- frontend/static/locales/eu.json | 4 ++-- frontend/static/locales/fr.json | 4 ++-- frontend/static/locales/it.json | 4 ++-- frontend/static/locales/ja.json | 4 ++-- frontend/static/locales/pl.json | 4 ++-- frontend/static/locales/pt.json | 4 ++-- frontend/static/locales/ru.json | 4 ++-- frontend/static/locales/sv.json | 4 ++-- frontend/static/locales/sw.json | 4 ++-- frontend/static/locales/th.json | 4 ++-- frontend/static/locales/zh-SI.json | 4 ++-- frontend/static/locales/zh-TR.json | 4 ++-- 19 files changed, 53 insertions(+), 43 deletions(-) diff --git a/frontend/src/components/TradeBox/Prompts/Successful.tsx b/frontend/src/components/TradeBox/Prompts/Successful.tsx index b67b14e1..f8e8f813 100644 --- a/frontend/src/components/TradeBox/Prompts/Successful.tsx +++ b/frontend/src/components/TradeBox/Prompts/Successful.tsx @@ -91,9 +91,7 @@ export const SuccessfulPrompt = ({ > - {t('Rate your peer {{peer_nick}}', { - peer_nick: order.is_maker ? order.taker_nick : order.maker_nick, - })} + {t('Rate your peer')} {order.is_maker ? order.taker_nick : order.maker_nick} @@ -109,9 +107,7 @@ export const SuccessfulPrompt = ({ - {t('Rate your host {{coordinator}}', { - coordinator: federation.getCoordinator(order.shortAlias)?.longAlias, - })}{' '} + {t('Rate your host')} {federation.getCoordinator(order.shortAlias)?.longAlias}{' '} {t('BETA')} @@ -186,7 +182,7 @@ export const SuccessfulPrompt = ({ )} {/* SHOW TXID IF USER RECEIVES ONCHAIN */} - + {t('Your TXID')} @@ -221,7 +217,10 @@ export const SuccessfulPrompt = ({ - + @@ -255,7 +254,13 @@ export const SuccessfulPrompt = ({ - +