Skip to content

Commit

Permalink
chore: add missing strings
Browse files Browse the repository at this point in the history
  • Loading branch information
kilrau authored and michael1011 committed Nov 21, 2024
1 parent 207b3ca commit 4e6c15f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/components/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -102,7 +101,6 @@ const Modal = (props: {
<hr />

<div class="no-browser-wallet">
<Warning />
<h3>{t("no_browser_wallet")}</h3>
</div>
<hr class="spacer" />
Expand Down
4 changes: 4 additions & 0 deletions src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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: "中文",
Expand Down Expand Up @@ -886,6 +888,7 @@ const dict = {
wallet_connect_failed: "钱包连接失败:{{ error }}",
ledger_open_app_prompt: "打开以太坊或 RSK 应用",
copy_preimage: "复制预图像",
no_browser_wallet: "未检测到浏览器钱包",
},
ja: {
language: "日本語",
Expand Down Expand Up @@ -1113,6 +1116,7 @@ const dict = {
wallet_connect_failed: "ウォレット接続の失敗: {{ error }}",
ledger_open_app_prompt: "イーサリアムもしくはRSKのアプリを開く",
copy_preimage: "コピー前画像",
no_browser_wallet: "ブラウザのウォレットが検出されない",
},
};

Expand Down
6 changes: 1 addition & 5 deletions src/style/web3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,5 @@
}

.no-browser-wallet {
display: flex;
justify-content: center;
align-items: center;

gap: 1rem;
margin: 1rem;
}

0 comments on commit 4e6c15f

Please sign in to comment.