From 2fbfe122ae0e7d59a6b1df08cccd091010bc94ec Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 23 Sep 2026 12:58:40 -0700 Subject: Moderation: the whole mute list everywhere, follows' reports fold posts, strangers' spam hidden. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mutes were only applied when the feed merged and painted. One predicate (hiddenWhy / hiddenPk) now gates the feed, thread replies, notifications, the who-reacted panel and counts, quote cards, rooms, the DM list and the DM push. The list itself is read in full — people, words, hashtags, whole threads, and the nip44 private half — and edited through one publish path (mute thread and hidden words from the ⋯ menu and a Settings → Nostr card). Reports (NIP-56) from the people you follow are read from their outbox relays every half hour; a post or author they flagged is folded behind who said so, with Show. Report… in the ⋯ menu publishes a kind 1984 and hides the post for you. Amethyst's stranger rules: a post of 60+ characters repeated under another id is a duplicate and five duplicates hide the author for the session; more than ten hashtags hides the post. Both switchable in Settings. Co-Authored-By: Claude Fable 5.1 --- src/i18n.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 0f4ff19..3307c19 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -337,6 +337,36 @@ const STR = { postMuted: 'Muted — their posts are hidden', postUnmuted: 'Unmuted', postBlock: 'Block and unfollow', + postMuteThread: 'Mute this thread', + postUnmuteThread: 'Unmute this thread', + postReport: 'Report…', + reportTitle: 'Report this post', + reportHelp: 'A report is public (NIP-56). People who follow you see this post folded; the post is hidden for you.', + reportSpam: 'Spam', + reportImpersonation: 'Impersonation', + reportNudity: 'Nudity', + reportProfanity: 'Harassment or abuse', + reportIllegal: 'Illegal content', + reportMalware: 'Scam or malware', + reportOther: 'Something else', + reportSent: 'Reported', + foldReported1: 'Reported by {name}', + foldReportedN: 'Reported by {n} people you follow', + foldShow: 'Show', + quoteHidden: 'Hidden post', + profMutedBanner: 'Muted — their posts are hidden everywhere else', + modTitle: 'Muted and hidden', + modDesc: 'Your mute list (NIP-51) follows you to other nostr apps, and theirs applies here.', + modPeople: 'Muted people', + modNoPeople: 'Nobody muted', + modWords: 'Hidden words and hashtags', + modWordHint: 'Add a word, phrase or #hashtag', + modAdd: 'Add', + modThreads: '{n} muted threads', + modSpamToggle: 'Hide repeated posts from strangers', + modSpamHelp: 'A post of 60+ characters posted again and again is spam; someone you don\'t follow who does it five times is hidden for the session. Posts stuffed with more than ten hashtags are hidden too.', + modReportsToggle: 'Fold posts reported by people you follow', + modReportsHelp: 'Their reports (NIP-56) are read from the relays. A flagged post is shown collapsed, with who flagged it; tap to see it anyway.', postBlocked: 'Blocked', zapSending: 'Sending your zap…', msgReply: 'Reply', -- cgit v1.2.3