Add channel message filter for spam and repeated messages
Client-side filter for channel messages, with no model download: - User rules on message text and/or sender name (contains, whole word, exact), normalised for case, accents, zero-width and look-alike letters. - Automatic checks: repeated characters, same-sender repeats within 10 minutes, and the same sentence (>= 6 words) from 3+ senders within 30 minutes. Windows use send times, so synced history is not a flood. - On-device n-gram classifier trained by Mark as spam / Not spam taps. Filtered messages are kept, never notify or count as unread, are not auto-translated or used for channel previews, and are concealed in reply quotes. They show as a calm, collapsible placeholder that animates open and closed, or can be hidden completely. Includes a Filtered messages list, per-channel toggle, settings screen, translations for all locales and documentation.
This commit is contained in:
1 parent
5ef2c2cd7d
commit
1332c35884
75 files changed
+12527
-254
No files matched your search
+266
-1
@@ -3527,5 +3527,270 @@
|
||||
"themes_chatBackground": "Ozadje klepeta",
|
||||
"themes_chatBackgroundHelp": "Prikazano v klepetih, ki nimajo svojega ozadja",
|
||||
"themes_chatBackgroundEverywhere": "Uporabi v vseh klepetih",
|
||||
"themes_chatBackgroundEverywhereHelp": "Zamenja tudi ozadja, nastavljena v posameznih klepetih"
|
||||
"themes_chatBackgroundEverywhereHelp": "Zamenja tudi ozadja, nastavljena v posameznih klepetih",
|
||||
"appSettings_showOnlineLinks": "Pokaži povezave spletnega zemljevida",
|
||||
"appSettings_showOnlineLinksSubtitle": "Prikaži povezovalne črte med napravami iz spletnega zemljevida",
|
||||
"map_showOnlineLinks": "Pokaži povezave spletnega zemljevida",
|
||||
"messageFilter_title": "Filter sporočil",
|
||||
"@messageFilter_title": {
|
||||
"description": "Message filter: Message filter"
|
||||
},
|
||||
"messageFilter_settingsSubtitle": "Skrij neželena in ponavljajoča se sporočila",
|
||||
"@messageFilter_settingsSubtitle": {
|
||||
"description": "Message filter: Hide spam and repeated messages"
|
||||
},
|
||||
"messageFilter_enabled": "Filtriraj sporočila",
|
||||
"@messageFilter_enabled": {
|
||||
"description": "Message filter: Filter messages"
|
||||
},
|
||||
"messageFilter_enabledSubtitle": "Velja za sporočila v kanalih",
|
||||
"@messageFilter_enabledSubtitle": {
|
||||
"description": "Message filter: Applies to channel messages"
|
||||
},
|
||||
"messageFilter_displayTitle": "Filtrirana sporočila",
|
||||
"@messageFilter_displayTitle": {
|
||||
"description": "Message filter: Filtered messages"
|
||||
},
|
||||
"messageFilter_displayPlaceholder": "Pokaži majhno oznako",
|
||||
"@messageFilter_displayPlaceholder": {
|
||||
"description": "Message filter: Show a small placeholder"
|
||||
},
|
||||
"messageFilter_displayHide": "Skrij popolnoma",
|
||||
"@messageFilter_displayHide": {
|
||||
"description": "Message filter: Hide completely"
|
||||
},
|
||||
"messageFilter_displayHideHelp": "Skrita sporočila ostanejo na seznamu Filtrirana sporočila.",
|
||||
"@messageFilter_displayHideHelp": {
|
||||
"description": "Message filter: Hidden messages stay in the Filtered messages list."
|
||||
},
|
||||
"messageFilter_rulesSection": "Vaša pravila",
|
||||
"@messageFilter_rulesSection": {
|
||||
"description": "Message filter: Your rules"
|
||||
},
|
||||
"messageFilter_rulesEmpty": "Še ni pravil. Dodajte besedo, frazo ali ime pošiljatelja, da skrijete ujemajoča se sporočila.",
|
||||
"@messageFilter_rulesEmpty": {
|
||||
"description": "Message filter: No rules yet. Add a word, phrase or sender name to hide messages that match it."
|
||||
},
|
||||
"messageFilter_addRule": "Dodaj pravilo",
|
||||
"@messageFilter_addRule": {
|
||||
"description": "Message filter: Add rule"
|
||||
},
|
||||
"messageFilter_editRule": "Uredi pravilo",
|
||||
"@messageFilter_editRule": {
|
||||
"description": "Message filter: Edit rule"
|
||||
},
|
||||
"messageFilter_rulePattern": "Beseda, fraza ali ime",
|
||||
"@messageFilter_rulePattern": {
|
||||
"description": "Message filter: Word, phrase or name"
|
||||
},
|
||||
"messageFilter_rulePatternHint": "npr. meshos",
|
||||
"@messageFilter_rulePatternHint": {
|
||||
"description": "Message filter: e.g. meshos"
|
||||
},
|
||||
"messageFilter_ruleWhere": "Išči v",
|
||||
"@messageFilter_ruleWhere": {
|
||||
"description": "Message filter: Look in"
|
||||
},
|
||||
"messageFilter_ruleFieldText": "Besedilo sporočila",
|
||||
"@messageFilter_ruleFieldText": {
|
||||
"description": "Message filter: Message text"
|
||||
},
|
||||
"messageFilter_ruleFieldSender": "Ime pošiljatelja",
|
||||
"@messageFilter_ruleFieldSender": {
|
||||
"description": "Message filter: Sender name"
|
||||
},
|
||||
"messageFilter_ruleFieldBoth": "Oboje",
|
||||
"@messageFilter_ruleFieldBoth": {
|
||||
"description": "Message filter: Both"
|
||||
},
|
||||
"messageFilter_ruleMatch": "Ujemanje",
|
||||
"@messageFilter_ruleMatch": {
|
||||
"description": "Message filter: Match"
|
||||
},
|
||||
"messageFilter_ruleMatchContains": "Vsebuje",
|
||||
"@messageFilter_ruleMatchContains": {
|
||||
"description": "Message filter: Contains"
|
||||
},
|
||||
"messageFilter_ruleMatchWholeWord": "Cela beseda",
|
||||
"@messageFilter_ruleMatchWholeWord": {
|
||||
"description": "Message filter: Whole word"
|
||||
},
|
||||
"messageFilter_ruleMatchExact": "Natančno",
|
||||
"@messageFilter_ruleMatchExact": {
|
||||
"description": "Message filter: Exact"
|
||||
},
|
||||
"messageFilter_ruleDeleted": "Pravilo izbrisano",
|
||||
"@messageFilter_ruleDeleted": {
|
||||
"description": "Message filter: Rule deleted"
|
||||
},
|
||||
"messageFilter_ruleSaved": "Pravilo shranjeno",
|
||||
"@messageFilter_ruleSaved": {
|
||||
"description": "Message filter: Rule saved"
|
||||
},
|
||||
"messageFilter_automaticSection": "Samodejno",
|
||||
"@messageFilter_automaticSection": {
|
||||
"description": "Message filter: Automatic"
|
||||
},
|
||||
"messageFilter_duplicates": "Ponavljajoča se sporočila",
|
||||
"@messageFilter_duplicates": {
|
||||
"description": "Message filter: Repeated messages"
|
||||
},
|
||||
"messageFilter_duplicatesSubtitle": "Isto sporočilo, poslano znova ali od več pošiljateljev",
|
||||
"@messageFilter_duplicatesSubtitle": {
|
||||
"description": "Message filter: The same message sent again, or by several senders"
|
||||
},
|
||||
"messageFilter_repeatedCharacters": "Ponavljajoči se znaki",
|
||||
"@messageFilter_repeatedCharacters": {
|
||||
"description": "Message filter: Repeated characters"
|
||||
},
|
||||
"messageFilter_repeatedCharactersSubtitle": "Sporočila, kot sta „aaaaaaaa“ ali „!!!!!!!!“",
|
||||
"@messageFilter_repeatedCharactersSubtitle": {
|
||||
"description": "Message filter: Messages like \"aaaaaaaa\" or \"!!!!!!!!\""
|
||||
},
|
||||
"messageFilter_learning": "Uči se iz dotikov Neželeno",
|
||||
"@messageFilter_learning": {
|
||||
"description": "Message filter: Learn from Spam taps"
|
||||
},
|
||||
"messageFilter_learningSubtitle": "Primeri: {spam} neželenih in {notSpam} ne neželenih",
|
||||
"@messageFilter_learningSubtitle": {
|
||||
"description": "Message filter: {spam} spam and {notSpam} not-spam examples",
|
||||
"placeholders": {
|
||||
"spam": {
|
||||
"type": "int"
|
||||
},
|
||||
"notSpam": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_resetLearning": "Ponastavi učenje",
|
||||
"@messageFilter_resetLearning": {
|
||||
"description": "Message filter: Reset learning"
|
||||
},
|
||||
"messageFilter_resetLearningConfirm": "Pozabim vse, kar se je filter naučil iz vaših dotikov Neželeno in Ni neželeno? Vaša pravila ostanejo.",
|
||||
"@messageFilter_resetLearningConfirm": {
|
||||
"description": "Message filter: Forget everything learned from your Spam and Not spam taps? Your rules are kept."
|
||||
},
|
||||
"messageFilter_filteredMessages": "Filtrirana sporočila ({count})",
|
||||
"@messageFilter_filteredMessages": {
|
||||
"description": "Message filter: Filtered messages ({count})",
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_filteredMessagesEmpty": "Nič ni bilo filtrirano.",
|
||||
"@messageFilter_filteredMessagesEmpty": {
|
||||
"description": "Message filter: Nothing has been filtered."
|
||||
},
|
||||
"messageFilter_ghostSingle": "Skrito sporočilo · Dotaknite se za ogled",
|
||||
"@messageFilter_ghostSingle": {
|
||||
"description": "Message filter: Hidden message · Tap to view"
|
||||
},
|
||||
"messageFilter_ghostMany": "{count, plural, one{{count} skrito sporočilo · Dotaknite se za ogled} two{{count} skriti sporočili · Dotaknite se za ogled} few{{count} skrita sporočila · Dotaknite se za ogled} other{{count} skritih sporočil · Dotaknite se za ogled}}",
|
||||
"@messageFilter_ghostMany": {
|
||||
"description": "Message filter: {count, plural, one{{count} hidden message · Tap to view} other{{count} hidden messages · Tap to view}}",
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_ghostSingleExpanded": "Prikazano skrito sporočilo · Dotaknite se za skritje",
|
||||
"@messageFilter_ghostSingleExpanded": {
|
||||
"description": "Header above one revealed filtered message; tapping it hides the message again"
|
||||
},
|
||||
"messageFilter_ghostManyExpanded": "{count, plural, =1{Prikazano 1 skrito sporočilo · Dotaknite se za skritje} two{Prikazani {count} skriti sporočili · Dotaknite se za skritje} few{Prikazana {count} skrita sporočila · Dotaknite se za skritje} other{Prikazanih {count} skritih sporočil · Dotaknite se za skritje}}",
|
||||
"@messageFilter_ghostManyExpanded": {
|
||||
"description": "Header above a revealed run of filtered messages; tapping it hides them again",
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_reasonTextRule": "Filtrirano: ujema se z „{pattern}“",
|
||||
"@messageFilter_reasonTextRule": {
|
||||
"description": "Message filter: Filtered: matches \"{pattern}\"",
|
||||
"placeholders": {
|
||||
"pattern": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_reasonSenderRule": "Filtrirano: pošiljatelj „{pattern}“",
|
||||
"@messageFilter_reasonSenderRule": {
|
||||
"description": "Message filter: Filtered: sender \"{pattern}\"",
|
||||
"placeholders": {
|
||||
"pattern": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_reasonRepeatedCharacters": "Filtrirano: ponavljajoči se znaki",
|
||||
"@messageFilter_reasonRepeatedCharacters": {
|
||||
"description": "Message filter: Filtered: repeated characters"
|
||||
},
|
||||
"messageFilter_reasonDuplicate": "Filtrirano: ponovljeno sporočilo",
|
||||
"@messageFilter_reasonDuplicate": {
|
||||
"description": "Message filter: Filtered: repeated message"
|
||||
},
|
||||
"messageFilter_reasonCrossSenderDuplicate": "Filtrirano: isto sporočilo od več pošiljateljev",
|
||||
"@messageFilter_reasonCrossSenderDuplicate": {
|
||||
"description": "Message filter: Filtered: same message from several senders"
|
||||
},
|
||||
"messageFilter_reasonLearned": "Filtrirano: podobno sporočilom, ki ste jih označili kot neželena",
|
||||
"@messageFilter_reasonLearned": {
|
||||
"description": "Message filter: Filtered: looks like messages you marked as spam"
|
||||
},
|
||||
"messageFilter_reasonManual": "Filtrirano: to ste označili kot neželeno",
|
||||
"@messageFilter_reasonManual": {
|
||||
"description": "Message filter: Filtered: you marked this as spam"
|
||||
},
|
||||
"messageFilter_notSpam": "Ni neželeno",
|
||||
"@messageFilter_notSpam": {
|
||||
"description": "Message filter: Not spam"
|
||||
},
|
||||
"messageFilter_hideAgain": "Skrij",
|
||||
"@messageFilter_hideAgain": {
|
||||
"description": "Message filter: Hide"
|
||||
},
|
||||
"messageFilter_markSpam": "Označi kot neželeno",
|
||||
"@messageFilter_markSpam": {
|
||||
"description": "Message filter: Mark as spam"
|
||||
},
|
||||
"messageFilter_markedSpam": "Označeno kot neželeno",
|
||||
"@messageFilter_markedSpam": {
|
||||
"description": "Message filter: Marked as spam"
|
||||
},
|
||||
"messageFilter_markedNotSpam": "Označeno kot ni neželeno",
|
||||
"@messageFilter_markedNotSpam": {
|
||||
"description": "Message filter: Marked as not spam"
|
||||
},
|
||||
"messageFilter_filterSender": "Filtriraj tega pošiljatelja",
|
||||
"@messageFilter_filterSender": {
|
||||
"description": "Message filter: Filter this sender"
|
||||
},
|
||||
"messageFilter_filterSenderConfirm": "Skrijem vsa sporočila od „{name}“?",
|
||||
"@messageFilter_filterSenderConfirm": {
|
||||
"description": "Message filter: Hide all messages from \"{name}\"?",
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_filterLikeThis": "Filtriraj podobna sporočila…",
|
||||
"@messageFilter_filterLikeThis": {
|
||||
"description": "Message filter: Filter messages like this…"
|
||||
},
|
||||
"messageFilter_channelToggle": "Filtriraj sporočila v tem kanalu",
|
||||
"@messageFilter_channelToggle": {
|
||||
"description": "Message filter: Filter messages in this channel"
|
||||
},
|
||||
"messageFilter_ghostIconTooltip": "Skrito z vašim filtrom sporočil",
|
||||
"@messageFilter_ghostIconTooltip": {
|
||||
"description": "Message filter: Hidden by your message filter"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user