Spam banner: inset card, red title, plain-language reasons, translated
The banner sits inside the message body's 16px gutter with room below, "Looks like spam!" is red, and the rspamd symbols are replaced by up to three human-readable reasons (neutral symbols are hidden). All strings go through ctx.t with English and Polish catalog entries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -876,6 +876,25 @@ export const en = {
|
||||
"mail.translatedFrom": "Translated from {language}",
|
||||
"mail.translatedFromMany": "Translated from {languages}",
|
||||
"mail.translateFailed": "Couldn't translate this message. The translation service may be busy or unavailable.",
|
||||
"antispam.looksLikeSpam": "Looks like spam!",
|
||||
"antispam.score": "score {score}",
|
||||
"antispam.moveToSpam": "Move to Spam",
|
||||
"antispam.notSpam": "Not spam",
|
||||
"antispam.trustSender": "Always trust sender",
|
||||
"antispam.why.bayes": "resembles mail you marked as spam",
|
||||
"antispam.why.fuzzy": "matches known spam",
|
||||
"antispam.why.reputation": "sender has a poor reputation",
|
||||
"antispam.why.blocklist": "sending server is on a spam blocklist",
|
||||
"antispam.why.badLinks": "links to known spam or phishing sites",
|
||||
"antispam.why.phishing": "link text hides its real destination",
|
||||
"antispam.why.authFail": "sender failed authenticity checks",
|
||||
"antispam.why.forged": "sender address looks forged",
|
||||
"antispam.why.replyTo": "replies would go to a different address",
|
||||
"antispam.why.headers": "message is missing standard headers",
|
||||
"antispam.why.hiddenText": "contains hidden text",
|
||||
"antispam.why.suspiciousServer": "sending server looks suspicious",
|
||||
"antispam.why.shouting": "subject written in capitals",
|
||||
"antispam.why.date": "message date is implausible",
|
||||
} as const;
|
||||
|
||||
export type MessageKey = keyof typeof en;
|
||||
|
||||
@@ -902,4 +902,23 @@ export const pl: Catalog = {
|
||||
"mail.translatedFrom": "Przetłumaczono z języka: {language}",
|
||||
"mail.translatedFromMany": "Przetłumaczono z języków: {languages}",
|
||||
"mail.translateFailed": "Nie udało się przetłumaczyć tej wiadomości. Usługa tłumaczenia może być zajęta lub niedostępna.",
|
||||
"antispam.looksLikeSpam": "Wygląda na spam!",
|
||||
"antispam.score": "wynik {score}",
|
||||
"antispam.moveToSpam": "Przenieś do spamu",
|
||||
"antispam.notSpam": "To nie spam",
|
||||
"antispam.trustSender": "Zawsze ufaj nadawcy",
|
||||
"antispam.why.bayes": "przypomina wiadomości oznaczone przez Ciebie jako spam",
|
||||
"antispam.why.fuzzy": "pasuje do znanego spamu",
|
||||
"antispam.why.reputation": "nadawca ma złą reputację",
|
||||
"antispam.why.blocklist": "serwer nadawcy jest na liście spamerów",
|
||||
"antispam.why.badLinks": "zawiera linki do stron ze spamem lub phishingiem",
|
||||
"antispam.why.phishing": "tekst linku ukrywa jego prawdziwy adres",
|
||||
"antispam.why.authFail": "nadawca nie przeszedł weryfikacji autentyczności",
|
||||
"antispam.why.forged": "adres nadawcy wygląda na podrobiony",
|
||||
"antispam.why.replyTo": "odpowiedzi trafiłyby na inny adres",
|
||||
"antispam.why.headers": "brakuje standardowych nagłówków",
|
||||
"antispam.why.hiddenText": "zawiera ukryty tekst",
|
||||
"antispam.why.suspiciousServer": "serwer nadawcy wygląda podejrzanie",
|
||||
"antispam.why.shouting": "temat napisany wielkimi literami",
|
||||
"antispam.why.date": "data wiadomości jest nieprawdopodobna",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user