Skip to content

Commit 03a83ee

Browse files
fix: text displayed with tags #1597
1 parent e763cdd commit 03a83ee

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/app/screens/Settings.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,12 @@ function Settings() {
343343
>
344344
{t("lnurl_auth.title")}
345345
</a>{" "}
346-
{t("lnurl_auth.hint")}
346+
<Trans
347+
i18nKey={"lnurl_auth.hint"}
348+
t={t}
349+
// eslint-disable-next-line react/jsx-key
350+
components={[<strong></strong>]}
351+
/>
347352
</p>
348353

349354
<div className="shadow bg-white sm:rounded-md sm:overflow-hidden px-6 py-2 divide-y divide-black/10 dark:divide-white/10 dark:bg-surface-02dp">

src/i18n/locales/en/translation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@
371371
},
372372
"lnurl_auth": {
373373
"title": "LNURL-Auth",
374-
"hint": "is a generic authentication protocol. It authenticates the user using digital signatures. The protocol does not require any other identifying information such as passwords, emails, usernames, or similar. With Alby you can use your lightning accounts to securely login to websites. <br /> To be compatible with other wallets we had to make a few changes that you can configure here. <br /> <strong>Ideally all those options are OFF.</strong> Use them only if you have old accounts.",
374+
"hint": "is a generic authentication protocol. It authenticates the user using digital signatures. The protocol does not require any other identifying information such as passwords, emails, usernames, or similar. With Alby you can use your lightning accounts to securely login to websites. To be compatible with other wallets we had to make a few changes that you can configure here. <0>Ideally all those options are OFF.</0> Use them only if you have old accounts.",
375375
"legacy_lnurl_auth_202207": {
376376
"title": "Legacy LNURL-Auth",
377377
"subtitle": "The key generation for LNURL-auth has changed (July 2022). Alby was not compatible with other implementations. This was changed, but now different login keys are used. If you used LNURL-auth to login before you can still enable the old method. This option will be removed later, make sure to switch to the new login."

0 commit comments

Comments
 (0)