Skip to content

Commit

Permalink
feat: update node_required copy
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Nov 11, 2024
1 parent d040114 commit b8b6301
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
12 changes: 9 additions & 3 deletions src/app/screens/Home/DefaultView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,17 @@ const DefaultView: FC<Props> = (props) => {
t={t}
components={[
// eslint-disable-next-line react/jsx-key
<a
className="underline"
<Hyperlink
href="https://getalby.com/onboarding/node/new"
target="_blank"
rel="noreferrer"
rel="noopener nofollow"
/>,

// eslint-disable-next-line react/jsx-key
<Hyperlink
href="https://guides.getalby.com/user-guide/alby-account-and-browser-extension/alby-account/faqs-alby-account/what-are-fee-credits-in-my-alby-account"
target="_blank"
rel="noopener nofollow"
/>,
]}
/>
Expand Down
13 changes: 10 additions & 3 deletions src/app/screens/Options/TestConnection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useEffect, useState } from "react";
import { Trans, useTranslation } from "react-i18next";
import { useNavigate } from "react-router-dom";
import Alert from "~/app/components/Alert";
import Hyperlink from "~/app/components/Hyperlink";
import { useAccount } from "~/app/context/AccountContext";
import { useAccounts } from "~/app/context/AccountsContext";
import { useSettings } from "~/app/context/SettingsContext";
Expand Down Expand Up @@ -130,11 +131,17 @@ export default function TestConnection() {
t={t}
components={[
// eslint-disable-next-line react/jsx-key
<a
className="underline"
<Hyperlink
href="https://getalby.com/onboarding/node/new"
target="_blank"
rel="noreferrer"
rel="noopener nofollow"
/>,

// eslint-disable-next-line react/jsx-key
<Hyperlink
href="https://guides.getalby.com/user-guide/alby-account-and-browser-extension/alby-account/faqs-alby-account/what-are-fee-credits-in-my-alby-account"
target="_blank"
rel="noopener nofollow"
/>,
]}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
"description": "Fund your account and receive via your lightning address or an invoice"
}
},
"node_required": "Your Alby Account does not have a wallet configured. To be able to send and receive payments finish the wallet configuration for your <0>Alby account</0>.",
"node_required": "Complete your wallet setup to start sending and receiving unlimited payments <0>here</0>.Until setup is complete, you can receive up to 50k sats as <1>fee credits</1> only.",
"upgrade_account": "You are using the old LNDHub setup. <0>Please re-connect</0> your Alby account to get access to the latest features."
}
},
Expand Down

0 comments on commit b8b6301

Please sign in to comment.