forked from Kieran/snort
chore: donate page strings
This commit is contained in:
parent
5d19e5a18d
commit
d4e174af51
@ -3,6 +3,7 @@ import ProfilePreview from "Element/ProfilePreview";
|
|||||||
import ZapButton from "Element/ZapButton";
|
import ZapButton from "Element/ZapButton";
|
||||||
import { HexKey } from "Nostr";
|
import { HexKey } from "Nostr";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
import { FormattedMessage } from "react-intl";
|
||||||
import { bech32ToHex } from "Util";
|
import { bech32ToHex } from "Util";
|
||||||
|
|
||||||
const Developers = [
|
const Developers = [
|
||||||
@ -57,29 +58,53 @@ const DonatePage = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="main-content m5">
|
<div className="main-content m5">
|
||||||
<h2>Help fund the development of Snort</h2>
|
<h2>
|
||||||
<p>Snort is an open source project built by passionate people in their free time</p>
|
<FormattedMessage defaultMessage="Help fund the development of Snort" />
|
||||||
<p>Your donations are greatly appreciated</p>
|
</h2>
|
||||||
<p>
|
<p>
|
||||||
Check out the code here:{" "}
|
<FormattedMessage defaultMessage="Snort is an open source project built by passionate people in their free time" />
|
||||||
<a className="highlight" href="https://github.com/v0l/snort" rel="noreferrer" target="_blank">
|
|
||||||
https://github.com/v0l/snort
|
|
||||||
</a>
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Each contributor will get paid a percentage of all donations and NIP-05 orders, you can see the split amounts
|
<FormattedMessage defaultMessage="Your donations are greatly appreciated" />
|
||||||
below
|
</p>
|
||||||
|
<p>
|
||||||
|
<FormattedMessage
|
||||||
|
defaultMessage={"Check out the code here: {link}"}
|
||||||
|
values={{
|
||||||
|
link: (
|
||||||
|
<a className="highlight" href="https://github.com/v0l/snort" rel="noreferrer" target="_blank">
|
||||||
|
https://github.com/v0l/snort
|
||||||
|
</a>
|
||||||
|
),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<FormattedMessage defaultMessage="Each contributor will get paid a percentage of all donations and NIP-05 orders, you can see the split amounts below" />
|
||||||
</p>
|
</p>
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<div className="mr10">Lightning Donation: </div>
|
<div className="mr10">
|
||||||
|
<FormattedMessage defaultMessage="Lightning Donation: " />
|
||||||
|
</div>
|
||||||
<ZapButton pubkey={bech32ToHex(SnortPubKey)} svc={"donate@snort.social"} />
|
<ZapButton pubkey={bech32ToHex(SnortPubKey)} svc={"donate@snort.social"} />
|
||||||
</div>
|
</div>
|
||||||
{today && <small>Total today (UTC): {today.donations.toLocaleString()} sats</small>}
|
{today && (
|
||||||
<h3>Primary Developers</h3>
|
<small>
|
||||||
|
<FormattedMessage
|
||||||
|
defaultMessage="Total today (UTC): {amount} sats"
|
||||||
|
values={{ amount: today.donations.toLocaleString() }}
|
||||||
|
/>
|
||||||
|
</small>
|
||||||
|
)}
|
||||||
|
<h3>
|
||||||
|
<FormattedMessage defaultMessage="Primary Developers" />
|
||||||
|
</h3>
|
||||||
{Developers.map(a => (
|
{Developers.map(a => (
|
||||||
<ProfilePreview pubkey={a} key={a} actions={actions(a)} />
|
<ProfilePreview pubkey={a} key={a} actions={actions(a)} />
|
||||||
))}
|
))}
|
||||||
<h4>Contributors</h4>
|
<h4>
|
||||||
|
<FormattedMessage defaultMessage="Contributors" />
|
||||||
|
</h4>
|
||||||
{Contributors.map(a => (
|
{Contributors.map(a => (
|
||||||
<ProfilePreview pubkey={a} key={a} actions={actions(a)} />
|
<ProfilePreview pubkey={a} key={a} actions={actions(a)} />
|
||||||
))}
|
))}
|
||||||
|
@ -60,6 +60,9 @@
|
|||||||
"47FYwb": {
|
"47FYwb": {
|
||||||
"string": "Cancel"
|
"string": "Cancel"
|
||||||
},
|
},
|
||||||
|
"4IPzdn": {
|
||||||
|
"string": "Primary Developers"
|
||||||
|
},
|
||||||
"4L2vUY": {
|
"4L2vUY": {
|
||||||
"string": "Your new NIP-05 handle is:"
|
"string": "Your new NIP-05 handle is:"
|
||||||
},
|
},
|
||||||
@ -146,6 +149,9 @@
|
|||||||
"BOUMjw": {
|
"BOUMjw": {
|
||||||
"string": "No nostr users found for {twitterUsername}"
|
"string": "No nostr users found for {twitterUsername}"
|
||||||
},
|
},
|
||||||
|
"BOr9z/": {
|
||||||
|
"string": "Snort is an open source project built by passionate people in their free time"
|
||||||
|
},
|
||||||
"BcGMo+": {
|
"BcGMo+": {
|
||||||
"string": "Notes hold text content, the most popular usage of these notes is to store \"tweet like\" messages."
|
"string": "Notes hold text content, the most popular usage of these notes is to store \"tweet like\" messages."
|
||||||
},
|
},
|
||||||
@ -306,6 +312,9 @@
|
|||||||
"P7FD0F": {
|
"P7FD0F": {
|
||||||
"string": "System (Default)"
|
"string": "System (Default)"
|
||||||
},
|
},
|
||||||
|
"P7nJT9": {
|
||||||
|
"string": "Total today (UTC): {amount} sats"
|
||||||
|
},
|
||||||
"PCSt5T": {
|
"PCSt5T": {
|
||||||
"string": "Preferences"
|
"string": "Preferences"
|
||||||
},
|
},
|
||||||
@ -372,6 +381,9 @@
|
|||||||
"XgWvGA": {
|
"XgWvGA": {
|
||||||
"string": "Reactions"
|
"string": "Reactions"
|
||||||
},
|
},
|
||||||
|
"Y31HTH": {
|
||||||
|
"string": "Help fund the development of Snort"
|
||||||
|
},
|
||||||
"YDURw6": {
|
"YDURw6": {
|
||||||
"string": "Service URL"
|
"string": "Service URL"
|
||||||
},
|
},
|
||||||
@ -381,6 +393,12 @@
|
|||||||
"ZKORll": {
|
"ZKORll": {
|
||||||
"string": "Activate Now"
|
"string": "Activate Now"
|
||||||
},
|
},
|
||||||
|
"ZLmyG9": {
|
||||||
|
"string": "Contributors"
|
||||||
|
},
|
||||||
|
"ZUZedV": {
|
||||||
|
"string": "Lightning Donation:"
|
||||||
|
},
|
||||||
"a5UPxh": {
|
"a5UPxh": {
|
||||||
"string": "Fund developers and platforms providing NIP-05 verification services"
|
"string": "Fund developers and platforms providing NIP-05 verification services"
|
||||||
},
|
},
|
||||||
@ -513,6 +531,9 @@
|
|||||||
"lvlPhZ": {
|
"lvlPhZ": {
|
||||||
"string": "Pay Invoice"
|
"string": "Pay Invoice"
|
||||||
},
|
},
|
||||||
|
"mH91FY": {
|
||||||
|
"string": "Each contributor will get paid a percentage of all donations and NIP-05 orders, you can see the split amounts below"
|
||||||
|
},
|
||||||
"mKAr6h": {
|
"mKAr6h": {
|
||||||
"string": "Follow all"
|
"string": "Follow all"
|
||||||
},
|
},
|
||||||
@ -531,6 +552,9 @@
|
|||||||
"nN9XTz": {
|
"nN9XTz": {
|
||||||
"string": "Share your thoughts with {link}"
|
"string": "Share your thoughts with {link}"
|
||||||
},
|
},
|
||||||
|
"nn1qb3": {
|
||||||
|
"string": "Your donations are greatly appreciated"
|
||||||
|
},
|
||||||
"nwZXeh": {
|
"nwZXeh": {
|
||||||
"string": "{n} blocked"
|
"string": "{n} blocked"
|
||||||
},
|
},
|
||||||
@ -602,6 +626,9 @@
|
|||||||
"u/vOPu": {
|
"u/vOPu": {
|
||||||
"string": "Paid"
|
"string": "Paid"
|
||||||
},
|
},
|
||||||
|
"u4bHcR": {
|
||||||
|
"string": "Check out the code here: {link}"
|
||||||
|
},
|
||||||
"uD/N6c": {
|
"uD/N6c": {
|
||||||
"string": "Zap {target} {n} sats"
|
"string": "Zap {target} {n} sats"
|
||||||
},
|
},
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"3xCwbZ": "OR",
|
"3xCwbZ": "OR",
|
||||||
"450Fty": "None",
|
"450Fty": "None",
|
||||||
"47FYwb": "Cancel",
|
"47FYwb": "Cancel",
|
||||||
|
"4IPzdn": "Primary Developers",
|
||||||
"4L2vUY": "Your new NIP-05 handle is:",
|
"4L2vUY": "Your new NIP-05 handle is:",
|
||||||
"4OB335": "Dislike",
|
"4OB335": "Dislike",
|
||||||
"4Vmpt4": "Nostr Plebs is one of the first NIP-05 providers in the space and offers a good collection of domains at reasonable prices",
|
"4Vmpt4": "Nostr Plebs is one of the first NIP-05 providers in the space and offers a good collection of domains at reasonable prices",
|
||||||
@ -47,6 +48,7 @@
|
|||||||
"B4C47Y": "name too short",
|
"B4C47Y": "name too short",
|
||||||
"B6+XJy": "zapped",
|
"B6+XJy": "zapped",
|
||||||
"BOUMjw": "No nostr users found for {twitterUsername}",
|
"BOUMjw": "No nostr users found for {twitterUsername}",
|
||||||
|
"BOr9z/": "Snort is an open source project built by passionate people in their free time",
|
||||||
"BcGMo+": "Notes hold text content, the most popular usage of these notes is to store \"tweet like\" messages.",
|
"BcGMo+": "Notes hold text content, the most popular usage of these notes is to store \"tweet like\" messages.",
|
||||||
"C81/uG": "Logout",
|
"C81/uG": "Logout",
|
||||||
"CHTbO3": "Failed to load invoice",
|
"CHTbO3": "Failed to load invoice",
|
||||||
@ -100,6 +102,7 @@
|
|||||||
"OKhRC6": "Share",
|
"OKhRC6": "Share",
|
||||||
"P61BTu": "Copy Event JSON",
|
"P61BTu": "Copy Event JSON",
|
||||||
"P7FD0F": "System (Default)",
|
"P7FD0F": "System (Default)",
|
||||||
|
"P7nJT9": "Total today (UTC): {amount} sats",
|
||||||
"PCSt5T": "Preferences",
|
"PCSt5T": "Preferences",
|
||||||
"Pe0ogR": "Theme",
|
"Pe0ogR": "Theme",
|
||||||
"PrsIg7": "Reactions will be shown on every page, if disabled no reactions will be shown",
|
"PrsIg7": "Reactions will be shown on every page, if disabled no reactions will be shown",
|
||||||
@ -121,9 +124,12 @@
|
|||||||
"WONP5O": "Find your twitter follows on nostr (Data provided by {provider})",
|
"WONP5O": "Find your twitter follows on nostr (Data provided by {provider})",
|
||||||
"WxthCV": "e.g. Jack",
|
"WxthCV": "e.g. Jack",
|
||||||
"XgWvGA": "Reactions",
|
"XgWvGA": "Reactions",
|
||||||
|
"Y31HTH": "Help fund the development of Snort",
|
||||||
"YDURw6": "Service URL",
|
"YDURw6": "Service URL",
|
||||||
"YXA3AH": "Enable reactions",
|
"YXA3AH": "Enable reactions",
|
||||||
"ZKORll": "Activate Now",
|
"ZKORll": "Activate Now",
|
||||||
|
"ZLmyG9": "Contributors",
|
||||||
|
"ZUZedV": "Lightning Donation:",
|
||||||
"a5UPxh": "Fund developers and platforms providing NIP-05 verification services",
|
"a5UPxh": "Fund developers and platforms providing NIP-05 verification services",
|
||||||
"aWpBzj": "Show more",
|
"aWpBzj": "Show more",
|
||||||
"brAXSu": "Pick a username",
|
"brAXSu": "Pick a username",
|
||||||
@ -168,12 +174,14 @@
|
|||||||
"ll3xBp": "Image proxy service",
|
"ll3xBp": "Image proxy service",
|
||||||
"lnaT9F": "Following {n}",
|
"lnaT9F": "Following {n}",
|
||||||
"lvlPhZ": "Pay Invoice",
|
"lvlPhZ": "Pay Invoice",
|
||||||
|
"mH91FY": "Each contributor will get paid a percentage of all donations and NIP-05 orders, you can see the split amounts below",
|
||||||
"mKAr6h": "Follow all",
|
"mKAr6h": "Follow all",
|
||||||
"mKh2HS": "File upload service",
|
"mKh2HS": "File upload service",
|
||||||
"mKhgP9": "{n,plural,=0{} =1{zapped} other{zapped}}",
|
"mKhgP9": "{n,plural,=0{} =1{zapped} other{zapped}}",
|
||||||
"n1xHAH": "Get an identifier (optional)",
|
"n1xHAH": "Get an identifier (optional)",
|
||||||
"nDejmx": "Unblock",
|
"nDejmx": "Unblock",
|
||||||
"nN9XTz": "Share your thoughts with {link}",
|
"nN9XTz": "Share your thoughts with {link}",
|
||||||
|
"nn1qb3": "Your donations are greatly appreciated",
|
||||||
"nwZXeh": "{n} blocked",
|
"nwZXeh": "{n} blocked",
|
||||||
"o6Uy3d": "Only the secret key can be used to publish (sign events), everything else logs you in read-only mode.",
|
"o6Uy3d": "Only the secret key can be used to publish (sign events), everything else logs you in read-only mode.",
|
||||||
"o7e+nJ": "{n} followers",
|
"o7e+nJ": "{n} followers",
|
||||||
@ -197,6 +205,7 @@
|
|||||||
"tOdNiY": "Dark",
|
"tOdNiY": "Dark",
|
||||||
"thnRpU": "Getting NIP-05 verified can help:",
|
"thnRpU": "Getting NIP-05 verified can help:",
|
||||||
"u/vOPu": "Paid",
|
"u/vOPu": "Paid",
|
||||||
|
"u4bHcR": "Check out the code here: {link}",
|
||||||
"uD/N6c": "Zap {target} {n} sats",
|
"uD/N6c": "Zap {target} {n} sats",
|
||||||
"uSV4Ti": "Reposts need to be manually confirmed",
|
"uSV4Ti": "Reposts need to be manually confirmed",
|
||||||
"usAvMr": "Edit Profile",
|
"usAvMr": "Edit Profile",
|
||||||
@ -221,4 +230,4 @@
|
|||||||
"zjJZBd": "You're ready!",
|
"zjJZBd": "You're ready!",
|
||||||
"zonsdq": "Failed to load LNURL service",
|
"zonsdq": "Failed to load LNURL service",
|
||||||
"zvCDao": "Automatically show latest notes"
|
"zvCDao": "Automatically show latest notes"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user