diff --git a/frontend/src/components/Dialogs/Profile.tsx b/frontend/src/components/Dialogs/Profile.tsx index 337d4ae0..3ba3f51f 100644 --- a/frontend/src/components/Dialogs/Profile.tsx +++ b/frontend/src/components/Dialogs/Profile.tsx @@ -31,6 +31,7 @@ import PasswordIcon from "@mui/icons-material/Password"; import ContentCopy from "@mui/icons-material/ContentCopy"; import PersonAddAltIcon from "@mui/icons-material/PersonAddAlt"; import EmojiEventsIcon from "@mui/icons-material/EmojiEvents"; +import { UserNinjaIcon, BitcoinIcon } from "../Icons"; import { getCookie } from "../../utils/cookies"; import { copyToClipboard } from "../../utils/clipboard"; @@ -210,29 +211,42 @@ const ProfileDialog = ({ - - - - handleSetStealthInvoice(!stealthInvoices) - } - /> - } - /> - - - + + + + - - + + + + handleSetStealthInvoice(!stealthInvoices) + } + /> + } + /> + + + + + + + + + + + + {t("Rewards and compensations")} + } control={ } /> - - + + {showRewards && ( <> diff --git a/frontend/src/components/Icons/UserNinja.tsx b/frontend/src/components/Icons/UserNinja.tsx new file mode 100644 index 00000000..f471c6f3 --- /dev/null +++ b/frontend/src/components/Icons/UserNinja.tsx @@ -0,0 +1,11 @@ +import React, { Component } from "react"; +import { SvgIcon } from "@mui/material" + +export default function UserNinjaIcon(props) { + return ( + + + + ); + } + diff --git a/frontend/src/components/Icons/index.ts b/frontend/src/components/Icons/index.ts index 1fc0a7f7..fddbae9b 100644 --- a/frontend/src/components/Icons/index.ts +++ b/frontend/src/components/Icons/index.ts @@ -13,6 +13,7 @@ export { default as SellSatsCheckedIcon } from "./SellSatsChecked"; export { default as SellSatsIcon } from "./SellSats"; export { default as SendReceiveIcon } from "./SendReceive"; export { default as ExportIcon } from "./Export"; +export { default as UserNinjaIcon } from "./UserNinja"; // Some Flags missing on react-flags export { default as BasqueCountryFlag } from "./BasqueCountryFlag"; diff --git a/frontend/static/locales/en.json b/frontend/static/locales/en.json index 30a06b80..395d9289 100644 --- a/frontend/static/locales/en.json +++ b/frontend/static/locales/en.json @@ -228,7 +228,7 @@ "RoboSats in Reddit":"RoboSats in Reddit", "Current onchain payout fee":"Current onchain payout fee", "Use stealth invoices":"Use stealth invoices", - "stealth_invoice_explaination":"Stealth invoices do not contain details about the trade except a payment reference. Enable this setting if you don't want to disclose details to a custodial lightning wallet.", + "Stealth lightning invoices do not contain details about the trade except an order reference. Enable this setting if you don't want to disclose details to a custodial lightning wallet.":"Stealth lightning invoices do not contain details about the trade except an order reference. Enable this setting if you don't want to disclose details to a custodial lightning wallet.", "ORDER PAGE - OrderPage.js": "Order details page", "Order Box":"Order Box", diff --git a/frontend/static/locales/es.json b/frontend/static/locales/es.json index ac7dfd79..9350ff8e 100644 --- a/frontend/static/locales/es.json +++ b/frontend/static/locales/es.json @@ -226,6 +226,8 @@ "Join RoboSats' Subreddit":"Únete al subreddit de RoboSats", "RoboSats in Reddit":"RoboSats en Reddit", "Current onchain payout fee":"Coste actual de recibir onchain", + "Use stealth invoices":"Facturas sigilosas", + "Stealth lightning invoices do not contain details about the trade except an order reference. Enable this setting if you don't want to disclose details to a custodial lightning wallet.":"Las facturas sigilosas no contienen información sobre tu orden excepto una referencia a la misma. Activalas para no desvelar información a tu proveedor de wallet custodial.", "ORDER PAGE - OrderPage.js": "Order details page",