Replace "Snort" with {site} in formatted messages
This commit is contained in:
parent
a47e44d492
commit
c3ab453022
@ -142,7 +142,9 @@ export function LoginUnlock() {
|
||||
<PinPrompt
|
||||
subTitle={
|
||||
<p>
|
||||
<FormattedMessage defaultMessage="Enter a pin to encrypt your private key, you must enter this pin every time you open Snort." />
|
||||
<FormattedMessage defaultMessage="Enter a pin to encrypt your private key, you must enter this pin every time you open {site}." values={{
|
||||
site: process.env.APP_NAME_CAPITALIZED
|
||||
}} />
|
||||
</p>
|
||||
}
|
||||
onResult={encryptMigration}
|
||||
|
@ -92,10 +92,10 @@ const DonatePage = () => {
|
||||
return (
|
||||
<div className="main-content p">
|
||||
<h2>
|
||||
<FormattedMessage defaultMessage="Help fund the development of Snort" />
|
||||
<FormattedMessage defaultMessage="Help fund the development of {site}" values={{ site: process.env.APP_NAME_CAPITALIZED }} />
|
||||
</h2>
|
||||
<p>
|
||||
<FormattedMessage defaultMessage="Snort is an open source project built by passionate people in their free time" />
|
||||
<FormattedMessage defaultMessage="{site} is an open source project built by passionate people in their free time" values={{ site: process.env.APP_NAME_CAPITALIZED }} />
|
||||
</p>
|
||||
<p>
|
||||
<FormattedMessage defaultMessage="Your donations are greatly appreciated" />
|
||||
|
@ -139,7 +139,7 @@ export default function LoginPage() {
|
||||
|
||||
function generateNip46() {
|
||||
const meta = {
|
||||
name: "Snort",
|
||||
name: process.env.APP_NAME_CAPITALIZED,
|
||||
url: window.location.href,
|
||||
};
|
||||
|
||||
|
@ -12,15 +12,22 @@ export default defineMessages({
|
||||
YourPrivkey: { defaultMessage: "Your private key" },
|
||||
YourMnemonic: { defaultMessage: "Your mnemonic phrase" },
|
||||
KeysSaved: { defaultMessage: "I have saved my keys, continue" },
|
||||
WhatIsSnort: { defaultMessage: "What is Snort and how does it work?" },
|
||||
WhatIsSnort: {
|
||||
defaultMessage: "What is {site} and how does it work?",
|
||||
values: { site: process.env.APP_NAME_CAPITALIZED },
|
||||
},
|
||||
WhatIsSnortIntro: {
|
||||
defaultMessage: `Snort is a Nostr UI, nostr is a decentralised protocol for saving and distributing "notes".`,
|
||||
defaultMessage: `{site} is a Nostr UI, nostr is a decentralised protocol for saving and distributing "notes".`,
|
||||
values: { site: process.env.APP_NAME_CAPITALIZED },
|
||||
},
|
||||
WhatIsSnortNotes: {
|
||||
defaultMessage: `Notes hold text content, the most popular usage of these notes is to store "tweet like" messages.`,
|
||||
},
|
||||
|
||||
WhatIsSnortExperience: { defaultMessage: "Snort is designed to have a similar experience to Twitter." },
|
||||
WhatIsSnortExperience: {
|
||||
defaultMessage: "{site} is designed to have a similar experience to Twitter.",
|
||||
values: { site: process.env.APP_NAME_CAPITALIZED },
|
||||
},
|
||||
HowKeysWork: { defaultMessage: "How do keys work?" },
|
||||
DigitalSignatures: {
|
||||
defaultMessage: `Nostr uses digital signature technology to provide tamper proof notes which can safely be replicated to many relays to provide redundant storage of your content.`,
|
||||
@ -62,9 +69,10 @@ export default defineMessages({
|
||||
Funding: { defaultMessage: "Fund developers and platforms providing NIP-05 verification services" },
|
||||
NameSquatting: {
|
||||
defaultMessage:
|
||||
"Name-squatting and impersonation is not allowed. Snort and our partners reserve the right to terminate your handle (not your account - nobody can take that away) for violating this rule.",
|
||||
"Name-squatting and impersonation is not allowed. {site} and our partners reserve the right to terminate your handle (not your account - nobody can take that away) for violating this rule.",
|
||||
values: { site: process.env.APP_NAME_CAPITALIZED },
|
||||
},
|
||||
PreviewOnSnort: { defaultMessage: "Preview on snort" },
|
||||
PreviewOnSnort: { defaultMessage: "Preview on {site}", values: { site: process.env.APP_NAME_CAPITALIZED } },
|
||||
GetSnortId: { defaultMessage: "Get a Snort identifier" },
|
||||
GetSnortIdHelp: {
|
||||
defaultMessage:
|
||||
|
@ -13,7 +13,7 @@ export class DonateTask extends BaseUITask {
|
||||
return (
|
||||
<>
|
||||
<p>
|
||||
<FormattedMessage defaultMessage="Thanks for using Snort, please consider donating if you can." />
|
||||
<FormattedMessage defaultMessage="Thanks for using {site}, please consider donating if you can." values={{ site: process.env.APP_NAME_CAPITALIZED }} />
|
||||
</p>
|
||||
<Link to="/donate">
|
||||
<button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user