diff --git a/packages/app/src/Pages/settings/messages.ts b/packages/app/src/Pages/settings/messages.ts
index d3aed864..a921b64e 100644
--- a/packages/app/src/Pages/settings/messages.ts
+++ b/packages/app/src/Pages/settings/messages.ts
@@ -61,4 +61,6 @@ export default defineMessages({
Nip05: { defaultMessage: "NIP-05" },
ReactionEmoji: { defaultMessage: "Reaction emoji" },
ReactionEmojiHelp: { defaultMessage: "Emoji to send when reactiong to a note" },
+ RewriteTwitterPosts: { defaultMessage: "Nitter Rewrite" },
+ RewriteTwitterPostsHelp: { defaultMessage: "Rewrite Twitter links to Nitter links" },
});
diff --git a/packages/app/src/State/Login.ts b/packages/app/src/State/Login.ts
index c26e7685..5240e769 100644
--- a/packages/app/src/State/Login.ts
+++ b/packages/app/src/State/Login.ts
@@ -51,6 +51,11 @@ export interface UserPreferences {
*/
confirmReposts: boolean;
+ /**
+ * Rewrite Twitter links to Nitter links
+ */
+ rewriteTwitterPosts: boolean;
+
/**
* Automatically show the latests notes
*/
@@ -245,6 +250,7 @@ export const InitState = {
confirmReposts: false,
showDebugMenus: false,
autoShowLatest: false,
+ rewriteTwitterPosts: false,
fileUploader: "void.cat",
imgProxyConfig: DefaultImgProxy,
defaultRootTab: "posts",
diff --git a/packages/app/src/lang.json b/packages/app/src/lang.json
index bcaaa8a2..27e47b90 100644
--- a/packages/app/src/lang.json
+++ b/packages/app/src/lang.json
@@ -75,6 +75,9 @@
"2k0Cv+": {
"defaultMessage": "Dislikes ({n})"
},
+ "3LAxQH": {
+ "defaultMessage": "Rewrite Twitter links to Nitter links"
+ },
"3cc4Ct": {
"defaultMessage": "Light"
},
@@ -522,6 +525,9 @@
"X7xU8J": {
"defaultMessage": "nsec, npub, nip-05, hex, mnemonic"
},
+ "XSoRjZ": {
+ "defaultMessage": "Nitter Rewrite"
+ },
"XgWvGA": {
"defaultMessage": "Reactions"
},
@@ -666,6 +672,9 @@
"iNWbVV": {
"defaultMessage": "Handle"
},
+ "iXPL0Z": {
+ "defaultMessage": "Can't login with private key on an insecure connection, please use a Nostr key manager extension instead"
+ },
"ieGrWo": {
"defaultMessage": "Follow"
},
@@ -855,9 +864,6 @@
"uSV4Ti": {
"defaultMessage": "Reposts need to be manually confirmed"
},
- "ubtr9S": {
- "defaultMessage": "Can't login with private key on 'http://' connection, please use a Nostr key manager extension instead"
- },
"usAvMr": {
"defaultMessage": "Edit Profile"
},
diff --git a/packages/app/src/translations/en.json b/packages/app/src/translations/en.json
index 05b16d41..e3997d87 100644
--- a/packages/app/src/translations/en.json
+++ b/packages/app/src/translations/en.json
@@ -24,6 +24,7 @@
"2LbrkB": "Enter password",
"2a2YiP": "{n} Bookmarks",
"2k0Cv+": "Dislikes ({n})",
+ "3LAxQH": "Rewrite Twitter links to Nitter links",
"3cc4Ct": "Light",
"3gOsZq": "Translators",
"3t3kok": "{n,plural,=1{{n} new note} other{{n} new notes}}",
@@ -169,6 +170,7 @@
"WONP5O": "Find your twitter follows on nostr (Data provided by {provider})",
"WxthCV": "e.g. Jack",
"X7xU8J": "nsec, npub, nip-05, hex, mnemonic",
+ "XSoRjZ": "Nitter Rewrite",
"XgWvGA": "Reactions",
"XzF0aC": "Key manager extensions are more secure and allow you to easily login to any Nostr client, here are some well known extensions:",
"Y31HTH": "Help fund the development of Snort",
@@ -216,6 +218,7 @@
"iDGAbc": "Get a Snort identifier",
"iGT1eE": "Prevent fake accounts from imitating you",
"iNWbVV": "Handle",
+ "iXPL0Z": "Can't login with private key on an insecure connection, please use a Nostr key manager extension instead",
"ieGrWo": "Follow",
"itPgxd": "Profile",
"izWS4J": "Unfollow",
@@ -278,7 +281,6 @@
"u4bHcR": "Check out the code here: {link}",
"uD/N6c": "Zap {target} {n} sats",
"uSV4Ti": "Reposts need to be manually confirmed",
- "ubtr9S": "Can't login with private key on 'http://' connection, please use a Nostr key manager extension instead",
"usAvMr": "Edit Profile",
"ut+2Cd": "Get a partner identifier",
"vOKedj": "{n,plural,=1{& {n} other} other{& {n} others}}",