Improve spam_hosts copy (#8203)

- Increase size of the reviewable's conversation excerpt to prevent truncation of the new copy
- Remove the `domain` parameter from the `flag_linked_posts_as_spam` method in the user model since it is no longer needed
- Remove the `domain` interpolation variable from all translation files
- Add "All posts from this user that include links should be reviewed." to server.en.yml for added clarity on why the posts entered the queue
This commit is contained in:
tshenry 2019-10-18 09:31:15 -07:00 committed by GitHub
parent 2fa3808928
commit 95114f87ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 22 additions and 23 deletions

View File

@ -1006,7 +1006,6 @@ class User < ActiveRecord::Base
message = I18n.t(
'flag_reason.spam_hosts',
domain: tl.domain,
base_path: Discourse.base_path,
locale: SiteSetting.default_locale
)

View File

@ -1505,7 +1505,7 @@ ar:
missing: "نأسف، لم نعثر على أيّ صورة رمزيّة مرتبطة بعنوان البريد هذا. هلّا أعدت رفعها ثانيةً؟"
flag_reason:
sockpuppet: "عضو جديد نشر موضوع جديد ثم قام عضو جديد اخر له نفس الIP (%{ip_address}) بالرد علية. انظر إعدادات<a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "عضو جديد حاول إنشاء عدة منشورات تحتوي علي روابط لنفس العنوان (%{domain}). انظر إعدادات <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "عضو جديد حاول إنشاء عدة منشورات تحتوي علي روابط لنفس العنوان. انظر إعدادات <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
user_email_no_user: "تعذّر العثور على مستخدم معرّفه %{user_id}"
user_email_post_not_found: "تعذر إيجاد المشاركة ذات المعرف %{post_id}"

View File

@ -1952,7 +1952,7 @@ be:
missing: "На жаль, мы не можам знайсці якія-небудзь аватар, звязаны з гэтым адрасам электроннай пошты. Вы можаце паспрабаваць загрузіць яго зноў?"
flag_reason:
sockpuppet: "Новы карыстальнік стварыў тэму, і яшчэ адзін новы карыстальнік у тым жа IP-адрасе (% {ip_address}) адказаў. См% Класс <A HREF = '{базовый_путь}"
spam_hosts: "Гэты новы карыстальнік спрабаваў стварыць некалькі пастоў з спасылкамі на адной і той жа вобласці (% {дамена}). См% Класс <A HREF = '{базовый_путь}"
spam_hosts: "Гэты новы карыстальнік спрабаваў стварыць некалькі пастоў з спасылкамі на адной і той жа вобласці. См% Класс <A HREF = '{базовый_путь}"
skipped_email_log:
exceeded_emails_limit: "перавышаны max_emails_per_day_per_user"
exceeded_bounces_limit: "перавышаны bounce_score_threshold"

View File

@ -2781,7 +2781,7 @@ ca:
missing: "No podem trobar cap avatar associat amb aquesta adreça de correu. Proveu de pujar-lo de nou."
flag_reason:
sockpuppet: "Un usuari nou ha creat un tema, i un altre usuari nou amb la mateixa adreça IP (%{ip_address}) hi ha respost. Mireu el paràmetre <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> de la configuració del lloc web."
spam_hosts: "Aquest usuari nou ha creat moltes publicacions amb enllaços al mateix domini (%{domain}). Vegeu el paràmetre <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> de la configuració del lloc web."
spam_hosts: "Aquest usuari nou ha creat moltes publicacions amb enllaços al mateix domini. Vegeu el paràmetre <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> de la configuració del lloc web."
skipped_email_log:
exceeded_emails_limit: "S'ha excedit max_emails_per_day_per_user"
exceeded_bounces_limit: "S'ha superat bounce_score_threshold"

View File

@ -3170,7 +3170,7 @@ de:
missing: "Hoppla, wir können kein Profilbild für diese E-Mail-Adresse finden. Kannst du versuchen es erneut hochzuladen?"
flag_reason:
sockpuppet: "Ein neuer Benutzer hat ein Thema erstellt und ein anderer neuer Benutzer mit der selben IP-Adresse (%{ip_address}) hat darauf geantwortet. Beachte die <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> Einstellung."
spam_hosts: "Dieser Benutzer hat versucht, mehrere Antworten mit Links zur gleichen Domain (%{domain}) zu schreiben. Beachte die <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>-Einstellung."
spam_hosts: "Dieser Benutzer hat versucht, mehrere Antworten mit Links zur gleichen Domain zu schreiben. Beachte die <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>-Einstellung."
skipped_email_log:
exceeded_emails_limit: "max_emails_per_day_per_user überschritten"
exceeded_bounces_limit: "bounce_score_threshold wurde überschritten"

View File

@ -2213,7 +2213,7 @@ el:
missing: "Λυπούμαστε, αλλά δεν μπορέσαμε να βρούμε κάποιο άβαταρ που να αντιστοιχίζεται με τη συγκεκριμένη διεύθυνση email. Μπορείτε να δοκιμάσετε να το ανεβάσετε ξανά;"
flag_reason:
sockpuppet: "Ένας νέος χρήστης δημιούργησε ένα νήμα και ένας άλλος νέος χρήσης με την ίδια διεύθυνση IP (%{ip_address}) απάντησε. Δες τις ρυθμίσεις ιστοτόπου <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "Αυτός ο νέος χρήστης προσπάθησε να δημιουργήσει πολλαπλές αναρτήσεις με συνδέσμους προς το ίδιο domain (%{domain}). Δες τις ρυθμίσεις ιστοτόπου <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "Αυτός ο νέος χρήστης προσπάθησε να δημιουργήσει πολλαπλές αναρτήσεις με συνδέσμους προς το ίδιο domain. Δες τις ρυθμίσεις ιστοτόπου <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "Υπέρβαση max_emails_per_day_per_user"
exceeded_bounces_limit: "Υπέρβαση bounce_score_threshold"

View File

@ -3638,7 +3638,7 @@ en:
flag_reason:
sockpuppet: "A new user created a topic, and another new user at the same IP address (%{ip_address}) replied. See the <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> site setting."
spam_hosts: "This new user tried to create multiple posts with links to the same domain (%{domain}). See the <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> site setting."
spam_hosts: "This new user tried to create multiple posts with links to the same domain. All posts from this user that include links should be reviewed. See the <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> site setting."
skipped_email_log:
exceeded_emails_limit: "Exceeded max_emails_per_day_per_user"

View File

@ -3213,7 +3213,7 @@ es:
missing: "Lo sentimos, no pudimos encontrar un avatar asociado a esa dirección de correo electrónico. ¿Puedes intentar subirlo de nuevo?"
flag_reason:
sockpuppet: "Un usuario nuevo creó un tema y otro usuario nuevo le ha respondido desde la misma dirección IP (%{ip_address}). Revisa la opción <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> en la configuración del sitio."
spam_hosts: "Este usuario nuevo intentó crear varios temas con enlaces al mismo dominio (%{domain}). Revisa la opción <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> en la configuración del sitio."
spam_hosts: "Este usuario nuevo intentó crear varios temas con enlaces al mismo dominio. Revisa la opción <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> en la configuración del sitio."
skipped_email_log:
exceeded_emails_limit: "max_emails_per_day_per_user excedido"
exceeded_bounces_limit: "bounce_score_threshold excedido"

View File

@ -1988,7 +1988,7 @@ fa_IR:
missing: "با عرض پوزش، نمی‌توانیم آواتار مرتبطی با این ایمیل پیدا کنیم. لطفا دوباره آپلود کنید."
flag_reason:
sockpuppet: "یک کاربر جدید موضوع جدیدی ایجاد کرده و کاربری با همان آیپی به موضوع پاسخ داده (%{ip_address}). قسمت <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> را از تنظیمات سایت ببینید."
spam_hosts: "این کاربر تلاش کرده چند نوشته با لینک به یک دامنه ارسال کند(%{domain}). قسمت <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> را از تنظیمات سایت ببینید."
spam_hosts: "این کاربر تلاش کرده چند نوشته با لینک به یک دامنه ارسال کند. قسمت <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> را از تنظیمات سایت ببینید."
skipped_email_log:
exceeded_emails_limit: "مقدار max_emails_per_day_per_user بیش از حد مجاز است"
exceeded_bounces_limit: "مقدار bounce_score_threshold بیش از حد مجاز است"

View File

@ -2975,7 +2975,7 @@ fi:
missing: "Pahoittelut, emme löydä profiilikuvaa, joka olisi yhdistetty tähän sähköpostiosoitteeseen. Voitko yrittää ladata sen uudestaan?"
flag_reason:
sockpuppet: "Uusi käyttäjä aloitti ketjun, johon toinen uusi käyttäjä samasta IP-osoitteesta (%{ip_address}) vastasi. Katso asetus <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "Tämä uusi käyttäjä yritti luoda useita viestejä, jotka sisälsivät linkkejä samaan verkkotunnukseen (%{domain}). Katso asetus <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "Tämä uusi käyttäjä yritti luoda useita viestejä, jotka sisälsivät linkkejä samaan verkkotunnukseen. Katso asetus <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "max_emails_per_day_per_user ylitettiin"
exceeded_bounces_limit: "bounce_score_threshold ylitettiin"

View File

@ -3165,7 +3165,7 @@ fr:
missing: "Désolé, nous ne parvenons pas à trouver un avatar associé à cette adresse mail. Pouvez-vous essayer de la télécharger à nouveau ?"
flag_reason:
sockpuppet: "Un nouvel utilisateur a créé un sujet et un autre nouvel utilisateur avec la même adresse IP (%{ip_address}) a répondu. Voir le paramètre <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "Ce nouvel utilisateur a tenté de créer plusieurs messages avec des liens vers le même domaine (%{domain}). Voir le paramètre <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "Ce nouvel utilisateur a tenté de créer plusieurs messages avec des liens vers le même domaine. Voir le paramètre <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "max_emails_per_day_per_user dépassé"
exceeded_bounces_limit: "bounce_score_threshold dépassé"

View File

@ -3341,7 +3341,7 @@ he:
missing: "מצטערים, אנחנו לא יכולים למצוא אף דמות שמקושרת לכתובת מייל זו. תוכלו להעלות זאת שוב?"
flag_reason:
sockpuppet: "משתמש חדש יצר נושא, ומשתמש חדש אחר מאותה כתובת IP (%{ip_address}) ענו להם. ראו את הגדרת האתר <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "משתמש חדש זה ניסה ליצור מספר פוסטים עם קישורים לאותה הכתובת (%{domain}). ראו את הגדרת האתר <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "משתמש חדש זה ניסה ליצור מספר פוסטים עם קישורים לאותה הכתובת. ראו את הגדרת האתר <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "נחצה max_emails_per_day_per_user"
exceeded_bounces_limit: "נחצה bounce_score_threshold"

View File

@ -2991,7 +2991,7 @@ it:
missing: "Spiacenti, non troviamo nessun avatar associato a questo indirizzo email. Puoi provare a caricarlo nuovamente?"
flag_reason:
sockpuppet: "Un nuovo utente ha creato un argomento, e un altro nuovo utente ha risposto dallo stesso indirizzo IP (%{ip_address}). Vedi l'impostazione del sito <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "Questo nuovo utente ha provato a creare più messaggi con collegamenti allo stesso dominio (%{domain}). Vedi l'impostazione del sito <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "Questo nuovo utente ha provato a creare più messaggi con collegamenti allo stesso dominio. Vedi l'impostazione del sito <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "Ha superato max_emails_per_day_per_user"
exceeded_bounces_limit: "Ha superato bounce_score_threshold"

View File

@ -2387,7 +2387,7 @@ nl:
missing: "Sorry, we kunnen geen avatar vinden die met dat e-mailadres is gekoppeld. Kunt u proberen deze opnieuw te uploaden?"
flag_reason:
sockpuppet: "Een nieuwe gebruiker heeft een topic aangemaakt, en een andere nieuwe gebruiker op hetzelfde IP-adres (%{ip_address}) heeft geantwoord. Bekijk de website-instelling <a href='%{base_path}/admin/site_settings/category/spam'>'flag_sockpuppets'</a>."
spam_hosts: "Deze nieuwe gebruiker heeft geprobeerd meerdere berichten met koppelingen naar hetzelfde domein (%{domain}) aan te maken. Bekijk de website-instelling <a href='%{base_path}/admin/site_settings/category/spam'>newuser_spam_host_threshold</a>."
spam_hosts: "Deze nieuwe gebruiker heeft geprobeerd meerdere berichten met koppelingen naar hetzelfde domein aan te maken. Bekijk de website-instelling <a href='%{base_path}/admin/site_settings/category/spam'>newuser_spam_host_threshold</a>."
skipped_email_log:
exceeded_emails_limit: "max_emails_per_day_per_user overschreden"
exceeded_bounces_limit: "bounce_score_threshold overschreden"

View File

@ -2356,7 +2356,7 @@ pl_PL:
missing: "Przepraszamy, nie możemy odnaleźć żadnego avatara przypisanego do tego konta email. Spróbuj załadować go ponownie"
flag_reason:
sockpuppet: "Nowy użytkownik stworzył temat, a inny nowy użytkownik z tym samym adresem IP (%{ip_address}) odpowiedział. <a href='%{base_path}/admin/site_settings/category/spam'>'flag_sockpuppets'</a> ustawienia strony."
spam_hosts: "Ten nowy użytkownik próbował stworzyć wiele postów z linkami do tej samej domeny (%{domain}). Zobacz <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold</a> ustawienia strony."
spam_hosts: "Ten nowy użytkownik próbował stworzyć wiele postów z linkami do tej samej domeny. Zobacz <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold</a> ustawienia strony."
skipped_email_log:
exceeded_emails_limit: "Przekroczono maksymalną, dzienną liczbę emaili dla użytkownika"
exceeded_bounces_limit: "Przekroczono bounce_score_threshold "

View File

@ -1732,7 +1732,7 @@ pt:
missing: "Desculpe, mas não conseguimos encontrar nenhum avatar associado com esse endereço de email. Pode tentar carregá-lo novamente?"
flag_reason:
sockpuppet: "Um novo utilizador criou um tópico, no qual um outro novo utilizador com o mesmo IP (%{ip_address}) respondeu. Veja as configurações de <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> nas configurações do sítio."
spam_hosts: "Este novo utilizador tentou criar múltiplas publicações com ligações ao mesmo domínio (%{domain}). Verifique as configurações do sítio de <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "Este novo utilizador tentou criar múltiplas publicações com ligações ao mesmo domínio. Verifique as configurações do sítio de <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "Excedeu max_emails_per_day_per_user"
exceeded_bounces_limit: "Ultrapassou bounce_score_threshold"

View File

@ -3071,7 +3071,7 @@ pt_BR:
missing: "Desculpe! Não conseguimos achar nenhum avatar associado a esse endereço de email. Você pode tentar novamente?"
flag_reason:
sockpuppet: "Um novo usuário criou um tópico, e um outro novo usuário no mesmo endereço IP (%{ip_address}) respondeu. Veja a configuração <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> do site."
spam_hosts: "Esse novo usuário tentou criar múltiplas publicações com links para o mesmo domínio (%{domain}). Veja a configuração <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> do site."
spam_hosts: "Esse novo usuário tentou criar múltiplas publicações com links para o mesmo domínio. Veja a configuração <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> do site."
skipped_email_log:
exceeded_emails_limit: "Excedido max_emails_per_day_per_user"
exceeded_bounces_limit: "Excedido bounce_score_threshold"

View File

@ -1659,7 +1659,7 @@ ro:
missing: "Ne pare rău, dar nu putem găsi avatarul asociat cu această adresă de email. Ai putea să îl încarci din nou?"
flag_reason:
sockpuppet: "Un utilizator nou a creat un subiect, și un alt utilizator nou de la aceeași adresă de IP (%{ip_address}) a răspuns. Vezi <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> la setările site-ului."
spam_hosts: "Acest nou utilizator a încrecat să creeze postări multiple cu link-uri către acelasi domeniu (%{domain}). Vezi <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> la setările site-ului."
spam_hosts: "Acest nou utilizator a încrecat să creeze postări multiple cu link-uri către acelasi domeniu. Vezi <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> la setările site-ului."
skipped_email_log:
exceeded_emails_limit: "Depășit max_emails_per_day_per_user"
exceeded_bounces_limit: "Depășit bounce_score_threshold"

View File

@ -2292,7 +2292,7 @@ ru:
missing: "К сожалению, нам не удалось найти ни одного аватара, связанного с этим электронным адресом. Попытаетесь загрузить аватар снова?"
flag_reason:
sockpuppet: "Новый пользователь создал тему, а другой новый пользователь ответил с этого же IP адреса (%{ip_address}). Смотрите параметр <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> сайта."
spam_hosts: "Этот новый пользователь пытался создать множество сообщений с ссылками на один и тот же домен (%{domain}). Смотрите параметр <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> сайта."
spam_hosts: "Этот новый пользователь пытался создать множество сообщений с ссылками на один и тот же домен. Смотрите параметр <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> сайта."
skipped_email_log:
exceeded_emails_limit: "Превышен max_emails_per_day_per_user"
exceeded_bounces_limit: "Превышен bounce_score_threshold"

View File

@ -1782,7 +1782,7 @@ sl:
edit_reason: "prenos slik v lokalno kopijo"
flag_reason:
sockpuppet: "Nov uporabnik je ustvaril temo in drugi novi uporabnik z enakim IP naslovom (%{ip_address}) je odgovoril. Preverite <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a> nastavitev strani."
spam_hosts: "Ta novi uporabnik je poskusil ustvariti več prispevkov z povezavami na enako domeno (%{domain}). Preverite <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> nastavitev strani."
spam_hosts: "Ta novi uporabnik je poskusil ustvariti več prispevkov z povezavami na enako domeno. Preverite <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> nastavitev strani."
edit_this_page: "Uredi to stran"
csv_export:
boolean_yes: "Da"

View File

@ -1604,7 +1604,7 @@ sv:
missing: "Tyvärr, vi kunde inte hitta någon avatar associerad med den e-postadressen. Kan du försöka ladda upp den igen?"
flag_reason:
sockpuppet: "En ny användare skapade ett ämne, och en annan ny användare på samma IP-adress (%{ip_address}) svarade. Granska webbplatsinställningen <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "Den här nya användaren försökte skapa flera inlägg med länkar till samma domän (%{domain}). Granska webbplatsinställningen <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
spam_hosts: "Den här nya användaren försökte skapa flera inlägg med länkar till samma domän. Granska webbplatsinställningen <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a>."
skipped_email_log:
exceeded_emails_limit: "Översteg max_emails_per_day_per_user"
exceeded_bounces_limit: "Översteg bounce_score_threshold"

View File

@ -1846,7 +1846,7 @@ sw:
missing: "Samahani, tumeshindwa kuona picha inayoendana na barua pepe hiyo. Unaweza kuipakia tena?"
flag_reason:
sockpuppet: "Mtumiaji mpya ametengeneza mada, na mtumiaji mpya mwenye anwani ya mtandao hiyo hiyo (%{ip_address}) amejibu. Angalia mpangilio wa tovuti <a href='%{base_path}/admin/site_settings/category/spam'>`flag_sockpuppets`</a>."
spam_hosts: "Mtumiaji mpya amejaribu kutengeneza machapisho mengi yenye viungo kwenda kwa kikoa (%{domain}). Tembelea <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> mpangilio wa tovuti."
spam_hosts: "Mtumiaji mpya amejaribu kutengeneza machapisho mengi yenye viungo kwenda kwa kikoa. Tembelea <a href='%{base_path}/admin/site_settings/category/spam'>`newuser_spam_host_threshold`</a> mpangilio wa tovuti."
skipped_email_log:
exceeded_emails_limit: "Kiwango kimepita max_emails_per_day_per_user"
exceeded_bounces_limit: "Kiwango kimepita bounce_score_threshold"

View File

@ -15,7 +15,7 @@ class Reviewable < ActiveRecord::Base
end
def self.excerpt(cooked)
excerpt = ::Post.excerpt(cooked, 200, keep_emoji_images: true)
excerpt = ::Post.excerpt(cooked, 250, keep_emoji_images: true)
# remove the first link if it's the first node
fragment = Nokogiri::HTML.fragment(excerpt)
if fragment.children.first == fragment.css("a:first").first && fragment.children.first