From bfa5f671e84974f2920b4cb2c47f07da3e5e5b67 Mon Sep 17 00:00:00 2001 From: koalasat Date: Fri, 15 Nov 2024 10:45:43 +0100 Subject: [PATCH] Better info --- frontend/src/components/MakerForm/SelectCoordinator.tsx | 5 ++--- frontend/static/locales/ca.json | 2 +- frontend/static/locales/cs.json | 2 +- frontend/static/locales/de.json | 2 +- frontend/static/locales/en.json | 2 +- frontend/static/locales/es.json | 2 +- frontend/static/locales/eu.json | 2 +- frontend/static/locales/fr.json | 2 +- frontend/static/locales/it.json | 2 +- frontend/static/locales/ja.json | 2 +- frontend/static/locales/pl.json | 2 +- frontend/static/locales/pt.json | 2 +- frontend/static/locales/ru.json | 2 +- frontend/static/locales/sv.json | 2 +- frontend/static/locales/sw.json | 2 +- frontend/static/locales/th.json | 2 +- frontend/static/locales/zh-SI.json | 2 +- frontend/static/locales/zh-TR.json | 2 +- 18 files changed, 19 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/MakerForm/SelectCoordinator.tsx b/frontend/src/components/MakerForm/SelectCoordinator.tsx index 2481e7d2..4f5031c5 100644 --- a/frontend/src/components/MakerForm/SelectCoordinator.tsx +++ b/frontend/src/components/MakerForm/SelectCoordinator.tsx @@ -195,9 +195,8 @@ const SelectCoordinator: React.FC = ({ > {' '} {coordinator?.info?.swap_enabled - ? (coordinator?.info?.current_swap_fee_rate ?? 0).toFixed(1) - : '-'} - % + ? `${(coordinator?.info?.current_swap_fee_rate ?? 0).toFixed(1)}%` + : t('Disabled')} diff --git a/frontend/static/locales/ca.json b/frontend/static/locales/ca.json index b47f3b50..0e163580 100644 --- a/frontend/static/locales/ca.json +++ b/frontend/static/locales/ca.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Envies aprox. {{swapSats}} LN Sats (les taxes poden variar)", "Your order fixed exchange rate": "La tasa de canvi fixa de la teva ordre", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Creador", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Prenedor", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Fosc", - "Disabled": "Disabled", "Light": "Clar", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/cs.json b/frontend/static/locales/cs.json index fa320535..22e712cd 100644 --- a/frontend/static/locales/cs.json +++ b/frontend/static/locales/cs.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "Pevný směnný kurz tvé nabídky", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Tvůrce", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Příjemce", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/de.json b/frontend/static/locales/de.json index 8e5f7e1c..e75e4c2b 100644 --- a/frontend/static/locales/de.json +++ b/frontend/static/locales/de.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "Dein fixierter Order-Kurs", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/en.json b/frontend/static/locales/en.json index 2d22e495..b522e3c5 100644 --- a/frontend/static/locales/en.json +++ b/frontend/static/locales/en.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "Your order fixed exchange rate", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/es.json b/frontend/static/locales/es.json index fed02c84..da505606 100644 --- a/frontend/static/locales/es.json +++ b/frontend/static/locales/es.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Envías aproximadamente {{swapSats}} LN Sats (la comisión puede variar)", "Your order fixed exchange rate": "La tasa de cambio fija de tu orden", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Creador", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Tomador", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Oscuro", - "Disabled": "Disabled", "Light": "Claro", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/eu.json b/frontend/static/locales/eu.json index bb133121..a0a26aa2 100644 --- a/frontend/static/locales/eu.json +++ b/frontend/static/locales/eu.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "Zure eskaeraren kanbio-tasa finkoa", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Egile", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Hartzaile", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/fr.json b/frontend/static/locales/fr.json index 1fe76f44..90667ccf 100644 --- a/frontend/static/locales/fr.json +++ b/frontend/static/locales/fr.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Vous envoyez environ {{swapSats}} LN Sats (les frais peuvent varier)", "Your order fixed exchange rate": "Taux de change fixe de votre commande", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Auteur", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Preneur", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Sombre", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/it.json b/frontend/static/locales/it.json index 998e3ee0..71868bec 100644 --- a/frontend/static/locales/it.json +++ b/frontend/static/locales/it.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Invierai circa {{swapSats}} LN Sats (le commissioni possono variare)", "Your order fixed exchange rate": "Il tasso di cambio fisso del tuo ordine", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Scuro", - "Disabled": "Disabled", "Light": "Chiaro", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/ja.json b/frontend/static/locales/ja.json index cb8fed7c..478daa3d 100644 --- a/frontend/static/locales/ja.json +++ b/frontend/static/locales/ja.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "約{{swapSats}} ライトニングSatsを送信します(手数料は異なる場合があります)", "Your order fixed exchange rate": "注文の固定為替レート", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "メーカー", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "テイカー", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "ダーク", - "Disabled": "Disabled", "Light": "ライト", "Mainnet": "メインネット", "Testnet": "テストネット", diff --git a/frontend/static/locales/pl.json b/frontend/static/locales/pl.json index 6b99659d..7d1a33a1 100644 --- a/frontend/static/locales/pl.json +++ b/frontend/static/locales/pl.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "Your order fixed exchange rate", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/pt.json b/frontend/static/locales/pt.json index ecc7bcf0..347b0771 100644 --- a/frontend/static/locales/pt.json +++ b/frontend/static/locales/pt.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Você envia aprox {{swapSats}} LN Sats (as taxas podem variar)", "Your order fixed exchange rate": "Taxa de câmbio fixa do seu pedido", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/ru.json b/frontend/static/locales/ru.json index a3f679aa..6d4675ce 100644 --- a/frontend/static/locales/ru.json +++ b/frontend/static/locales/ru.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Вы отправляете примерно {{swapSats}} спутников LN (комиссия может различаться)", "Your order fixed exchange rate": "Фиксированный курс обмена Вашего ордера", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Мейкер", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Тейкер", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Темный", - "Disabled": "Disabled", "Light": "Светлый", "Mainnet": "Основная сеть", "Testnet": "Тестовая сеть", diff --git a/frontend/static/locales/sv.json b/frontend/static/locales/sv.json index 5374b4fe..1ad533b6 100644 --- a/frontend/static/locales/sv.json +++ b/frontend/static/locales/sv.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "Din orders fasta växelkurs", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/sw.json b/frontend/static/locales/sw.json index b43015a4..b44bfde5 100644 --- a/frontend/static/locales/sw.json +++ b/frontend/static/locales/sw.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "Unatuma takribani {{swapSats}} LN Sats (ada inaweza kutofautiana)", "Your order fixed exchange rate": "Kiwango chako cha kubadilisha cha amri", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Muumba", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Mpokeaji", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Giza", - "Disabled": "Disabled", "Light": "Nuru", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/th.json b/frontend/static/locales/th.json index e3b212fe..6d2f439f 100644 --- a/frontend/static/locales/th.json +++ b/frontend/static/locales/th.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", "Your order fixed exchange rate": "คุณกำหนดอัตราแลกเปลี่ยนคงที่", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "Maker", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "Taker", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "Dark", - "Disabled": "Disabled", "Light": "Light", "Mainnet": "Mainnet", "Testnet": "Testnet", diff --git a/frontend/static/locales/zh-SI.json b/frontend/static/locales/zh-SI.json index ec3c1a13..b5f34e29 100644 --- a/frontend/static/locales/zh-SI.json +++ b/frontend/static/locales/zh-SI.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "你将发送大约{{swapSats}}闪电聪(费用会造成有所差异)", "Your order fixed exchange rate": "你的订单的固定汇率", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "挂单方", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "吃单方", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "深色", - "Disabled": "Disabled", "Light": "浅色", "Mainnet": "主网", "Testnet": "测试网", diff --git a/frontend/static/locales/zh-TR.json b/frontend/static/locales/zh-TR.json index fb0c8fce..96111ea8 100644 --- a/frontend/static/locales/zh-TR.json +++ b/frontend/static/locales/zh-TR.json @@ -406,6 +406,7 @@ "You send approx {{swapSats}} LN Sats (fees might vary)": "你將發送大約{{swapSats}}閃電聰(費用會造成有所差異)", "Your order fixed exchange rate": "你的訂單的固定匯率", "#38": "Phrases in components/MakerForm/SelectCoordinator.tsx", + "Disabled": "Disabled", "Maker": "掛單方", "Onchain payouts enabled": "Onchain payouts enabled", "Taker": "吃單方", @@ -494,7 +495,6 @@ "API": "API", "Build-in": "Build-in", "Dark": "深色", - "Disabled": "Disabled", "Light": "淺色", "Mainnet": "主網", "Testnet": "測試網",