Code Review

This commit is contained in:
KoalaSat 2023-10-15 21:18:40 +02:00 committed by Reckless_Satoshi
parent cb973a7f1f
commit 22b10df91d
24 changed files with 127 additions and 81 deletions

View File

@ -132,7 +132,7 @@ const BookPage = (): JSX.Element => {
</Grid>
<Grid item>
<MapChart
maxWidth={windowSize.width * 0.8} // EM units
maxWidth={chartWidthEm} // EM units
maxHeight={(windowSize.height * 0.825 - 5) / 2} // EM units
onOrderClicked={onOrderClicked}
/>

View File

@ -57,6 +57,8 @@ const OrderPage = (): JSX.Element => {
public_duration: order.public_duration,
escrow_duration: order.escrow_duration,
bond_size: order.bond_size,
latitude: order.latitude,
longitude: order.longitude,
};
apiClient
.post(baseUrl, '/api/make/', body, { tokenSHA256: robot.tokenSHA256 })

View File

@ -2,7 +2,7 @@ import React, { useContext, useState } from 'react';
import { CircularProgress, Grid, Paper, Switch, Tooltip } from '@mui/material';
import Map from '../../Map';
import { AppContext, UseAppStoreType } from '../../../contexts/AppContext';
import { WifiTetheringError } from '@mui/icons-material';
import { PhotoSizeSelectActual } from '@mui/icons-material';
import { useTranslation } from 'react-i18next';
interface MapChartProps {
@ -22,7 +22,7 @@ const MapChart: React.FC<MapChartProps> = ({
}) => {
const { t } = useTranslation();
const { book } = useContext<UseAppStoreType>(AppContext);
const [lowQuality, setLowQuality] = useState<boolean>(true);
const [useTiles, setUseTiles] = useState<boolean>(false);
const height = maxHeight < 20 ? 20 : maxHeight;
const width = maxWidth < 20 ? 20 : maxWidth > 72.8 ? 72.8 : maxWidth;
@ -54,11 +54,7 @@ const MapChart: React.FC<MapChartProps> = ({
item
style={{ height: 50, justifyContent: 'center', display: 'flex', paddingTop: 10 }}
>
<Tooltip
enterTouchDelay={0}
placement='top'
title={t('Activate slow mode (use it when the connection is slow)')}
>
<Tooltip enterTouchDelay={0} placement='top' title={t('Show tiles')}>
<div
style={{
display: 'flex',
@ -68,15 +64,15 @@ const MapChart: React.FC<MapChartProps> = ({
>
<Switch
size='small'
checked={lowQuality}
onChange={() => setLowQuality((value) => !value)}
checked={useTiles}
onChange={() => setUseTiles((value) => !value)}
/>
<WifiTetheringError sx={{ color: 'text.secondary' }} />
<PhotoSizeSelectActual sx={{ color: 'text.secondary' }} />
</div>
</Tooltip>
</Grid>
<div style={{ height: `${height - 3.1}em` }}>
<Map lowQuality={lowQuality} orders={book.orders} onOrderClicked={onOrderClicked} />
<Map useTiles={useTiles} orders={book.orders} onOrderClicked={onOrderClicked} />
</div>
</>
)}

View File

@ -1,4 +1,4 @@
import React, { useContext, useEffect, useState } from 'react';
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
Button,
@ -12,15 +12,15 @@ import {
} from '@mui/material';
import { PhotoSizeSelectActual } from '@mui/icons-material';
import Map from '../Map';
import { LatLng } from 'leaflet';
import { randomNumberBetween } from '@mui/x-data-grid/utils/utils';
interface Props {
open: boolean;
orderType: number;
latitude?: number;
longitude?: number;
onClose?: (position?: LatLng) => void;
save?: boolean;
onClose?: (position?: [number, number]) => void;
interactive?: boolean;
zoom?: number;
}
@ -30,20 +30,23 @@ const F2fMapDialog = ({
onClose = () => {},
latitude,
longitude,
save,
interactive,
zoom,
}: Props): JSX.Element => {
const { t } = useTranslation();
const [position, setPosition] = useState<LatLng>();
const [position, setPosition] = useState<[number, number]>();
const [useTiles, setUseTiles] = useState<boolean>(false);
const onSave = () => {
onClose(position);
if (position && position[0] && position[1]) {
const randomAggregator = randomNumberBetween(Math.random(), -0.005, 0.005);
onClose([position[0] + randomAggregator(), position[1] + randomAggregator()]);
}
};
useEffect(() => {
if (open && latitude && longitude) {
setPosition(new LatLng(latitude, longitude));
setPosition([latitude, longitude]);
} else {
setPosition(undefined);
}
@ -59,13 +62,9 @@ const F2fMapDialog = ({
>
<DialogTitle>
<Grid container justifyContent='space-between' spacing={0} sx={{ maxHeight: '1em' }}>
<Grid item>{t(save ? 'Choose a location' : 'Map')}</Grid>
<Grid item>{t(interactive ? 'Choose a location' : 'Map')}</Grid>
<Grid item>
<Tooltip
enterTouchDelay={0}
placement='top'
title={t('Activate slow mode (use it when the connection is slow)')}
>
<Tooltip enterTouchDelay={0} placement='top' title={t('Show tiles')}>
<div
style={{
display: 'flex',
@ -86,6 +85,7 @@ const F2fMapDialog = ({
</DialogTitle>
<DialogContent style={{ height: '100vh', width: '80vw' }}>
<Map
interactive={interactive}
orderType={orderType}
useTiles={useTiles}
position={position}
@ -95,9 +95,17 @@ const F2fMapDialog = ({
/>
</DialogContent>
<DialogActions>
<Button color='primary' variant='contained' onClick={onSave} disabled={!position}>
{save ? t('Save') : t('Close')}
</Button>
<Tooltip
enterTouchDelay={0}
placement='top'
title={t(
'To protect your privacy, your selection will be slightly randomized without losing accuracy',
)}
>
<Button color='primary' variant='contained' onClick={onSave} disabled={!position}>
{interactive ? t('Save') : t('Close')}
</Button>
</Tooltip>
</DialogActions>
</Dialog>
);

View File

@ -41,7 +41,6 @@ import { amountToString, computeSats, pn } from '../../utils';
import { SelfImprovement, Lock, HourglassTop, DeleteSweep, Edit, Map } from '@mui/icons-material';
import { LoadingButton } from '@mui/lab';
import { AppContext, type UseAppStoreType } from '../../contexts/AppContext';
import { LatLng } from 'leaflet';
import { fiatMethods } from '../PaymentMethods';
interface MakerFormProps {
@ -463,13 +462,13 @@ const MakerForm = ({
setMaker(defaultMaker);
};
const handleAddLocation = (pos: LatLng) => {
if (pos.lat && pos.lng) {
const handleAddLocation = (pos: [number, number]) => {
if (pos && pos.length === 2) {
setMaker((maker) => {
return {
...maker,
latitude: parseFloat(pos.lat.toPrecision(6)),
longitude: parseFloat(pos.lng.toPrecision(6)),
latitude: parseFloat(pos[0].toPrecision(6)),
longitude: parseFloat(pos[1].toPrecision(6)),
};
});
if (!maker.paymentMethods.find((method) => method.icon === 'cash')) {
@ -536,12 +535,12 @@ const MakerForm = ({
onClickGenerateRobot={onClickGenerateRobot}
/>
<F2fMapDialog
save
interactive
latitude={maker.latitude}
longitude={maker.longitude}
open={openWorldmap}
orderType={fav.type || 0}
onClose={(pos?: LatLng) => {
onClose={(pos?: [number, number]) => {
if (pos) handleAddLocation(pos);
setOpenWorldmap(false);
}}
@ -826,21 +825,12 @@ const MakerForm = ({
</Grid>
<Grid item>
<Grid container direction='row' justifyItems='center' alignItems='center' spacing={1}>
<Grid item>
<Tooltip enterTouchDelay={0} title={t('Add F2F location')}>
<div>
<Button
color='primary'
variant='contained'
onClick={() => setOpenWorldmap(true)}
>
<Map />
</Button>
</div>
</Tooltip>
</Grid>
</Grid>
<Tooltip enterTouchDelay={0} title={t('Add F2F location')}>
<Button variant='outlined' onClick={() => setOpenWorldmap(true)}>
{t('Face-to-face')}
<Map style={{ paddingLeft: 5 }} />
</Button>
</Tooltip>
</Grid>
{!maker.advancedOptions && pricingMethods ? (

View File

@ -4,19 +4,20 @@ import { MapContainer, GeoJSON, useMapEvents, Circle, TileLayer, Tooltip } from
import { useTheme, LinearProgress } from '@mui/material';
import { UseAppStoreType, AppContext } from '../../contexts/AppContext';
import { GeoJsonObject } from 'geojson';
import { LatLng, LeafletMouseEvent } from 'leaflet';
import { LeafletMouseEvent } from 'leaflet';
import { PublicOrder } from '../../models';
import OrderTooltip from '../Charts/helpers/OrderTooltip';
interface Props {
orderType?: number;
useTiles: boolean;
position?: LatLng | undefined;
setPosition?: (position: LatLng) => void;
position?: [number, number] | undefined;
setPosition?: (position: [number, number]) => void;
orders?: PublicOrder[];
onOrderClicked?: (id: number) => void;
zoom?: number;
center: [number, number];
center?: [number, number];
interactive?: boolean;
}
const Map = ({
@ -27,7 +28,8 @@ const Map = ({
setPosition = () => {},
useTiles = false,
onOrderClicked = () => null,
center,
center = [0, 0],
interactive = false,
}: Props): JSX.Element => {
const theme = useTheme();
const { baseUrl } = useContext<UseAppStoreType>(AppContext);
@ -44,7 +46,9 @@ const Map = ({
const LocationMarker = () => {
useMapEvents({
click(event: LeafletMouseEvent) {
setPosition(event.latlng);
if (interactive) {
setPosition([event.latlng.lat, event.latlng.lng]);
}
},
});

View File

@ -40,7 +40,6 @@ import { type Order, type Info } from '../../models';
import { statusBadgeColor, pn, amountToString, computeSats } from '../../utils';
import TakeButton from './TakeButton';
import { F2fMapDialog } from '../Dialogs';
import { LatLng } from 'leaflet';
interface OrderDetailsProps {
order: Order;
@ -369,13 +368,9 @@ const OrderDetails = ({
<ListItemIcon>
<Tooltip enterTouchDelay={0} title={t('F2F location')}>
<div>
<Button
color='primary'
variant='contained'
onClick={() => setOpenWorldmap(true)}
>
<IconButton onClick={() => setOpenWorldmap(true)}>
<Map />
</Button>
</IconButton>
</div>
</Tooltip>
</ListItemIcon>

View File

@ -156,7 +156,7 @@
"yes": "si",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activar mode lent (utilitza'l quan la connexió sigui lenta)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Tornar",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Tancar",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Longitud passos Dipòsit/Factura",
"Exact": "Exacte",
"Exact Amount": "Quantitat Exacte",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Mètode(s) de Pagament Fiat",
"Fidelity Bond Size": "Grandària de la fiança",
"In or Out of Lightning?": "Introduir o Treure de Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verifica la teva privacitat",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...esperant",
"Activate slow mode (use it when the connection is slow)": "Activar mode lent (utilitza'l quan la connexió sigui lenta)",
"Peer": "Ell",
"You": "Tu",
"connected": "connectat",

View File

@ -156,7 +156,7 @@
"yes": "ano",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Jít zpět",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Zavřít",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Možnosti fiat plateb",
"Fidelity Bond Size": "Velikost kauce",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Ověř svou ochranu soukromí",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Protistrana",
"You": "Ty",
"connected": "připojen",

View File

@ -156,7 +156,7 @@
"yes": "yes",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Zurück",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Schließen",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Fiat Zahlungsmethode(n)",
"Fidelity Bond Size": "Höhe der Kaution",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Überprüfe deine Privatsphäre",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Partner",
"You": "Du",
"connected": "verbunden",

View File

@ -156,7 +156,7 @@
"yes": "yes",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Go back",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Close",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Fiat Payment Method(s)",
"Fidelity Bond Size": "Fidelity Bond Size",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verify your privacy",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Peer",
"You": "You",
"connected": "connected",

View File

@ -156,7 +156,7 @@
"yes": "si",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activar modo lento (Úsalo cuando tu conexión sea inestable)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Volver",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Cerrar",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "Para proteger tu privacidad, tu selección será ligeramente modificada aleatoriamente sin perder precisión.",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exacto",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Método(s) de pago en fiat",
"Fidelity Bond Size": "Tamaño de la fianza",
"In or Out of Lightning?": "¿Hacia o desde Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verifica tu privacidad",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activar modo lento (Úsalo cuando tu conexión sea inestable)",
"Peer": "Él",
"You": "Tú",
"connected": "conectado",

View File

@ -156,7 +156,7 @@
"yes": "bai",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Joan atzera",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Itxi",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Fiat Ordainketa Modua(k)",
"Fidelity Bond Size": "Fidantzaren tamaina",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Zure pribatasuna egiaztatu",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Bera",
"You": "Zu",
"connected": "konektatuta",

View File

@ -156,7 +156,7 @@
"yes": "oui",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activer le mode lent (à utiliser lorsque la connexion est lente)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Retourner",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Fermer",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Longueur de l'étape de dépôt fiduciaire/facture",
"Exact": "Exact",
"Exact Amount": "Montant exact",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Mode(s) de paiement Fiat",
"Fidelity Bond Size": "Taille de la garantie de fidélité",
"In or Out of Lightning?": "Entrer ou sortir du Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Vérifier votre confidentialité",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...attente",
"Activate slow mode (use it when the connection is slow)": "Activer le mode lent (à utiliser lorsque la connexion est lente)",
"Peer": "Correspondant",
"You": "Vous",
"connected": "connecté",

View File

@ -156,7 +156,7 @@
"yes": "si",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Attiva slow mode (da utilizzare quando la connessione è lenta)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Indietro",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Chiudi",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Deposito/durata dello step della fattura",
"Exact": "Esatto",
"Exact Amount": "Importo esatto",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Metodo(i) di pagamento fiat",
"Fidelity Bond Size": "Ammontare della cauzione",
"In or Out of Lightning?": "Dentro o fuori da Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verifica la tua privacy",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...in attesa",
"Activate slow mode (use it when the connection is slow)": "Attiva slow mode (da utilizzare quando la connessione è lenta)",
"Peer": "Pari",
"You": "Tu",
"connected": "connesso",

View File

@ -156,7 +156,7 @@
"yes": "はい",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "スローモードを有効にする(接続が遅い場合に使用)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "戻る",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "閉じる",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "GitHub。 ",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "エスクロー/インボイスのステップ期間",
"Exact": "正確",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "支払い方法",
"Fidelity Bond Size": "信用担保金のサイズ",
"In or Out of Lightning?": "ライトニングに入れる?出す?",
@ -502,6 +504,7 @@
"Verify your privacy": "プライバシーを確認する",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...待機中",
"Activate slow mode (use it when the connection is slow)": "スローモードを有効にする(接続が遅い場合に使用)",
"Peer": "相手",
"You": "あなた",
"connected": "接続されました",

View File

@ -156,7 +156,7 @@
"yes": "yes",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Wróć",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Blisko",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Fiat Metoda/Metody płatności",
"Fidelity Bond Size": "Rozmiar obligacji wierności",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verify your privacy",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Par",
"You": "Ty",
"connected": "połączony",

View File

@ -156,7 +156,7 @@
"yes": "yes",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Voltar",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Fechar",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Forma(s) de Pagamento Fiat",
"Fidelity Bond Size": "Tamanho do título de fidelidade",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verifique sua privacidade",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Par",
"You": "Você",
"connected": "conectado",

View File

@ -156,7 +156,7 @@
"yes": "да",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Вернуться",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Закрыть",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "Для защиты Вашей конфиденциальности выбранное местоположение будет слегка изменено случайным образом без потери точности",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Способ(ы) оплаты",
"Fidelity Bond Size": "Размер залога",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Проверьте свою конфиденциальность",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Партнёр",
"You": "Вы",
"connected": "подключен",

View File

@ -156,7 +156,7 @@
"yes": "yes",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Gå tillbaka",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Stäng",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Betalningmetod(er) med fiat",
"Fidelity Bond Size": "Storlek på fidelity bond",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Verifiera din integritet",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "Peer",
"You": "Du",
"connected": "ansluten",

View File

@ -156,7 +156,7 @@
"yes": "ndio",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Washa hali ya polepole (itumie wakati muunganisho ni polepole)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "Rudi nyuma",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "Funga",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Hatua ya muda wa Amana/bili",
"Exact": "Sahihi",
"Exact Amount": "Kiasi Sahihi",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "Njia za Malipo ya Fiat",
"Fidelity Bond Size": "Ukubwa wa Dhamana ya Uaminifu",
"In or Out of Lightning?": "Ndani au Nje ya Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "Thibitisha faragha yako",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...inayosubiri",
"Activate slow mode (use it when the connection is slow)": "Washa hali ya polepole (itumie wakati muunganisho ni polepole)",
"Peer": "Mwenza",
"You": "Wewe",
"connected": "imeunganishwa",

View File

@ -156,7 +156,7 @@
"yes": "ใช่",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "กลับ",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "ปิด",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub)",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "Escrow/invoice step length",
"Exact": "Exact",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "วิธีการชำระเงินเฟียต",
"Fidelity Bond Size": "วงเงินหลักประกันความเสียหาย (bond)",
"In or Out of Lightning?": "In or Out of Lightning?",
@ -502,6 +504,7 @@
"Verify your privacy": "ตรวจสอบความเป็นส่วนตัวของคุณ",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...waiting",
"Activate slow mode (use it when the connection is slow)": "Activate slow mode (use it when the connection is slow)",
"Peer": "คู่ค้า",
"You": "คุณ",
"connected": "เชื่อมต่อแล้ว",

View File

@ -156,7 +156,7 @@
"yes": "是",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "开启慢速模式(在连接缓慢时使用)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "返回",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "关闭",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "托管/发票步长",
"Exact": "确切",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "法币付款方法",
"Fidelity Bond Size": "保证金大小",
"In or Out of Lightning?": "换入还是换出闪电?",
@ -502,6 +504,7 @@
"Verify your privacy": "验证你的隐私",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...正在等待",
"Activate slow mode (use it when the connection is slow)": "开启慢速模式(在连接缓慢时使用)",
"Peer": "对等方",
"You": "你",
"connected": "在线",

View File

@ -156,7 +156,7 @@
"yes": "是",
"#16": "Phrases in components/Charts/DepthChart/index.tsx",
"#17": "Phrases in components/Charts/MapChart/index.tsx",
"Activate slow mode (use it when the connection is slow)": "開啟慢速模式(在連接緩慢時使用)",
"Show tiles": "Show tiles",
"#18": "Phrases in components/Charts/helpers/OrderTooltip/index.tsx",
"#19": "Phrases in components/Dialogs/AuditPGP.tsx",
"Go back": "返回",
@ -207,6 +207,7 @@
"#23": "Phrases in components/Dialogs/F2fMap.tsx",
"Close": "關閉",
"Save": "Save",
"To protect your privacy, your selection will be slightly randomized without losing accuracy": "To protect your privacy, your selection will be slightly randomized without losing accuracy",
"#24": "Phrases in components/Dialogs/Info.tsx",
"(GitHub).": "(GitHub).",
"(Telegram)": "(Telegram)",
@ -327,6 +328,7 @@
"Escrow/invoice step length": "託管/發票步長",
"Exact": "確切",
"Exact Amount": "Exact Amount",
"Face-to-face": "Face-to-face",
"Fiat Payment Method(s)": "法幣付款方法",
"Fidelity Bond Size": "保證金大小",
"In or Out of Lightning?": "換入還是換出閃電?",
@ -502,6 +504,7 @@
"Verify your privacy": "驗證你的隱私",
"#52": "Phrases in components/TradeBox/EncryptedChat/ChatHeader/index.tsx",
"...waiting": "...正在等待",
"Activate slow mode (use it when the connection is slow)": "開啟慢速模式(在連接緩慢時使用)",
"Peer": "對等方",
"You": "你",
"connected": "在線",