feat: break lang
This commit is contained in:
@ -1,32 +0,0 @@
|
||||
import { defineMessages } from "react-intl";
|
||||
|
||||
export default defineMessages({
|
||||
Login: "Login",
|
||||
Posts: "Posts",
|
||||
Conversations: "Conversations",
|
||||
Global: "Global",
|
||||
NewUsers: "New users page",
|
||||
NoFollows: "Hmm nothing here.. Checkout {newUsersPage} to follow some recommended nostrich's!",
|
||||
Notes: "Notes",
|
||||
Reactions: "Reactions",
|
||||
Followers: "Followers",
|
||||
Follows: "Follows",
|
||||
Zaps: "Zaps",
|
||||
Muted: "Muted",
|
||||
Blocked: "Blocked",
|
||||
Sats: "{n} {n, plural, =1 {sat} other {sats}}",
|
||||
Following: "Following {n}",
|
||||
Settings: "Settings",
|
||||
Search: "Search",
|
||||
SearchPlaceholder: "Search...",
|
||||
Messages: "Messages",
|
||||
MarkAllRead: "Mark All Read",
|
||||
GetVerified: "Get Verified",
|
||||
Nip05: `NIP-05 is a DNS based verification spec which helps to validate you as a real user.`,
|
||||
Nip05Pros: `Getting NIP-05 verified can help:`,
|
||||
AvoidImpersonators: "Prevent fake accounts from imitating you",
|
||||
EasierToFind: "Make your profile easier to find and share",
|
||||
Funding: "Fund developers and platforms providing NIP-05 verification services",
|
||||
SnortSocialNip: `Our very own NIP-05 verification service, help support the development of this site and get a shiny special badge on our site!`,
|
||||
NostrPlebsNip: `Nostr Plebs is one of the first NIP-05 providers in the space and offers a good collection of domains at reasonable prices`,
|
||||
});
|
36
src/Pages/messages.ts
Normal file
36
src/Pages/messages.ts
Normal file
@ -0,0 +1,36 @@
|
||||
import { defineMessages } from "react-intl";
|
||||
|
||||
export default defineMessages({
|
||||
Login: { defaultMessage: "Login" },
|
||||
Posts: { defaultMessage: "Posts" },
|
||||
Conversations: { defaultMessage: "Conversations" },
|
||||
Global: { defaultMessage: "Global" },
|
||||
NewUsers: { defaultMessage: "New users page" },
|
||||
NoFollows: { defaultMessage: "Hmm nothing here.. Checkout {newUsersPage} to follow some recommended nostrich's!" },
|
||||
Notes: { defaultMessage: "Notes" },
|
||||
Reactions: { defaultMessage: "Reactions" },
|
||||
Followers: { defaultMessage: "Followers" },
|
||||
Follows: { defaultMessage: "Follows" },
|
||||
Zaps: { defaultMessage: "Zaps" },
|
||||
Muted: { defaultMessage: "Muted" },
|
||||
Blocked: { defaultMessage: "Blocked" },
|
||||
Sats: { defaultMessage: "{n} {n, plural, =1 {sat} other {sats}}" },
|
||||
Following: { defaultMessage: "Following {n}" },
|
||||
Settings: { defaultMessage: "Settings" },
|
||||
Search: { defaultMessage: "Search" },
|
||||
SearchPlaceholder: { defaultMessage: "Search..." },
|
||||
Messages: { defaultMessage: "Messages" },
|
||||
MarkAllRead: { defaultMessage: "Mark All Read" },
|
||||
GetVerified: { defaultMessage: "Get Verified" },
|
||||
Nip05: { defaultMessage: `NIP-05 is a DNS based verification spec which helps to validate you as a real user.` },
|
||||
Nip05Pros: { defaultMessage: `Getting NIP-05 verified can help:` },
|
||||
AvoidImpersonators: { defaultMessage: "Prevent fake accounts from imitating you" },
|
||||
EasierToFind: { defaultMessage: "Make your profile easier to find and share" },
|
||||
Funding: { defaultMessage: "Fund developers and platforms providing NIP-05 verification services" },
|
||||
SnortSocialNip: {
|
||||
defaultMessage: `Our very own NIP-05 verification service, help support the development of this site and get a shiny special badge on our site!`,
|
||||
},
|
||||
NostrPlebsNip: {
|
||||
defaultMessage: `Nostr Plebs is one of the first NIP-05 providers in the space and offers a good collection of domains at reasonable prices`,
|
||||
},
|
||||
});
|
@ -1,57 +0,0 @@
|
||||
import { defineMessages } from "react-intl";
|
||||
|
||||
export default defineMessages({
|
||||
SaveKeys: "Save your keys!",
|
||||
SaveKeysHelp:
|
||||
"Your private key is your password. If you lose this key, you will lose access to your account! Copy it and keep it in a safe place. There is no way to reset your private key.",
|
||||
YourPubkey: "Your public key",
|
||||
YourPrivkey: "Your private key",
|
||||
KeysSaved: "I have saved my keys, continue",
|
||||
WhatIsSnort: "What is Snort and how does it work?",
|
||||
WhatIsSnortIntro: `Snort is a Nostr UI, nostr is a decentralised protocol for saving and distributing "notes".`,
|
||||
WhatIsSnortNotes: `Notes hold text content, the most popular usage of these notes is to store "tweet like" messages.`,
|
||||
|
||||
WhatIsSnortExperience: "Snort is designed to have a similar experience to Twitter.",
|
||||
HowKeysWork: "How do keys work?",
|
||||
DigitalSignatures: `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.`,
|
||||
TamperProof: `This means that nobody can modify notes which you have created and everybody can easily verify that the notes they are reading are created by you.`,
|
||||
Bitcoin: `This is the same technology which is used by Bitcoin and has been proven to be extremely secure.`,
|
||||
Extensions: `It is recommended to use one of the following browser extensions if you are on a desktop computer to secure your key:`,
|
||||
ExtensionsNostr: `You can also use these extensions to login to most Nostr sites.`,
|
||||
ImproveSecurity: "Improve login security with browser extensions",
|
||||
PickUsername: "Pick a username",
|
||||
UsernameHelp:
|
||||
"On Nostr, many people have the same username. User names and identity are separate things. You can get a unique identifier in the next step.",
|
||||
Username: "Username",
|
||||
UsernamePlaceholder: "e.g. Jack",
|
||||
PopularAccounts: "Follow some popular accounts",
|
||||
Skip: "Skip",
|
||||
Done: "Done!",
|
||||
ImportTwitter: "Import Twitter Follows (optional)",
|
||||
TwitterPlaceholder: "Twitter username...",
|
||||
FindYourFollows: "Find your twitter follows on nostr (Data provided by {provider})",
|
||||
TwitterUsername: "Twitter username",
|
||||
FollowsOnNostr: "{username}'s Follows on Nostr",
|
||||
NoUsersFound: "No nostr users found for {twitterUsername}",
|
||||
FailedToLoad: "Failed to load follows, please try again later",
|
||||
Check: "Check",
|
||||
Next: "Next",
|
||||
SetupProfile: "Setup your Profile",
|
||||
Identifier: "Get an identifier (optional)",
|
||||
IdentifierHelp:
|
||||
"Getting an identifier helps confirm the real you to people who know you. Many people can have a username @jack, but there is only one jack@cash.app.",
|
||||
PreventFakes: "Prevent fake accounts from imitating you",
|
||||
EasierToFind: "Make your profile easier to find and share",
|
||||
Funding: "Fund developers and platforms providing NIP-05 verification services",
|
||||
NameSquatting:
|
||||
"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.",
|
||||
PreviewOnSnort: "Preview on snort",
|
||||
GetSnortId: "Get a Snort identifier",
|
||||
GetSnortIdHelp:
|
||||
"Only Snort and our integration partner identifier gives you a colorful domain name, but you are welcome to use other services too.",
|
||||
GetPartnerId: "Get a partner identifier",
|
||||
GetPartnerIdHelp: "We have also partnered with nostrplebs.com to give you more options",
|
||||
Ready: "You're ready!",
|
||||
Share: "Share your thoughts with {link}",
|
||||
World: "the world",
|
||||
});
|
81
src/Pages/new/messages.ts
Normal file
81
src/Pages/new/messages.ts
Normal file
@ -0,0 +1,81 @@
|
||||
import { defineMessages } from "react-intl";
|
||||
|
||||
export default defineMessages({
|
||||
SaveKeys: {
|
||||
defaultMessage: "Save your keys!",
|
||||
},
|
||||
SaveKeysHelp: {
|
||||
defaultMessage:
|
||||
"Your private key is your password. If you lose this key, you will lose access to your account! Copy it and keep it in a safe place. There is no way to reset your private key.",
|
||||
},
|
||||
YourPubkey: { defaultMessage: "Your public key" },
|
||||
YourPrivkey: { defaultMessage: "Your private key" },
|
||||
KeysSaved: { defaultMessage: "I have saved my keys, continue" },
|
||||
WhatIsSnort: { defaultMessage: "What is Snort and how does it work?" },
|
||||
WhatIsSnortIntro: {
|
||||
defaultMessage: `Snort is a Nostr UI, nostr is a decentralised protocol for saving and distributing "notes".`,
|
||||
},
|
||||
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." },
|
||||
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.`,
|
||||
},
|
||||
TamperProof: {
|
||||
defaultMessage: `This means that nobody can modify notes which you have created and everybody can easily verify that the notes they are reading are created by you.`,
|
||||
},
|
||||
Bitcoin: {
|
||||
defaultMessage: `This is the same technology which is used by Bitcoin and has been proven to be extremely secure.`,
|
||||
},
|
||||
Extensions: {
|
||||
defaultMessage: `It is recommended to use one of the following browser extensions if you are on a desktop computer to secure your key:`,
|
||||
},
|
||||
ExtensionsNostr: { defaultMessage: `You can also use these extensions to login to most Nostr sites.` },
|
||||
ImproveSecurity: { defaultMessage: "Improve login security with browser extensions" },
|
||||
PickUsername: { defaultMessage: "Pick a username" },
|
||||
UsernameHelp: {
|
||||
defaultMessage:
|
||||
"On Nostr, many people have the same username. User names and identity are separate things. You can get a unique identifier in the next step.",
|
||||
},
|
||||
Username: { defaultMessage: "Username" },
|
||||
UsernamePlaceholder: { defaultMessage: "e.g. Jack" },
|
||||
PopularAccounts: { defaultMessage: "Follow some popular accounts" },
|
||||
Skip: { defaultMessage: "Skip" },
|
||||
Done: { defaultMessage: "Done!" },
|
||||
ImportTwitter: { defaultMessage: "Import Twitter Follows (optional)" },
|
||||
TwitterPlaceholder: { defaultMessage: "Twitter username..." },
|
||||
FindYourFollows: { defaultMessage: "Find your twitter follows on nostr (Data provided by {provider})" },
|
||||
TwitterUsername: { defaultMessage: "Twitter username" },
|
||||
FollowsOnNostr: { defaultMessage: "{username}'s Follows on Nostr" },
|
||||
NoUsersFound: { defaultMessage: "No nostr users found for {twitterUsername}" },
|
||||
FailedToLoad: { defaultMessage: "Failed to load follows, please try again later" },
|
||||
Check: { defaultMessage: "Check" },
|
||||
Next: { defaultMessage: "Next" },
|
||||
SetupProfile: { defaultMessage: "Setup your Profile" },
|
||||
Identifier: { defaultMessage: "Get an identifier (optional)" },
|
||||
IdentifierHelp: {
|
||||
defaultMessage:
|
||||
"Getting an identifier helps confirm the real you to people who know you. Many people can have a username @jack, but there is only one jack@cash.app.",
|
||||
},
|
||||
PreventFakes: { defaultMessage: "Prevent fake accounts from imitating you" },
|
||||
EasierToFind: { defaultMessage: "Make your profile easier to find and share" },
|
||||
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.",
|
||||
},
|
||||
PreviewOnSnort: { defaultMessage: "Preview on snort" },
|
||||
GetSnortId: { defaultMessage: "Get a Snort identifier" },
|
||||
GetSnortIdHelp: {
|
||||
defaultMessage:
|
||||
"Only Snort and our integration partner identifier gives you a colorful domain name, but you are welcome to use other services too.",
|
||||
},
|
||||
GetPartnerId: { defaultMessage: "Get a partner identifier" },
|
||||
GetPartnerIdHelp: { defaultMessage: "We have also partnered with nostrplebs.com to give you more options" },
|
||||
Ready: { defaultMessage: "You're ready!" },
|
||||
Share: { defaultMessage: "Share your thoughts with {link}" },
|
||||
World: { defaultMessage: "the world" },
|
||||
});
|
@ -1,55 +0,0 @@
|
||||
import { defineMessages } from "react-intl";
|
||||
|
||||
export default defineMessages({
|
||||
Profile: "Profile",
|
||||
Relays: "Relays",
|
||||
Owner: "Owner",
|
||||
Software: "Software",
|
||||
Contact: "Contact",
|
||||
Supports: "Supports",
|
||||
Remove: "Remove",
|
||||
Preferences: "Preferences",
|
||||
Donate: "Donate",
|
||||
LogOut: "Log Out",
|
||||
Theme: "Theme",
|
||||
System: "System (Default)",
|
||||
Light: "Light",
|
||||
Dark: "Dark",
|
||||
AutoloadMedia: "Automatically load media",
|
||||
AutoloadMediaHelp:
|
||||
"Media in posts will automatically be shown for selected people, otherwise only the link will show",
|
||||
None: "None",
|
||||
FollowsOnly: "Follows only",
|
||||
All: "All",
|
||||
ImgProxy: "Image proxy service",
|
||||
ImgProxyHelp: "Use imgproxy to compress images",
|
||||
ServiceUrl: "Service URL",
|
||||
ServiceKey: "Service Key",
|
||||
ServiceSalt: "Service Salt",
|
||||
EnableReactions: "Enable reactions",
|
||||
EnableReactionsHelp: "Reactions will be shown on every page, if disabled no reactions will be shown",
|
||||
ConfirmReposts: "Confirm Reposts",
|
||||
ConfirmRepostsHelp: "Reposts need to be manually confirmed",
|
||||
ShowLatest: "Automatically show latest notes",
|
||||
ShowLatestHelp: "Notes will stream in real time into global and posts tab",
|
||||
FileUpload: "File upload service",
|
||||
FileUploadHelp: "Pick which upload service you want to upload attachments to",
|
||||
Default: "(Default)",
|
||||
DebugMenus: "Debug Menus",
|
||||
DebugMenusHelp: `Shows "Copy ID" and "Copy Event JSON" in the context menu on each message`,
|
||||
EditProfile: "Edit Profile",
|
||||
About: "About",
|
||||
LnAddress: "LN Address",
|
||||
Avatar: "Avatar",
|
||||
Banner: "Banner",
|
||||
Edit: "Edit",
|
||||
PrivateKey: "Your Private Key Is (do not share this with anyone)",
|
||||
Add: "Add",
|
||||
AddRelays: "Add Relays",
|
||||
Name: "Name",
|
||||
Website: "Website",
|
||||
Save: "Save",
|
||||
DisplayName: "Display name",
|
||||
Buy: "Buy",
|
||||
Nip05: "NIP-05",
|
||||
});
|
58
src/Pages/settings/messages.ts
Normal file
58
src/Pages/settings/messages.ts
Normal file
@ -0,0 +1,58 @@
|
||||
import { defineMessages } from "react-intl";
|
||||
|
||||
export default defineMessages({
|
||||
Profile: { defaultMessage: "Profile" },
|
||||
Relays: { defaultMessage: "Relays" },
|
||||
Owner: { defaultMessage: "Owner" },
|
||||
Software: { defaultMessage: "Software" },
|
||||
Contact: { defaultMessage: "Contact" },
|
||||
Supports: { defaultMessage: "Supports" },
|
||||
Remove: { defaultMessage: "Remove" },
|
||||
Preferences: { defaultMessage: "Preferences" },
|
||||
Donate: { defaultMessage: "Donate" },
|
||||
LogOut: { defaultMessage: "Log Out" },
|
||||
Theme: { defaultMessage: "Theme" },
|
||||
System: { defaultMessage: "System (Default)" },
|
||||
Light: { defaultMessage: "Light" },
|
||||
Dark: { defaultMessage: "Dark" },
|
||||
AutoloadMedia: { defaultMessage: "Automatically load media" },
|
||||
AutoloadMediaHelp: {
|
||||
defaultMessage: "Media in posts will automatically be shown for selected people, otherwise only the link will show",
|
||||
},
|
||||
None: { defaultMessage: "None" },
|
||||
FollowsOnly: { defaultMessage: "Follows only" },
|
||||
All: { defaultMessage: "All" },
|
||||
ImgProxy: { defaultMessage: "Image proxy service" },
|
||||
ImgProxyHelp: { defaultMessage: "Use imgproxy to compress images" },
|
||||
ServiceUrl: { defaultMessage: "Service URL" },
|
||||
ServiceKey: { defaultMessage: "Service Key" },
|
||||
ServiceSalt: { defaultMessage: "Service Salt" },
|
||||
EnableReactions: { defaultMessage: "Enable reactions" },
|
||||
EnableReactionsHelp: {
|
||||
defaultMessage: "Reactions will be shown on every page, if disabled no reactions will be shown",
|
||||
},
|
||||
ConfirmReposts: { defaultMessage: "Confirm Reposts" },
|
||||
ConfirmRepostsHelp: { defaultMessage: "Reposts need to be manually confirmed" },
|
||||
ShowLatest: { defaultMessage: "Automatically show latest notes" },
|
||||
ShowLatestHelp: { defaultMessage: "Notes will stream in real time into global and posts tab" },
|
||||
FileUpload: { defaultMessage: "File upload service" },
|
||||
FileUploadHelp: { defaultMessage: "Pick which upload service you want to upload attachments to" },
|
||||
Default: { defaultMessage: "(Default)" },
|
||||
DebugMenus: { defaultMessage: "Debug Menus" },
|
||||
DebugMenusHelp: { defaultMessage: `Shows "Copy ID" and "Copy Event JSON" in the context menu on each message` },
|
||||
EditProfile: { defaultMessage: "Edit Profile" },
|
||||
About: { defaultMessage: "About" },
|
||||
LnAddress: { defaultMessage: "LN Address" },
|
||||
Avatar: { defaultMessage: "Avatar" },
|
||||
Banner: { defaultMessage: "Banner" },
|
||||
Edit: { defaultMessage: "Edit" },
|
||||
PrivateKey: { defaultMessage: "Your Private Key Is (do not share this with anyone)" },
|
||||
Add: { defaultMessage: "Add" },
|
||||
AddRelays: { defaultMessage: "Add Relays" },
|
||||
Name: { defaultMessage: "Name" },
|
||||
Website: { defaultMessage: "Website" },
|
||||
Save: { defaultMessage: "Save" },
|
||||
DisplayName: { defaultMessage: "Display name" },
|
||||
Buy: { defaultMessage: "Buy" },
|
||||
Nip05: { defaultMessage: "NIP-05" },
|
||||
});
|
Reference in New Issue
Block a user