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
@@ -3559,5 +3559,270 @@
|
||||
"themes_chatBackground": "Tło czatu",
|
||||
"themes_chatBackgroundHelp": "Pokazywane w czatach, które nie mają własnego tła",
|
||||
"themes_chatBackgroundEverywhere": "Użyj w każdym czacie",
|
||||
"themes_chatBackgroundEverywhereHelp": "Zastępuje też tła ustawione w pojedynczych czatach"
|
||||
"themes_chatBackgroundEverywhereHelp": "Zastępuje też tła ustawione w pojedynczych czatach",
|
||||
"appSettings_showOnlineLinks": "Pokaż połączenia z mapy online",
|
||||
"appSettings_showOnlineLinksSubtitle": "Wyświetlaj linie połączeń między węzłami z mapy online",
|
||||
"map_showOnlineLinks": "Pokaż połączenia z mapy online",
|
||||
"messageFilter_title": "Filtr wiadomości",
|
||||
"@messageFilter_title": {
|
||||
"description": "Message filter: Message filter"
|
||||
},
|
||||
"messageFilter_settingsSubtitle": "Ukrywaj spam i powtarzające się wiadomości",
|
||||
"@messageFilter_settingsSubtitle": {
|
||||
"description": "Message filter: Hide spam and repeated messages"
|
||||
},
|
||||
"messageFilter_enabled": "Filtruj wiadomości",
|
||||
"@messageFilter_enabled": {
|
||||
"description": "Message filter: Filter messages"
|
||||
},
|
||||
"messageFilter_enabledSubtitle": "Dotyczy wiadomości na kanałach",
|
||||
"@messageFilter_enabledSubtitle": {
|
||||
"description": "Message filter: Applies to channel messages"
|
||||
},
|
||||
"messageFilter_displayTitle": "Przefiltrowane wiadomości",
|
||||
"@messageFilter_displayTitle": {
|
||||
"description": "Message filter: Filtered messages"
|
||||
},
|
||||
"messageFilter_displayPlaceholder": "Pokaż mały znacznik",
|
||||
"@messageFilter_displayPlaceholder": {
|
||||
"description": "Message filter: Show a small placeholder"
|
||||
},
|
||||
"messageFilter_displayHide": "Ukryj całkowicie",
|
||||
"@messageFilter_displayHide": {
|
||||
"description": "Message filter: Hide completely"
|
||||
},
|
||||
"messageFilter_displayHideHelp": "Ukryte wiadomości pozostają na liście Przefiltrowanych wiadomości.",
|
||||
"@messageFilter_displayHideHelp": {
|
||||
"description": "Message filter: Hidden messages stay in the Filtered messages list."
|
||||
},
|
||||
"messageFilter_rulesSection": "Twoje reguły",
|
||||
"@messageFilter_rulesSection": {
|
||||
"description": "Message filter: Your rules"
|
||||
},
|
||||
"messageFilter_rulesEmpty": "Brak reguł. Dodaj słowo, wyrażenie lub nazwę nadawcy, aby ukrywać pasujące wiadomości.",
|
||||
"@messageFilter_rulesEmpty": {
|
||||
"description": "Message filter: No rules yet. Add a word, phrase or sender name to hide messages that match it."
|
||||
},
|
||||
"messageFilter_addRule": "Dodaj regułę",
|
||||
"@messageFilter_addRule": {
|
||||
"description": "Message filter: Add rule"
|
||||
},
|
||||
"messageFilter_editRule": "Edytuj regułę",
|
||||
"@messageFilter_editRule": {
|
||||
"description": "Message filter: Edit rule"
|
||||
},
|
||||
"messageFilter_rulePattern": "Słowo, wyrażenie lub nazwa",
|
||||
"@messageFilter_rulePattern": {
|
||||
"description": "Message filter: Word, phrase or name"
|
||||
},
|
||||
"messageFilter_rulePatternHint": "np. meshos",
|
||||
"@messageFilter_rulePatternHint": {
|
||||
"description": "Message filter: e.g. meshos"
|
||||
},
|
||||
"messageFilter_ruleWhere": "Szukaj w",
|
||||
"@messageFilter_ruleWhere": {
|
||||
"description": "Message filter: Look in"
|
||||
},
|
||||
"messageFilter_ruleFieldText": "Treść wiadomości",
|
||||
"@messageFilter_ruleFieldText": {
|
||||
"description": "Message filter: Message text"
|
||||
},
|
||||
"messageFilter_ruleFieldSender": "Nazwa nadawcy",
|
||||
"@messageFilter_ruleFieldSender": {
|
||||
"description": "Message filter: Sender name"
|
||||
},
|
||||
"messageFilter_ruleFieldBoth": "Oba",
|
||||
"@messageFilter_ruleFieldBoth": {
|
||||
"description": "Message filter: Both"
|
||||
},
|
||||
"messageFilter_ruleMatch": "Dopasowanie",
|
||||
"@messageFilter_ruleMatch": {
|
||||
"description": "Message filter: Match"
|
||||
},
|
||||
"messageFilter_ruleMatchContains": "Zawiera",
|
||||
"@messageFilter_ruleMatchContains": {
|
||||
"description": "Message filter: Contains"
|
||||
},
|
||||
"messageFilter_ruleMatchWholeWord": "Całe słowo",
|
||||
"@messageFilter_ruleMatchWholeWord": {
|
||||
"description": "Message filter: Whole word"
|
||||
},
|
||||
"messageFilter_ruleMatchExact": "Dokładne",
|
||||
"@messageFilter_ruleMatchExact": {
|
||||
"description": "Message filter: Exact"
|
||||
},
|
||||
"messageFilter_ruleDeleted": "Reguła usunięta",
|
||||
"@messageFilter_ruleDeleted": {
|
||||
"description": "Message filter: Rule deleted"
|
||||
},
|
||||
"messageFilter_ruleSaved": "Reguła zapisana",
|
||||
"@messageFilter_ruleSaved": {
|
||||
"description": "Message filter: Rule saved"
|
||||
},
|
||||
"messageFilter_automaticSection": "Automatyczne",
|
||||
"@messageFilter_automaticSection": {
|
||||
"description": "Message filter: Automatic"
|
||||
},
|
||||
"messageFilter_duplicates": "Powtarzające się wiadomości",
|
||||
"@messageFilter_duplicates": {
|
||||
"description": "Message filter: Repeated messages"
|
||||
},
|
||||
"messageFilter_duplicatesSubtitle": "Ta sama wiadomość wysłana ponownie lub przez kilku nadawców",
|
||||
"@messageFilter_duplicatesSubtitle": {
|
||||
"description": "Message filter: The same message sent again, or by several senders"
|
||||
},
|
||||
"messageFilter_repeatedCharacters": "Powtarzające się znaki",
|
||||
"@messageFilter_repeatedCharacters": {
|
||||
"description": "Message filter: Repeated characters"
|
||||
},
|
||||
"messageFilter_repeatedCharactersSubtitle": "Wiadomości typu „aaaaaaaa” lub „!!!!!!!!”",
|
||||
"@messageFilter_repeatedCharactersSubtitle": {
|
||||
"description": "Message filter: Messages like \"aaaaaaaa\" or \"!!!!!!!!\""
|
||||
},
|
||||
"messageFilter_learning": "Ucz się z oznaczeń Spam",
|
||||
"@messageFilter_learning": {
|
||||
"description": "Message filter: Learn from Spam taps"
|
||||
},
|
||||
"messageFilter_learningSubtitle": "Przykłady: {spam} spam i {notSpam} nie-spam",
|
||||
"@messageFilter_learningSubtitle": {
|
||||
"description": "Message filter: {spam} spam and {notSpam} not-spam examples",
|
||||
"placeholders": {
|
||||
"spam": {
|
||||
"type": "int"
|
||||
},
|
||||
"notSpam": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_resetLearning": "Zresetuj naukę",
|
||||
"@messageFilter_resetLearning": {
|
||||
"description": "Message filter: Reset learning"
|
||||
},
|
||||
"messageFilter_resetLearningConfirm": "Zapomnieć wszystko, czego nauczył się filtr z Twoich oznaczeń Spam i Nie spam? Twoje reguły zostaną zachowane.",
|
||||
"@messageFilter_resetLearningConfirm": {
|
||||
"description": "Message filter: Forget everything learned from your Spam and Not spam taps? Your rules are kept."
|
||||
},
|
||||
"messageFilter_filteredMessages": "Przefiltrowane wiadomości ({count})",
|
||||
"@messageFilter_filteredMessages": {
|
||||
"description": "Message filter: Filtered messages ({count})",
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_filteredMessagesEmpty": "Nic nie zostało przefiltrowane.",
|
||||
"@messageFilter_filteredMessagesEmpty": {
|
||||
"description": "Message filter: Nothing has been filtered."
|
||||
},
|
||||
"messageFilter_ghostSingle": "Ukryta wiadomość · Dotknij, aby zobaczyć",
|
||||
"@messageFilter_ghostSingle": {
|
||||
"description": "Message filter: Hidden message · Tap to view"
|
||||
},
|
||||
"messageFilter_ghostMany": "{count, plural, one{{count} ukryta wiadomość · Dotknij, aby zobaczyć} few{{count} ukryte wiadomości · Dotknij, aby zobaczyć} many{{count} ukrytych wiadomości · Dotknij, aby zobaczyć} other{{count} ukrytej wiadomości · Dotknij, aby zobaczyć}}",
|
||||
"@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": "Pokazano ukrytą wiadomość · Dotknij, aby ukryć",
|
||||
"@messageFilter_ghostSingleExpanded": {
|
||||
"description": "Header above one revealed filtered message; tapping it hides the message again"
|
||||
},
|
||||
"messageFilter_ghostManyExpanded": "{count, plural, =1{Pokazano 1 ukrytą wiadomość · Dotknij, aby ukryć} few{Pokazano {count} ukryte wiadomości · Dotknij, aby ukryć} many{Pokazano {count} ukrytych wiadomości · Dotknij, aby ukryć} other{Pokazano {count} ukrytej wiadomości · Dotknij, aby ukryć}}",
|
||||
"@messageFilter_ghostManyExpanded": {
|
||||
"description": "Header above a revealed run of filtered messages; tapping it hides them again",
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_reasonTextRule": "Przefiltrowano: pasuje do „{pattern}”",
|
||||
"@messageFilter_reasonTextRule": {
|
||||
"description": "Message filter: Filtered: matches \"{pattern}\"",
|
||||
"placeholders": {
|
||||
"pattern": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_reasonSenderRule": "Przefiltrowano: nadawca „{pattern}”",
|
||||
"@messageFilter_reasonSenderRule": {
|
||||
"description": "Message filter: Filtered: sender \"{pattern}\"",
|
||||
"placeholders": {
|
||||
"pattern": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_reasonRepeatedCharacters": "Przefiltrowano: powtarzające się znaki",
|
||||
"@messageFilter_reasonRepeatedCharacters": {
|
||||
"description": "Message filter: Filtered: repeated characters"
|
||||
},
|
||||
"messageFilter_reasonDuplicate": "Przefiltrowano: powtórzona wiadomość",
|
||||
"@messageFilter_reasonDuplicate": {
|
||||
"description": "Message filter: Filtered: repeated message"
|
||||
},
|
||||
"messageFilter_reasonCrossSenderDuplicate": "Przefiltrowano: ta sama wiadomość od kilku nadawców",
|
||||
"@messageFilter_reasonCrossSenderDuplicate": {
|
||||
"description": "Message filter: Filtered: same message from several senders"
|
||||
},
|
||||
"messageFilter_reasonLearned": "Przefiltrowano: podobna do wiadomości oznaczonych jako spam",
|
||||
"@messageFilter_reasonLearned": {
|
||||
"description": "Message filter: Filtered: looks like messages you marked as spam"
|
||||
},
|
||||
"messageFilter_reasonManual": "Przefiltrowano: oznaczyłeś to jako spam",
|
||||
"@messageFilter_reasonManual": {
|
||||
"description": "Message filter: Filtered: you marked this as spam"
|
||||
},
|
||||
"messageFilter_notSpam": "Nie spam",
|
||||
"@messageFilter_notSpam": {
|
||||
"description": "Message filter: Not spam"
|
||||
},
|
||||
"messageFilter_hideAgain": "Ukryj",
|
||||
"@messageFilter_hideAgain": {
|
||||
"description": "Message filter: Hide"
|
||||
},
|
||||
"messageFilter_markSpam": "Oznacz jako spam",
|
||||
"@messageFilter_markSpam": {
|
||||
"description": "Message filter: Mark as spam"
|
||||
},
|
||||
"messageFilter_markedSpam": "Oznaczono jako spam",
|
||||
"@messageFilter_markedSpam": {
|
||||
"description": "Message filter: Marked as spam"
|
||||
},
|
||||
"messageFilter_markedNotSpam": "Oznaczono jako nie spam",
|
||||
"@messageFilter_markedNotSpam": {
|
||||
"description": "Message filter: Marked as not spam"
|
||||
},
|
||||
"messageFilter_filterSender": "Filtruj tego nadawcę",
|
||||
"@messageFilter_filterSender": {
|
||||
"description": "Message filter: Filter this sender"
|
||||
},
|
||||
"messageFilter_filterSenderConfirm": "Ukryć wszystkie wiadomości od „{name}”?",
|
||||
"@messageFilter_filterSenderConfirm": {
|
||||
"description": "Message filter: Hide all messages from \"{name}\"?",
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"messageFilter_filterLikeThis": "Filtruj podobne wiadomości…",
|
||||
"@messageFilter_filterLikeThis": {
|
||||
"description": "Message filter: Filter messages like this…"
|
||||
},
|
||||
"messageFilter_channelToggle": "Filtruj wiadomości na tym kanale",
|
||||
"@messageFilter_channelToggle": {
|
||||
"description": "Message filter: Filter messages in this channel"
|
||||
},
|
||||
"messageFilter_ghostIconTooltip": "Ukryte przez Twój filtr wiadomości",
|
||||
"@messageFilter_ghostIconTooltip": {
|
||||
"description": "Message filter: Hidden by your message filter"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user