diff --git a/frontend/src/components/MakerForm/MakerForm.tsx b/frontend/src/components/MakerForm/MakerForm.tsx index caf2bee2..f92c3bb5 100644 --- a/frontend/src/components/MakerForm/MakerForm.tsx +++ b/frontend/src/components/MakerForm/MakerForm.tsx @@ -428,10 +428,16 @@ const MakerForm = ({ color={disableSubmit ? 'text.secondary' : 'text.primary'} > {fav.type == null - ? t(fav.mode === 'fiat' ? 'Order for ' : 'Swap of ') + ? fav.mode === 'fiat' + ? t('Order for ') + : t('Swap of ') : fav.type == 1 - ? t(fav.mode === 'fiat' ? 'Buy BTC for ' : 'Swap into LN ') - : t(fav.mode === 'fiat' ? 'Sell BTC for ' : 'Swap out of LN ')} + ? fav.mode === 'fiat' + ? t('Buy BTC for ') + : t('Swap into LN ') + : fav.mode === 'fiat' + ? t('Sell BTC for ') + : t('Swap out of LN ')} {fav.mode === 'fiat' ? amountToString(maker.amount, maker.advancedOptions, maker.minAmount, maker.maxAmount) : amountToString( @@ -444,7 +450,9 @@ const MakerForm = ({ {maker.isExplicit ? t(' of {{satoshis}} Satoshis', { satoshis: pn(maker.satoshis) }) : maker.premium == 0 - ? t(fav.mode === 'fiat' ? ' at market price' : '') + ? fav.mode === 'fiat' + ? t(' at market price') + : '' : maker.premium > 0 ? t(' at a {{premium}}% premium', { premium: maker.premium }) : t(' at a {{discount}}% discount', { discount: -maker.premium })} diff --git a/frontend/static/locales/ca.json b/frontend/static/locales/ca.json index 673618a1..d4f54c3b 100644 --- a/frontend/static/locales/ca.json +++ b/frontend/static/locales/ca.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "Reps aprox. {{swapSats}} LN Sats (les taxes poden variar)", "Onchain amount to receive (BTC)": "Quantitat a rebre Onchain (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "Envies aprox. {{swapSats}} LN Sats (les taxes poden variar)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " de {{satoshis}} Sats", + " at market price": " at market price", " at a {{premium}}% premium": " amb una prima del {{premium}}%", " at a {{discount}}% discount": " amb descompte del {{discount}}%", "Clear form": "Esborrar camps", diff --git a/frontend/static/locales/cs.json b/frontend/static/locales/cs.json index 9383f295..ba3a8882 100644 --- a/frontend/static/locales/cs.json +++ b/frontend/static/locales/cs.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " {{satoshis}} Satoshi", + " at market price": " at market price", " at a {{premium}}% premium": " za {{premium}}% přirážku", " at a {{discount}}% discount": " za {{discount}}% slevu", "Clear form": "Clear form", diff --git a/frontend/static/locales/de.json b/frontend/static/locales/de.json index 28ca385a..3ebffca3 100644 --- a/frontend/static/locales/de.json +++ b/frontend/static/locales/de.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " für {{satoshis}} Satoshis", + " at market price": " at market price", " at a {{premium}}% premium": " mit einem {{premium}}% Aufschlag", " at a {{discount}}% discount": " mit einem {{discount}}% Rabatt", "Clear form": "Clear form", diff --git a/frontend/static/locales/en.json b/frontend/static/locales/en.json index 24dd465c..36b44c93 100644 --- a/frontend/static/locales/en.json +++ b/frontend/static/locales/en.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " of {{satoshis}} Satoshis", + " at market price": " at market price", " at a {{premium}}% premium": " at a {{premium}}% premium", " at a {{discount}}% discount": " at a {{discount}}% discount", "Clear form": "Clear form", diff --git a/frontend/static/locales/es.json b/frontend/static/locales/es.json index a8293b9e..9a2cd9d6 100644 --- a/frontend/static/locales/es.json +++ b/frontend/static/locales/es.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "Recibes aproximadamente {{swapSats}} LN Sats (la comisión puede variar)", "Onchain amount to receive (BTC)": "Cantidad onchain a recibir (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "Envías aproximadamente {{swapSats}} LN Sats (la comisión puede variar)", + "Order for ": "Orden por ", + "Swap of ": "Swap de ", + "Buy BTC for ": "Comprar BTC por ", + "Swap into LN ": "Swap hacia LN ", + "Sell BTC for ": "Vender BTC por ", + "Swap out of LN ": "Swap fuera de LN ", " of {{satoshis}} Satoshis": " de {{satoshis}} Sats", + " at market price": " a precio de mercado", " at a {{premium}}% premium": " con una prima del {{premium}}%", " at a {{discount}}% discount": " con descuento del {{discount}}%", "Clear form": "Borrar campos", diff --git a/frontend/static/locales/eu.json b/frontend/static/locales/eu.json index be05051b..5d3198a6 100644 --- a/frontend/static/locales/eu.json +++ b/frontend/static/locales/eu.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " {{satoshis}} Satoshirentzat", + " at market price": " at market price", " at a {{premium}}% premium": " %{{premium}}-ko primarekin", " at a {{discount}}% discount": " %{{discount}}-ko deskontuarekin", "Clear form": "Clear form", diff --git a/frontend/static/locales/fr.json b/frontend/static/locales/fr.json index 20586f6c..71566231 100644 --- a/frontend/static/locales/fr.json +++ b/frontend/static/locales/fr.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " de {{satoshis}} Satoshis", + " at market price": " at market price", " at a {{premium}}% premium": " à une prime de {{premium}}%", " at a {{discount}}% discount": " à une remise de {{discount}}%", "Clear form": "Clear form", diff --git a/frontend/static/locales/it.json b/frontend/static/locales/it.json index d6b68324..12d5b42b 100644 --- a/frontend/static/locales/it.json +++ b/frontend/static/locales/it.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " di {{satoshis}} Sats", + " at market price": " at market price", " at a {{premium}}% premium": " con un premio del {{premium}}%", " at a {{discount}}% discount": " con uno sconto del {{discount}}%", "Clear form": "Clear form", diff --git a/frontend/static/locales/ja.json b/frontend/static/locales/ja.json index 0792b461..21cdafdc 100644 --- a/frontend/static/locales/ja.json +++ b/frontend/static/locales/ja.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "約{{swapSats}} ライトニングSatsを受け取ります(手数料は異なる場合があります)", "Onchain amount to receive (BTC)": "受信するオンチェーン量(BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "約{{swapSats}} ライトニングSatsを送信します(手数料は異なる場合があります)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": "{{satoshis}}のうち", + " at market price": " at market price", " at a {{premium}}% premium": "{{premium}}%のプレミアムで", " at a {{discount}}% discount": "{{discount}}%のディスカウントで", "Clear form": "フォームをクリア", diff --git a/frontend/static/locales/pl.json b/frontend/static/locales/pl.json index 40e8397c..03762db2 100644 --- a/frontend/static/locales/pl.json +++ b/frontend/static/locales/pl.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " z {{satoshis}} Satoshis", + " at market price": " at market price", " at a {{premium}}% premium": " o godz {{premium}}% premia", " at a {{discount}}% discount": " o godz {{discount}}% zniżka", "Clear form": "Clear form", diff --git a/frontend/static/locales/pt.json b/frontend/static/locales/pt.json index b2bc0c1c..092544ae 100644 --- a/frontend/static/locales/pt.json +++ b/frontend/static/locales/pt.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " de {{satoshis}} Satoshis", + " at market price": " at market price", " at a {{premium}}% premium": " com um prêmio de {{premium}}%", " at a {{discount}}% discount": " com um desconto de {{discount}}%", "Clear form": "Clear form", diff --git a/frontend/static/locales/ru.json b/frontend/static/locales/ru.json index c6a5da74..4be33068 100644 --- a/frontend/static/locales/ru.json +++ b/frontend/static/locales/ru.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " {{satoshis}} Сатоши", + " at market price": " at market price", " at a {{premium}}% premium": " с наценкой {{premium}}%", " at a {{discount}}% discount": " со скидкой {{discount}}%", "Clear form": "Clear form", diff --git a/frontend/static/locales/sv.json b/frontend/static/locales/sv.json index 73a1fedf..176db68e 100644 --- a/frontend/static/locales/sv.json +++ b/frontend/static/locales/sv.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " för {{satoshis}} sats", + " at market price": " at market price", " at a {{premium}}% premium": " med en premium på {{premium}}%", " at a {{discount}}% discount": " med en rabatt på {{discount}}%", "Clear form": "Clear form", diff --git a/frontend/static/locales/th.json b/frontend/static/locales/th.json index 4d9a8c32..d2ea3ea9 100644 --- a/frontend/static/locales/th.json +++ b/frontend/static/locales/th.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "You receive approx {{swapSats}} LN Sats (fees might vary)", "Onchain amount to receive (BTC)": "Onchain amount to receive (BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "You send approx {{swapSats}} LN Sats (fees might vary)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": " เป็น Satoshis จำนวน {{satoshis}} Sats", + " at market price": " at market price", " at a {{premium}}% premium": " ในราคาแพงกว่าตลาด {{premium}}% ", " at a {{discount}}% discount": " ในราคาถูกกว่าตลาด {{discount}}% ", "Clear form": "Clear form", diff --git a/frontend/static/locales/zh-SI.json b/frontend/static/locales/zh-SI.json index 9f925fa2..938a6b43 100644 --- a/frontend/static/locales/zh-SI.json +++ b/frontend/static/locales/zh-SI.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "你将接收大约{{swapSats}}闪电聪(费用会造成有所差异)", "Onchain amount to receive (BTC)": "链上接收金额(BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "你将发送大约{{swapSats}}闪电聪(费用会造成有所差异)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": "{{satoshis}} 聪", + " at market price": " at market price", " at a {{premium}}% premium": " 于 {{premium}}% 溢价", " at a {{discount}}% discount": " 于 {{discount}}% 折扣", "Clear form": "清除表单", diff --git a/frontend/static/locales/zh-TR.json b/frontend/static/locales/zh-TR.json index a153171d..099ff4ec 100644 --- a/frontend/static/locales/zh-TR.json +++ b/frontend/static/locales/zh-TR.json @@ -270,7 +270,14 @@ "You receive approx {{swapSats}} LN Sats (fees might vary)": "你將接收大約{{swapSats}}閃電聰(費用會造成有所差異)", "Onchain amount to receive (BTC)": "鏈上接收金額(BTC)", "You send approx {{swapSats}} LN Sats (fees might vary)": "你將發送大約{{swapSats}}閃電聰(費用會造成有所差異)", + "Order for ": "Order for ", + "Swap of ": "Swap of ", + "Buy BTC for ": "Buy BTC for ", + "Swap into LN ": "Swap into LN ", + "Sell BTC for ": "Sell BTC for ", + "Swap out of LN ": "Swap out of LN ", " of {{satoshis}} Satoshis": "{{satoshis}} 聰", + " at market price": " at market price", " at a {{premium}}% premium": " 於 {{premium}}% 溢價", " at a {{discount}}% discount": " 於 {{discount}}% 折扣", "Clear form": "清除表單",