From fab98289de857a632cb26c23636d2b7cded7f08e Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Mon, 21 Aug 2023 14:41:06 -0500 Subject: [PATCH] Add translactions for nwc app links --- src/i18n/en/translations.ts | 3 +++ src/i18n/ko/translations.ts | 3 +++ src/routes/settings/Connections.tsx | 15 ++++++++++----- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/i18n/en/translations.ts b/src/i18n/en/translations.ts index 38e21ac..73d068e 100644 --- a/src/i18n/en/translations.ts +++ b/src/i18n/en/translations.ts @@ -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.", diff --git a/src/i18n/ko/translations.ts b/src/i18n/ko/translations.ts index b925a47..a46a52a 100644 --- a/src/i18n/ko/translations.ts +++ b/src/i18n/ko/translations.ts @@ -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: { diff --git a/src/routes/settings/Connections.tsx b/src/routes/settings/Connections.tsx index 2319d68..250d37e 100644 --- a/src/routes/settings/Connections.tsx +++ b/src/routes/settings/Connections.tsx @@ -168,7 +168,9 @@ function Nwc() { openInNostrClient(profile.nwc_uri) } > - Open in Nostr Client + {i18n.t( + "settings.connections.open_in_nostr_client" + )} + );