Refactor order type filter

This commit is contained in:
koalasat 2024-11-25 14:08:32 +01:00
parent ce4a96b9ca
commit 6f62e6602f
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157
18 changed files with 196 additions and 150 deletions

View File

@ -1,21 +1,11 @@
import React, { useContext, useMemo } from 'react'; import React, { useContext, useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { import { Typography, Grid, Select, Divider, MenuItem, Box } from '@mui/material';
Typography,
Grid,
ToggleButton,
ToggleButtonGroup,
Select,
Divider,
MenuItem,
Box,
Tooltip,
} from '@mui/material';
import currencyDict from '../../../static/assets/currencies.json'; import currencyDict from '../../../static/assets/currencies.json';
import { useTheme } from '@mui/system'; import { useTheme } from '@mui/system';
import { AutocompletePayments } from '../MakerForm'; import { AutocompletePayments } from '../MakerForm';
import { fiatMethods, swapMethods, PaymentIcon } from '../PaymentMethods'; import { fiatMethods, swapMethods, PaymentIcon } from '../PaymentMethods';
import { FlagWithProps } from '../Icons'; import { FlagWithProps, SendReceiveIcon } from '../Icons';
import { AppContext, type UseAppStoreType } from '../../contexts/AppContext'; import { AppContext, type UseAppStoreType } from '../../contexts/AppContext';
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank'; import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
@ -41,16 +31,24 @@ const BookControl = ({
const { t, i18n } = useTranslation(); const { t, i18n } = useTranslation();
const theme = useTheme(); const theme = useTheme();
const [typeZeroText, typeOneText, small, medium, large] = useMemo(() => { const [orderType, setOrderType] = useState<string>('any');
const typeZeroText = fav.mode === 'fiat' ? t('Buy') : t('Swap In'); const [small, medium, large] = useMemo(() => {
const typeOneText = fav.mode === 'fiat' ? t('Sell') : t('Swap Out'); const small = fav.mode === 'fiat' ? 16 : 7.5;
const small =
(typeZeroText.length + typeOneText.length) * 0.7 + (fav.mode === 'fiat' ? 16 : 7.5);
const medium = small + 13; const medium = small + 13;
const large = medium + (t('and use').length + t('pay with').length) * 0.6 + 5; const large = medium + (t('and use').length + t('pay with').length) * 0.6 + 5;
return [typeZeroText, typeOneText, small, medium, large]; return [small, medium, large];
}, [i18n.language, fav.mode]); }, [i18n.language, fav.mode]);
useEffect(() => {
if (fav.type === null) {
setOrderType('any');
} else if (fav.mode === 'fiat') {
setOrderType(fav.type === 0 ? 'buy' : 'sell');
} else {
setOrderType(fav.type === 0 ? 'swapout' : 'swapin');
}
}, [fav.mode, fav.type]);
const handleCurrencyChange = function (e: React.ChangeEvent<HTMLInputElement>): void { const handleCurrencyChange = function (e: React.ChangeEvent<HTMLInputElement>): void {
const currency = Number(e.target.value); const currency = Number(e.target.value);
setFav({ ...fav, currency, mode: currency === 1000 ? 'swap' : 'fiat' }); setFav({ ...fav, currency, mode: currency === 1000 ? 'swap' : 'fiat' });
@ -61,14 +59,41 @@ const BookControl = ({
setFav({ ...fav, coordinator }); setFav({ ...fav, coordinator });
}; };
const handleTypeChange = function (mouseEvent: React.MouseEvent, val: number): void { const handleOrderTypeChange = (mouseEvent: React.MouseEvent, select: object): void => {
setFav({ ...fav, type: val }); if (select.props.value === 'sell') {
const currency = fav.currency === 1000 ? 0 : fav.currency;
setFav({ ...fav, mode: 'fiat', type: 1, currency });
} else if (select.props.value === 'buy') {
const currency = fav.currency === 1000 ? 0 : fav.currency;
setFav({ ...fav, mode: 'fiat', type: 0, currency });
} else if (select.props.value === 'swapin') {
setFav({ ...fav, mode: 'swap', type: 1, currency: 1000 });
} else if (select.props.value === 'swapout') {
setFav({ ...fav, mode: 'swap', type: 0, currency: 1000 });
} else {
const currency = fav.currency === 1000 ? 0 : fav.currency;
setFav({ ...fav, mode: 'fiat', type: null, currency });
}
setOrderType(select.props.value);
}; };
const handleModeChange = function (mouseEvent: React.MouseEvent, val: number): void { const orderTypeIcon = (value: string): React.ReactNode => {
const mode = fav.mode === 'fiat' ? 'swap' : 'fiat'; let component = <CheckBoxOutlineBlankIcon />;
const currency = fav.mode === 'fiat' ? 1000 : 0; if (value === 'sell') {
setFav({ ...fav, mode, currency }); component = <SendReceiveIcon color='primary' />;
} else if (value === 'buy') {
component = <SendReceiveIcon color='secondary' />;
} else if (value === 'swapin') {
component = <SwapCalls color='primary' />;
} else if (value === 'swapout') {
component = <SwapCalls color='secondary' />;
}
return (
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap', marginRight: 1 }}>
{component}
</div>
);
}; };
return ( return (
@ -89,63 +114,69 @@ const BookControl = ({
</Grid> </Grid>
) : null} ) : null}
{width > small ? (
<Grid item> <Grid item>
<Tooltip <Select
placement='bottom'
enterTouchDelay={200}
enterDelay={700}
enterNextDelay={2000}
title={t('Show Lightning swaps')}
>
<ToggleButtonGroup
sx={{ sx={{
height: '2.6em', height: '2.3em',
backgroundColor: theme.palette.background.paper,
border: '0.5px solid', border: '0.5px solid',
backgroundColor: theme.palette.background.paper,
borderRadius: '4px',
borderColor: 'text.disabled', borderColor: 'text.disabled',
'&:hover': { '&:hover': {
borderColor: 'text.primary', borderColor: 'text.primary',
border: '1px solid',
}, },
}} }}
size='small' size='small'
exclusive={true} label={t('Select Order Type')}
value={fav.mode} required={true}
onChange={handleModeChange} value={orderType}
> inputProps={{
<ToggleButton value={'swap'} color={'secondary'}> style: { textAlign: 'center' },
<SwapCalls />
</ToggleButton>
</ToggleButtonGroup>
</Tooltip>
</Grid>
) : null}
<Grid item>
<ToggleButtonGroup
sx={{
height: '2.6em',
backgroundColor: theme.palette.background.paper,
border: '0.5px solid',
borderColor: 'text.disabled',
'&:hover': {
borderColor: 'text.primary',
border: '1px solid',
},
}} }}
size='small' renderValue={orderTypeIcon}
exclusive={true} onChange={handleOrderTypeChange}
value={fav.type}
onChange={handleTypeChange}
> >
<ToggleButton value={1} color={'primary'}> <MenuItem value='any' style={{ width: '8em' }}>
{typeZeroText} <div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
</ToggleButton> <CheckBoxOutlineBlankIcon />
<ToggleButton value={0} color={'secondary'}> <Typography sx={{ width: '2em' }} align='right' color='text.secondary'>
{typeOneText} {' ' + t('Any')}
</ToggleButton> </Typography>
</ToggleButtonGroup> </div>
</MenuItem>
<MenuItem value='sell' style={{ width: '8em' }}>
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
<SendReceiveIcon color='primary' />
<Typography sx={{ width: '2em' }} align='right' color='text.secondary'>
{' ' + t('Sell')}
</Typography>
</div>
</MenuItem>
<MenuItem value='buy' style={{ width: '8em' }}>
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
<SendReceiveIcon color='secondary' />
<Typography sx={{ width: '2em' }} align='right' color='text.secondary'>
{' ' + t('Buy')}
</Typography>
</div>
</MenuItem>
<MenuItem value='swapin' style={{ width: '8em' }}>
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
<SwapCalls color='primary' />
<Typography sx={{ width: '2em' }} align='right' color='text.secondary'>
{' ' + t('Swap In')}
</Typography>
</div>
</MenuItem>
<MenuItem value='swapout' style={{ width: '8em' }}>
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
<SwapCalls color='secondary' />
<Typography sx={{ width: '2em' }} align='right' color='text.secondary'>
{' ' + t('Swap Out')}
</Typography>
</div>
</MenuItem>
</Select>
</Grid> </Grid>
{width > large && fav.mode === 'fiat' ? ( {width > large && fav.mode === 'fiat' ? (
@ -318,12 +349,12 @@ const BookControl = ({
) : null} ) : null}
{width > large ? ( {width > large ? (
<>
<Grid item sx={{ position: 'relative', top: '0.5em' }}> <Grid item sx={{ position: 'relative', top: '0.5em' }}>
<Typography variant='caption' color='text.secondary'> <Typography variant='caption' color='text.secondary'>
{fav.currency === 1000 ? t(fav.type === 0 ? 'to' : 'from') : t('hosted by')} {fav.currency === 1000 ? t(fav.type === 0 ? 'to' : 'from') : t('hosted by')}
</Typography> </Typography>
</Grid> </Grid>
) : null}
<Grid item> <Grid item>
<Select <Select
autoWidth autoWidth
@ -378,8 +409,6 @@ const BookControl = ({
))} ))}
</Select> </Select>
</Grid> </Grid>
</>
) : null}
</Grid> </Grid>
<Divider /> <Divider />
</Box> </Box>

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "TOT", "ANY": "TOT",
"Any": "Any",
"Buy": "Comprar", "Buy": "Comprar",
"DESTINATION": "DESTÍ", "DESTINATION": "DESTÍ",
"I want to": "Vull", "I want to": "Vull",
"METHOD": "MÈTODE", "METHOD": "MÈTODE",
"Select Host": "Selecciona Amfitrió", "Select Host": "Selecciona Amfitrió",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Selecciona moneda de pagament", "Select Payment Currency": "Selecciona moneda de pagament",
"Select Payment Method": "Tria mètode de pagament", "Select Payment Method": "Tria mètode de pagament",
"Sell": "Vendre", "Sell": "Vendre",
"Show Lightning swaps": "Mostra Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "i fer servir", "and use": "i fer servir",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "VŠE", "ANY": "VŠE",
"Any": "Any",
"Buy": "Nákup", "Buy": "Nákup",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "Já chci", "I want to": "Já chci",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Vybrat měnu platby", "Select Payment Currency": "Vybrat měnu platby",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "Prodej", "Sell": "Prodej",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "použít", "and use": "použít",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "ALLE", "ANY": "ALLE",
"Any": "Any",
"Buy": "Kaufen", "Buy": "Kaufen",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "Ich möchte", "I want to": "Ich möchte",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Währung auswählen", "Select Payment Currency": "Währung auswählen",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "Verkaufen", "Sell": "Verkaufen",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "und verwende", "and use": "und verwende",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "ANY", "ANY": "ANY",
"Any": "Any",
"Buy": "Buy", "Buy": "Buy",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "I want to", "I want to": "I want to",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Select Payment Currency", "Select Payment Currency": "Select Payment Currency",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "Sell", "Sell": "Sell",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "and use", "and use": "and use",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "TODO", "ANY": "TODO",
"Any": "Any",
"Buy": "Comprar", "Buy": "Comprar",
"DESTINATION": "DESTINO", "DESTINATION": "DESTINO",
"I want to": "Quiero", "I want to": "Quiero",
"METHOD": "MÉTODO", "METHOD": "MÉTODO",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Selecciona moneda de pago", "Select Payment Currency": "Selecciona moneda de pago",
"Select Payment Method": "Selecciona método de pago", "Select Payment Method": "Selecciona método de pago",
"Sell": "Vender", "Sell": "Vender",
"Show Lightning swaps": "Mostrar swaps Lightning",
"Swap In": "Swap a LN", "Swap In": "Swap a LN",
"Swap Out": "Swap desde LN", "Swap Out": "Swap desde LN",
"and use": "y usa", "and use": "y usa",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "ANY", "ANY": "ANY",
"Any": "Any",
"Buy": "Erosi", "Buy": "Erosi",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "Nahi dut", "I want to": "Nahi dut",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Aukeratu Ordainketa Txanpona", "Select Payment Currency": "Aukeratu Ordainketa Txanpona",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "Saldu", "Sell": "Saldu",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "eta erabili", "and use": "eta erabili",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "Tous", "ANY": "Tous",
"Any": "Any",
"Buy": "Acheter", "Buy": "Acheter",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "Je veux", "I want to": "Je veux",
"METHOD": "MÉTHODE", "METHOD": "MÉTHODE",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Sélectionner la devise de paiement", "Select Payment Currency": "Sélectionner la devise de paiement",
"Select Payment Method": "Sélectionner le mode de paiement", "Select Payment Method": "Sélectionner le mode de paiement",
"Sell": "Vendre", "Sell": "Vendre",
"Show Lightning swaps": "Afficher les échanges Lightning",
"Swap In": "Échange LN->OC", "Swap In": "Échange LN->OC",
"Swap Out": "Échange OC->LN", "Swap Out": "Échange OC->LN",
"and use": "et utiliser", "and use": "et utiliser",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "QUALUNQUE", "ANY": "QUALUNQUE",
"Any": "Any",
"Buy": "Compra", "Buy": "Compra",
"DESTINATION": "DESTINAZIONE", "DESTINATION": "DESTINAZIONE",
"I want to": "Voglio", "I want to": "Voglio",
"METHOD": "METODO", "METHOD": "METODO",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Seleziona valuta di pagamento", "Select Payment Currency": "Seleziona valuta di pagamento",
"Select Payment Method": "Seleziona il metodo di pagamento", "Select Payment Method": "Seleziona il metodo di pagamento",
"Sell": "Vendere", "Sell": "Vendere",
"Show Lightning swaps": "Mostra gli swap Lightning",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "ed usa", "and use": "ed usa",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "すべて", "ANY": "すべて",
"Any": "Any",
"Buy": "購入", "Buy": "購入",
"DESTINATION": "方向", "DESTINATION": "方向",
"I want to": "私はしたいのは:", "I want to": "私はしたいのは:",
"METHOD": "方法", "METHOD": "方法",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "支払い通貨を選択してください。", "Select Payment Currency": "支払い通貨を選択してください。",
"Select Payment Method": "支払い方法を選択してください。", "Select Payment Method": "支払い方法を選択してください。",
"Sell": "売る", "Sell": "売る",
"Show Lightning swaps": "ライトニングスワップを表示します。",
"Swap In": "スワップイン", "Swap In": "スワップイン",
"Swap Out": "スワップアウト", "Swap Out": "スワップアウト",
"and use": "そして使用するのは", "and use": "そして使用するのは",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "KAŻDY", "ANY": "KAŻDY",
"Any": "Any",
"Buy": "Kupić", "Buy": "Kupić",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "chcę", "I want to": "chcę",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Wybierz walutę płatności", "Select Payment Currency": "Wybierz walutę płatności",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "Sprzedać", "Sell": "Sprzedać",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "i użyć", "and use": "i użyć",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "QUALQUER", "ANY": "QUALQUER",
"Any": "Any",
"Buy": "Comprar", "Buy": "Comprar",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "Eu quero", "I want to": "Eu quero",
"METHOD": "MÉTODO", "METHOD": "MÉTODO",
"Select Host": "Selecione Host", "Select Host": "Selecione Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Selecione a moeda de pagamento", "Select Payment Currency": "Selecione a moeda de pagamento",
"Select Payment Method": "Selecione método de pagamento", "Select Payment Method": "Selecione método de pagamento",
"Sell": "Vender", "Sell": "Vender",
"Show Lightning swaps": "Mostrar Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "e utilizar", "and use": "e utilizar",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "Любой", "ANY": "Любой",
"Any": "Any",
"Buy": "Купить", "Buy": "Купить",
"DESTINATION": "МЕСТО НАЗНАЧЕНИЯ", "DESTINATION": "МЕСТО НАЗНАЧЕНИЯ",
"I want to": "Я хочу", "I want to": "Я хочу",
"METHOD": "МЕТОД", "METHOD": "МЕТОД",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Выбрать Валюту", "Select Payment Currency": "Выбрать Валюту",
"Select Payment Method": "Выбрать способ оплаты", "Select Payment Method": "Выбрать способ оплаты",
"Sell": "Продать", "Sell": "Продать",
"Show Lightning swaps": "Показать Лайтнинг свопы",
"Swap In": "Своп в", "Swap In": "Своп в",
"Swap Out": "Своп из", "Swap Out": "Своп из",
"and use": "и использовать", "and use": "и использовать",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "ALLA", "ANY": "ALLA",
"Any": "Any",
"Buy": "Köpa", "Buy": "Köpa",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "Jag vill", "I want to": "Jag vill",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Välj betalningsvaluta", "Select Payment Currency": "Välj betalningsvaluta",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "Sälja", "Sell": "Sälja",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "och använda", "and use": "och använda",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "Yoyote", "ANY": "Yoyote",
"Any": "Any",
"Buy": "Nunua", "Buy": "Nunua",
"DESTINATION": "MAELEKEZO", "DESTINATION": "MAELEKEZO",
"I want to": "Nataka", "I want to": "Nataka",
"METHOD": "NJIA", "METHOD": "NJIA",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "Chagua Sarafu ya Malipo", "Select Payment Currency": "Chagua Sarafu ya Malipo",
"Select Payment Method": "Chagua Njia ya Malipo", "Select Payment Method": "Chagua Njia ya Malipo",
"Sell": "Uza", "Sell": "Uza",
"Show Lightning swaps": "Onyesha Kubadilishana kwa Lightning",
"Swap In": "Badilisha Ndani", "Swap In": "Badilisha Ndani",
"Swap Out": "Badilisha Nje", "Swap Out": "Badilisha Nje",
"and use": "na tumia", "and use": "na tumia",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "ANY", "ANY": "ANY",
"Any": "Any",
"Buy": "ซื้อ", "Buy": "ซื้อ",
"DESTINATION": "DESTINATION", "DESTINATION": "DESTINATION",
"I want to": "ฉันต้องการ", "I want to": "ฉันต้องการ",
"METHOD": "METHOD", "METHOD": "METHOD",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "เลือกสกุลเงิน", "Select Payment Currency": "เลือกสกุลเงิน",
"Select Payment Method": "Select Payment Method", "Select Payment Method": "Select Payment Method",
"Sell": "ขาย", "Sell": "ขาย",
"Show Lightning swaps": "Show Lightning swaps",
"Swap In": "Swap In", "Swap In": "Swap In",
"Swap Out": "Swap Out", "Swap Out": "Swap Out",
"and use": "และใช้", "and use": "และใช้",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "任何", "ANY": "任何",
"Any": "Any",
"Buy": "购买", "Buy": "购买",
"DESTINATION": "目的地", "DESTINATION": "目的地",
"I want to": "我想要", "I want to": "我想要",
"METHOD": "方式", "METHOD": "方式",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "选择支付货币", "Select Payment Currency": "选择支付货币",
"Select Payment Method": "选择付款方式", "Select Payment Method": "选择付款方式",
"Sell": "出售", "Sell": "出售",
"Show Lightning swaps": "显示闪电交换",
"Swap In": "换入", "Swap In": "换入",
"Swap Out": "换出", "Swap Out": "换出",
"and use": "并使用", "and use": "并使用",

View File

@ -76,15 +76,16 @@
"URL": "URL", "URL": "URL",
"#13": "Phrases in components/BookTable/BookControl.tsx", "#13": "Phrases in components/BookTable/BookControl.tsx",
"ANY": "任何", "ANY": "任何",
"Any": "Any",
"Buy": "購買", "Buy": "購買",
"DESTINATION": "目的地", "DESTINATION": "目的地",
"I want to": "我想要", "I want to": "我想要",
"METHOD": "方式", "METHOD": "方式",
"Select Host": "Select Host", "Select Host": "Select Host",
"Select Order Type": "Select Order Type",
"Select Payment Currency": "選擇支付貨幣", "Select Payment Currency": "選擇支付貨幣",
"Select Payment Method": "選擇付款方式", "Select Payment Method": "選擇付款方式",
"Sell": "出售", "Sell": "出售",
"Show Lightning swaps": "顯示閃電交換",
"Swap In": "換入", "Swap In": "換入",
"Swap Out": "換出", "Swap Out": "換出",
"and use": "並使用", "and use": "並使用",