Add translactions for nwc app links

This commit is contained in:
Tony Giorgio
2023-08-21 14:41:06 -05:00
committed by Tony Giorgio
parent 61efae8e57
commit fab98289de
3 changed files with 16 additions and 5 deletions

View File

@@ -263,6 +263,9 @@ export default {
new_connection_label: "Name",
new_connection_placeholder: "My favorite nostr client...",
create_connection: "Create Connection",
open_app: "Open App",
open_in_nostr_client: "Open in Nostr Client",
open_in_primal: "Open in Primal",
relay: "Relay",
authorize:
"Authorize external services to request payments from your wallet. Pairs great with Nostr clients.",

View File

@@ -253,6 +253,9 @@ export default {
new_connection_label: "이름",
new_connection_placeholder: "내가 좋아하는 nostr 클라이언트...",
create_connection: "연결 생성",
open_app: "Open App",
open_in_nostr_client: "Open in Nostr Client",
open_in_primal: "Open in Primal",
authorize:
"외부 서비스가 지갑에서 결제를 요청할 수 있도록 인증합니다. nostr 클라이언트와 잘 맞습니다.",
pending_nwc: {

View File

@@ -168,7 +168,9 @@ function Nwc() {
openInNostrClient(profile.nwc_uri)
}
>
Open in Nostr Client
{i18n.t(
"settings.connections.open_in_nostr_client"
)}
</Button>
<Button
@@ -177,7 +179,9 @@ function Nwc() {
openInPrimal(profile.nwc_uri)
}
>
Open in Primal
{i18n.t(
"settings.connections.open_in_primal"
)}
</Button>
<Button
@@ -235,10 +239,11 @@ function Nwc() {
<SimpleDialog
open={callbackDialogOpen()}
setOpen={setCallbackDialogOpen}
title={"Open in App"}
title={i18n.t("settings.connections.open_app")}
>
<p>Click the button below to open in the app.</p>
<Button onClick={openCallbackUri}>Open in App</Button>
<Button onClick={openCallbackUri}>
{i18n.t("settings.connections.open_app")}
</Button>
</SimpleDialog>
</VStack>
);