mirror of
https://github.com/RoboSats/robosats.git
synced 2025-09-13 00:56:22 +00:00
Robot garage buttons
This commit is contained in:
@ -41,7 +41,8 @@ const RobotProfile = ({
|
||||
setView,
|
||||
width,
|
||||
}: RobotProfileProps): React.JSX.Element => {
|
||||
const { windowSize, setOpen, open, navigateToPage } = useContext<UseAppStoreType>(AppContext);
|
||||
const { windowSize, setOpen, open, navigateToPage, client } =
|
||||
useContext<UseAppStoreType>(AppContext);
|
||||
const { garage, slotUpdatedAt } = useContext<UseGarageStoreType>(GarageContext);
|
||||
const { federation } = useContext<UseFederationStoreType>(FederationContext);
|
||||
|
||||
@ -261,7 +262,20 @@ const RobotProfile = ({
|
||||
>
|
||||
<Grid container direction='column' alignItems='center' spacing={2} padding={2}>
|
||||
<Grid item sx={{ width: '100%' }}>
|
||||
<Grid container direction='row' justifyContent='space-between'>
|
||||
<Typography variant='caption'>{t('Robot Garage')}</Typography>
|
||||
{client !== 'mobile' && (
|
||||
<Button
|
||||
size='small'
|
||||
color='primary'
|
||||
onClick={() => {
|
||||
garage.download();
|
||||
}}
|
||||
>
|
||||
<Download style={{ width: '0.6em', height: '0.6em' }} />
|
||||
</Button>
|
||||
)}
|
||||
</Grid>
|
||||
<Select
|
||||
error={!slot?.activeOrder?.id && Boolean(slot?.lastOrder?.id)}
|
||||
fullWidth
|
||||
@ -310,7 +324,7 @@ const RobotProfile = ({
|
||||
</Select>
|
||||
</Grid>
|
||||
|
||||
<Grid item container direction='row' alignItems='center' justifyContent='space-evenly'>
|
||||
<Grid item container direction='row' justifyContent='space-between' width='100%'>
|
||||
<Grid item>
|
||||
<LoadingButton
|
||||
loading={loading}
|
||||
@ -322,28 +336,6 @@ const RobotProfile = ({
|
||||
{!mobileView && t('Add Robot')}
|
||||
</LoadingButton>
|
||||
</Grid>
|
||||
|
||||
{!mobileView ? (
|
||||
<Grid item>
|
||||
<Button
|
||||
size='large'
|
||||
color='primary'
|
||||
onClick={() => {
|
||||
garage.download();
|
||||
}}
|
||||
>
|
||||
<Download />
|
||||
</Button>
|
||||
</Grid>
|
||||
) : null}
|
||||
|
||||
<Grid item>
|
||||
<Button color='primary' onClick={handleDeleteRobot} size='large'>
|
||||
<DeleteSweep />
|
||||
{!mobileView && t('Delete Robot')}
|
||||
</Button>
|
||||
</Grid>
|
||||
|
||||
<Grid item>
|
||||
<Button
|
||||
color='primary'
|
||||
@ -355,7 +347,12 @@ const RobotProfile = ({
|
||||
}}
|
||||
>
|
||||
<Key />
|
||||
{!mobileView && t('Recovery')}
|
||||
</Button>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
<Button color='primary' onClick={handleDeleteRobot} size='large'>
|
||||
<DeleteSweep />
|
||||
{!mobileView && t('Delete Robot')}
|
||||
</Button>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Última ordre #{{orderID}}",
|
||||
"Looking for orders!": "Buscant ordres!",
|
||||
"No existing orders found": "No s'han trobat ordres",
|
||||
"Recovery": "Recuperació",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "La reutilització de la identitat de trading degrada la teva privadesa davant d'altres usuaris, coordinadors i observadors.",
|
||||
"Robot Garage": "Garatge de Robots",
|
||||
"Store your token safely": "Guarda el teu token de manera segura",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Crear un nou robot i aprendre a fer servir RoboSats",
|
||||
"Fast Generate Order": "Fast Generate Order",
|
||||
"Recover an existing robot using your token": "Recuperar un robot existent utilitzant el teu token",
|
||||
"Recovery": "Recuperació",
|
||||
"Start": "Començar",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Connectant a Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Poslední objednávka #{{orderID}}",
|
||||
"Looking for orders!": "Hledání objednávek!",
|
||||
"No existing orders found": "Nebyly nalezeny žádné existující objednávky",
|
||||
"Recovery": "Obnova",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Opětovné použití obchodní identity snižuje vaše soukromí vůči ostatním uživatelům, koordinátorům a pozorovatelům.",
|
||||
"Robot Garage": "Garáž robotů",
|
||||
"Store your token safely": "Uložte si svůj token bezpečně",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Vytvořte nového robota a naučte se používat RoboSats",
|
||||
"Fast Generate Order": "Rychlé vytvoření objednávky",
|
||||
"Recover an existing robot using your token": "Obnovte existujícího robota pomocí svého tokenu",
|
||||
"Recovery": "Obnova",
|
||||
"Start": "Start",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Připojení k Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Letzte Bestellung #{{orderID}}",
|
||||
"Looking for orders!": "Suche nach Bestellungen!",
|
||||
"No existing orders found": "Keine bestehenden Bestellungen gefunden",
|
||||
"Recovery": "Wiederherstellung",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Das Wiederverwenden deiner Handelsidentität verringert deine Privatsphäre gegenüber anderen Benutzern, Koordinatoren und Beobachtern.",
|
||||
"Robot Garage": "Roboter-Garage",
|
||||
"Store your token safely": "Verwahre dein Token sicher",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Erstelle einen neuen Roboter und lerne RoboSats zu benutzen",
|
||||
"Fast Generate Order": "Schnelle Auftragserstellung",
|
||||
"Recover an existing robot using your token": "Stelle einen bestehenden Roboter mit deinem Token wieder her",
|
||||
"Recovery": "Wiederherstellung",
|
||||
"Start": "Start",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Verbinden mit Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Last order #{{orderID}}",
|
||||
"Looking for orders!": "Looking for orders!",
|
||||
"No existing orders found": "No existing orders found",
|
||||
"Recovery": "Recovery",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Reusing trading identity degrades your privacy against other users, coordinators and observers.",
|
||||
"Robot Garage": "Robot Garage",
|
||||
"Store your token safely": "Store your token safely",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Create a new robot and learn to use RoboSats",
|
||||
"Fast Generate Order": "Fast Generate Order",
|
||||
"Recover an existing robot using your token": "Recover an existing robot using your token",
|
||||
"Recovery": "Recovery",
|
||||
"Start": "Start",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Connecting to Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Última orden #{{orderID}}",
|
||||
"Looking for orders!": "Buscando órdenes!",
|
||||
"No existing orders found": "No se encontraron órdenes existentes",
|
||||
"Recovery": "Recuperar",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Reusing trading identity degrades your privacy against other users, coordinators and observers.",
|
||||
"Robot Garage": "Garaje de robots",
|
||||
"Store your token safely": "Guarda tu token de forma segura",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Crea un nuevo robot y aprende a usar RoboSats",
|
||||
"Fast Generate Order": "Genera una Orden al instante",
|
||||
"Recover an existing robot using your token": "Recupera un robot existente usando tu token",
|
||||
"Recovery": "Recuperar",
|
||||
"Start": "Empezar",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Conectando con Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Azken eskaera #{{orderID}}",
|
||||
"Looking for orders!": "Eskaerak bilatzen!",
|
||||
"No existing orders found": "Ez dauden eskaerarik aurkitu",
|
||||
"Recovery": "Berreskuratzea",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Truke nortasuna berriro erabiltzeak pribatutasuna kaltetzen du beste erabiltzaile, koordinatzaile eta behatzaileei dagokienez.",
|
||||
"Robot Garage": "Robot Garajea",
|
||||
"Store your token safely": "Gorde zure tokena era seguru batean",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Sortu robot berria eta ikasi RoboSats erabiltzen",
|
||||
"Fast Generate Order": "Sortu Eskaera Azkar",
|
||||
"Recover an existing robot using your token": "Berreskuratu dauden robota zure tokenaren bidez",
|
||||
"Recovery": "Berreskuratzea",
|
||||
"Start": "Hasi",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Torera konektatzen",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Dernier ordre #{{orderID}}",
|
||||
"Looking for orders!": "Recherche de commandes !",
|
||||
"No existing orders found": "Aucune commande existante trouvée",
|
||||
"Recovery": "Récupération",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "La réutilisation de l'identité d'échange dégrade votre vie privée par rapport aux autres utilisateurs, coordinateurs et observateurs.",
|
||||
"Robot Garage": "Garage des robots",
|
||||
"Store your token safely": "Stockez votre jeton en sécurité",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Créer un nouveau robot et apprendre à utiliser RoboSats",
|
||||
"Fast Generate Order": "Générer une commande rapidement",
|
||||
"Recover an existing robot using your token": "Récupérer un robot existant à l'aide de votre jeton",
|
||||
"Recovery": "Récupération",
|
||||
"Start": "Commencer",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Connexion au réseau Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Ultimo ordine #{{orderID}}",
|
||||
"Looking for orders!": "Alla ricerca di ordini!",
|
||||
"No existing orders found": "Nessun ordine esistente trovato",
|
||||
"Recovery": "Recupero",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Il riutilizzo di identità per gli scambi riduce la privacy rispetto ad altri utenti, coordinatori e osservatori.",
|
||||
"Robot Garage": "Garage del robot",
|
||||
"Store your token safely": "Custodisci il tuo token in modo sicuro",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Crea un nuovo robot e impara ad utilizzare RoboSats",
|
||||
"Fast Generate Order": "Genera ordine rapido",
|
||||
"Recover an existing robot using your token": "Recupera un robot esistente con il tuo token",
|
||||
"Recovery": "Recupero",
|
||||
"Start": "Inizia",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Connessione a Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "直前の注文 #{{orderID}}",
|
||||
"Looking for orders!": "注文を探しています!",
|
||||
"No existing orders found": "既存の注文は見つかりません",
|
||||
"Recovery": "復元",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "同一の身元を再利用することは、他のユーザー、管理者、観察者に対してプライバシーを弱める可能性があります。",
|
||||
"Robot Garage": "ロボットガレージ",
|
||||
"Store your token safely": "安全にトークンを保存してください。",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "新しいロボットを構築して、RoboSatsの使い方を学びます",
|
||||
"Fast Generate Order": "注文をすばやく生成",
|
||||
"Recover an existing robot using your token": "トークンを使用して既存のロボットを復元します",
|
||||
"Recovery": "復元",
|
||||
"Start": "開始",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Torネットワークに接続中",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Ostatnie zamówienie #{{orderID}}",
|
||||
"Looking for orders!": "Szukam zamówień!",
|
||||
"No existing orders found": "Nie znaleziono istniejących zamówień",
|
||||
"Recovery": "Odzyskiwanie",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Ponowne użycie tożsamości handlowej pogarsza twoją prywatność w stosunku do innych użytkowników, koordynatorów i obserwatorów.",
|
||||
"Robot Garage": "Garaż robota",
|
||||
"Store your token safely": "Przechowuj swój token bezpiecznie",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Utwórz nowego robota i naucz się używać RoboSats",
|
||||
"Fast Generate Order": "Szybkie generowanie zamówień",
|
||||
"Recover an existing robot using your token": "Odzyskaj istniejącego robota za pomocą swojego tokenu",
|
||||
"Recovery": "Odzyskiwanie",
|
||||
"Start": "Start",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Łączenie z Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Última ordem #{{orderID}}",
|
||||
"Looking for orders!": "Procurando por ordens!",
|
||||
"No existing orders found": "Nenhuma ordem existente encontrada",
|
||||
"Recovery": "Recuperação",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Reutilizar a identidade de negociação degrada sua privacidade contra outros usuários, coordenadores e observadores.",
|
||||
"Robot Garage": "Garagem de Robôs",
|
||||
"Store your token safely": "Guarde seu token de forma segura",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Crie um novo robô e aprenda a usar o RoboSats",
|
||||
"Fast Generate Order": "Gerar Pedido Rápido",
|
||||
"Recover an existing robot using your token": "Recupere um robô existente usando seu token",
|
||||
"Recovery": "Recuperação",
|
||||
"Start": "Iniciar",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Conectando ao Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Последний ордер #{{orderID}}",
|
||||
"Looking for orders!": "В поисках ордеров!",
|
||||
"No existing orders found": "Существующие заказы не найдены",
|
||||
"Recovery": "Восстановление",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Повторное использование торговых данных ухудшает вашу конфиденциальность по отношению к другим пользователям, координаторам и наблюдателям.",
|
||||
"Robot Garage": "Гараж роботов",
|
||||
"Store your token safely": "Храните Ваш токен в безопасности",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Создайте нового робота и научитесь использовать RoboSats",
|
||||
"Fast Generate Order": "Быстрое создание ордера",
|
||||
"Recover an existing robot using your token": "Восстановить существующего робота с помощью вашего токена",
|
||||
"Recovery": "Восстановление",
|
||||
"Start": "Старт",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Подключение к Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Senaste order #{{orderID}}",
|
||||
"Looking for orders!": "Letar efter ordrar!",
|
||||
"No existing orders found": "Inga befintliga ordrar hittades",
|
||||
"Recovery": "Återställning",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Återanvändning av handelsidentitet försämrar din integritet gentemot andra användare, samordnare och observatörer.",
|
||||
"Robot Garage": "Robotgarage",
|
||||
"Store your token safely": "Förvara din token säkert",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Skapa en ny robot och lär dig använda RoboSats",
|
||||
"Fast Generate Order": "Snabbgenerera order",
|
||||
"Recover an existing robot using your token": "Återställ en befintlig robot med din token",
|
||||
"Recovery": "Återställning",
|
||||
"Start": "Starta",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Ansluter till Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "Amri ya mwisho #{{orderID}}",
|
||||
"Looking for orders!": "Inatafuta amri!",
|
||||
"No existing orders found": "Hakuna amri zilizopo zilizopatikana",
|
||||
"Recovery": "Kurejesha",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "Kutumia tena utambulisho wa biashara hupunguza faragha yako dhidi ya watumiaji wengine, waongozaji na waangalizi.",
|
||||
"Robot Garage": "Ghala la Roboti",
|
||||
"Store your token safely": "Hifadhi alama yako kwa usalama",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "Unda roboti mpya na ujifunze kutumia RoboSats",
|
||||
"Fast Generate Order": "Kuunda Agizo kwa Haraka",
|
||||
"Recover an existing robot using your token": "Rejesha roboti iliyopo kwa kutumia alama yako",
|
||||
"Recovery": "Kurejesha",
|
||||
"Start": "Anza",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "Kuunganisha kwa Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "คำสั่งล่าสุด #{{orderID}}",
|
||||
"Looking for orders!": "กำลังมองหาคำสั่งซื้อ!",
|
||||
"No existing orders found": "ไม่พบคำสั่งซื้อที่มีอยู่",
|
||||
"Recovery": "การกู้คืน",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "การใช้ตัวตนการซื้อขายซ้ำจะลดความเป็นส่วนตัวของคุณต่อผู้ใช้คนอื่น ผู้ประสานงานและผู้สังเกตการณ์",
|
||||
"Robot Garage": "โรงรถหุ่นยนต์",
|
||||
"Store your token safely": "รักษาโทเค็นของคุณให้ปลอดภัย",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "สร้างหุ่นยนต์ใหม่และเรียนรู้การใช้ RoboSats",
|
||||
"Fast Generate Order": "สร้างคำสั่งซื้ออย่างรวดเร็ว",
|
||||
"Recover an existing robot using your token": "กู้คืนหุ่นยนต์ที่มีอยู่โดยใช้โทเค็นของคุณ",
|
||||
"Recovery": "การกู้คืน",
|
||||
"Start": "เริ่ม",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "กำลังเชื่อมต่อกับ Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "上一张订单 #{{orderID}}",
|
||||
"Looking for orders!": "查找订单!",
|
||||
"No existing orders found": "未发现现有订单",
|
||||
"Recovery": "恢复",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "重复使用交易身份会降低您相对其他用户、协调员和观察者的隐私。",
|
||||
"Robot Garage": "机器人车库",
|
||||
"Store your token safely": "安全地存储您的令牌",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "创建一个新的机器人并学习如何使用 RoboSats",
|
||||
"Fast Generate Order": "快速生成订单",
|
||||
"Recover an existing robot using your token": "用您的令牌恢复现有的机器人",
|
||||
"Recovery": "恢复",
|
||||
"Start": "开始",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "正在连接 Tor",
|
||||
|
@ -56,7 +56,6 @@
|
||||
"Last order #{{orderID}}": "上一張訂單 #{{orderID}}",
|
||||
"Looking for orders!": "找尋訂單!",
|
||||
"No existing orders found": "未找到現有訂單",
|
||||
"Recovery": "恢復",
|
||||
"Reusing trading identity degrades your privacy against other users, coordinators and observers.": "重複使用交易身份會降低你的對其他用戶、協調器和觀察者的隱私。",
|
||||
"Robot Garage": "機器人倉庫",
|
||||
"Store your token safely": "請安全地存儲你的領牌",
|
||||
@ -69,6 +68,7 @@
|
||||
"Create a new robot and learn to use RoboSats": "創建一個新的機器人並學習如何使用 RoboSats",
|
||||
"Fast Generate Order": "快速生成訂單",
|
||||
"Recover an existing robot using your token": "用你的領牌恢復現有的機器人",
|
||||
"Recovery": "恢復",
|
||||
"Start": "開始",
|
||||
"#12": "Phrases in basic/RobotPage/index.tsx",
|
||||
"Connecting to Tor": "正在連線 Tor",
|
||||
|
Reference in New Issue
Block a user