diff --git a/src/components/ConnectWallet.tsx b/src/components/ConnectWallet.tsx index 5ba25987..94d124e1 100644 --- a/src/components/ConnectWallet.tsx +++ b/src/components/ConnectWallet.tsx @@ -18,7 +18,6 @@ import "../style/web3.scss"; import { formatError } from "../utils/errors"; import { cropString, isMobile } from "../utils/helper"; import HardwareDerivationPaths, { connect } from "./HardwareDerivationPaths"; -import Warning from "./Warning"; const Modal = (props: { derivationPath: string; @@ -102,7 +101,6 @@ const Modal = (props: {
-

{t("no_browser_wallet")}


diff --git a/src/i18n/i18n.ts b/src/i18n/i18n.ts index e802d0a7..86a3228d 100644 --- a/src/i18n/i18n.ts +++ b/src/i18n/i18n.ts @@ -453,6 +453,7 @@ const dict = { "Verbindung zu Wallet fehlgeschlagen: {{ error }}", ledger_open_app_prompt: "Ethereum oder RSK app öffnen", copy_preimage: "Preimage Kopieren", + no_browser_wallet: "Kein Browser Wallet gefunden", }, es: { language: "Español", @@ -683,6 +684,7 @@ const dict = { wallet_connect_failed: "Fallo en la conexión del monedero: {{ error }}", ledger_open_app_prompt: "Abrir aplicación Ethereum o RSK", copy_preimage: "Copiar preimagen", + no_browser_wallet: "No se detectó monedero en el navegador", }, zh: { language: "中文", @@ -886,6 +888,7 @@ const dict = { wallet_connect_failed: "钱包连接失败:{{ error }}", ledger_open_app_prompt: "打开以太坊或 RSK 应用", copy_preimage: "复制预图像", + no_browser_wallet: "未检测到浏览器钱包", }, ja: { language: "日本語", @@ -1113,6 +1116,7 @@ const dict = { wallet_connect_failed: "ウォレット接続の失敗: {{ error }}", ledger_open_app_prompt: "イーサリアムもしくはRSKのアプリを開く", copy_preimage: "コピー前画像", + no_browser_wallet: "ブラウザのウォレットが検出されない", }, }; diff --git a/src/style/web3.scss b/src/style/web3.scss index 753ce51a..1a13090d 100644 --- a/src/style/web3.scss +++ b/src/style/web3.scss @@ -35,9 +35,5 @@ } .no-browser-wallet { - display: flex; - justify-content: center; - align-items: center; - - gap: 1rem; + margin: 1rem; }