Remove "From" from every post in Popular Posts section of summary emails

This commit is contained in:
Neil Lalonde 2017-02-20 11:04:10 -05:00
parent 3ce3abef8f
commit aa2c527c60
16 changed files with 1 additions and 16 deletions

View File

@ -279,7 +279,6 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
</td>
<td style="color:#0a0a0a;line-height:1.3;padding:0 8px 8px 8px;text-align:right;">
<p style="color:#8f8f8f;line-height:1.3;margin:0 0 10px 0;padding:0;text-align:right;">
<%=t 'user_notifications.digest.from_topic_label' %>
<a href="<%= post.full_url -%>" style="font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left;text-decoration:none"><%= post.topic.title.truncate(60, separator: /\s/) -%></a>
</p>
<a href="<%= post.full_url -%>" class="with-accent-colors" style="width:100%;text-decoration:none;padding:8px 16px;white-space: nowrap;">

View File

@ -29,7 +29,7 @@
### <%=t 'user_notifications.digest.popular_posts' %>
<%- @popular_posts.each_with_index do |post,i| %>
<%= post.user.username -%> <%=t 'user_notifications.digest.from_topic_label' -%> <%= raw(@markdown_linker.create(post.topic.title, post.topic.relative_url)) %>
<%= post.user.username -%> - <%= raw(@markdown_linker.create(post.topic.title, post.topic.relative_url)) %>
<%= raw(post.excerpt(1000, strip_links: true, text_entities: true, markdown_images: true)) %>
--------------------------------------------------------------------------------

View File

@ -2184,7 +2184,6 @@ de:
follow_topic: "Diesem Thema folgen"
join_the_discussion: "Mehr lesen"
popular_posts: "Beliebte Beiträge"
from_topic_label: "Von"
more_new: "Neu für dich"
subject_template: "Zusammenfassung für [%{site_name}]"
unsubscribe: "Diese Zusammenfassung wird von %{site_link} gesendet, wenn wir dich einige Zeit lang nicht gesehen haben. Abbestellen unter %{unsubscribe_link}."

View File

@ -2478,7 +2478,6 @@ en:
follow_topic: "Follow this topic"
join_the_discussion: "Read More"
popular_posts: "Popular Posts"
from_topic_label: "From"
more_new: "New for you"
subject_template: "[%{site_name}] Summary"
unsubscribe: "This summary is sent from %{site_link} when we haven't seen you in a while. To unsubscribe %{unsubscribe_link}."

View File

@ -1988,7 +1988,6 @@ es:
follow_topic: "Seguir este tema"
join_the_discussion: "Leer más"
popular_posts: "Temas populares"
from_topic_label: "Formulario"
subject_template: "Resumen de [%{site_name}]"
unsubscribe: "Este resumen se envía desde %{site_link} cuando pasa un tiempo desde tu última visita. Para cancelar tu suscripción %{unsubscribe_link}."
click_here: "clic aquí"

View File

@ -2159,7 +2159,6 @@ fi:
follow_topic: "Seuraa tätä ketjua"
join_the_discussion: "Lue lisää"
popular_posts: "Suosittuja viestejä"
from_topic_label: "Lähettäjä"
more_new: "Uutta sinulle"
subject_template: "[%{site_name}] Kooste"
unsubscribe: "Tämä kooste lähetettiin sivustolta %{site_link}, koska emme ole nähneet sinua vähään aikaan. Jos et halua vastaanottaa näitä viestejä %{unsubscribe_link}."

View File

@ -2091,7 +2091,6 @@ fr:
follow_topic: "Suivre ce sujet"
join_the_discussion: "Lire la suite"
popular_posts: "Messages populaires"
from_topic_label: "De"
more_new: "Nouveau pour vous"
subject_template: "[%{site_name}] Résumé"
unsubscribe: "Ce résumé est envoyé depuis %{site_link} lorsque nous ne vous voyons plus depuis un moment. Pour se désabonner %{unsubscribe_link}."

View File

@ -2183,7 +2183,6 @@ he:
follow_topic: "עיקבו אחרי נושא זה"
join_the_discussion: "קראו עוד"
popular_posts: "פוסטים פופולאריים"
from_topic_label: "מאת"
more_new: "חדש בשבילכם"
subject_template: "[%{site_name}] סיכום"
unsubscribe: "סיכום זה נשלח מ %{site_link} כאשר אנחנו לא רואים אתכם לאורך זמן. כדי לבטל את המנוי %{unsubscribe_link}."

View File

@ -887,7 +887,6 @@ nb_NO:
follow_topic: "Følg dette emnet"
join_the_discussion: "Les mer"
popular_posts: "Populære innlegg"
from_topic_label: "Fra"
more_new: "Nytt for deg"
subject_template: "[%{site_name}] Oppsummering"
unsubscribe: "Denne oppsummeringen blir sendt fra %{site_link} når vi ikke har sett deg på en stund. For å melde deg av %{unsubscribe_link}."

View File

@ -1465,7 +1465,6 @@ pl_PL:
follow_topic: "Śledź ten temat"
join_the_discussion: "Czytaj więcej"
popular_posts: "Popularne wpisy"
from_topic_label: "Od"
more_new: "Nowe dla ciebie"
subject_template: "%{site_name} Podsumowanie"
click_here: "kliknij tutaj"

View File

@ -2040,7 +2040,6 @@ pt:
follow_topic: "Acompanhar este tópico"
join_the_discussion: "Ler Mais"
popular_posts: "Publicações Populares"
from_topic_label: "De"
subject_template: "Sumário de [%{site_name}] "
unsubscribe: "Este resumo é enviado de %{site_link} quando não o vemos há algum tempo. Para anular a subscrição %{unsubscribe_link}."
click_here: "clique aqui"

View File

@ -1564,7 +1564,6 @@ pt_BR:
follow_topic: "Seguir esse tópico"
join_the_discussion: "Leia Mais"
popular_posts: "Publicações Populares"
from_topic_label: "De"
subject_template: "[%{site_name}] Resumo das discussões"
unsubscribe: "Este resumo é enviado por %{site_link} quando não o vemos há algum tempo. Para cancelar a assinatura %{unsubscribe_link}."
click_here: "clique aqui"

View File

@ -2101,7 +2101,6 @@ ro:
follow_topic: "Urmărește acest subiect"
join_the_discussion: "Citește mai mult"
popular_posts: "Postări notorii"
from_topic_label: "De la"
subject_template: "[%{site_name}] Rezumat"
unsubscribe: "Acest rezumat este transmis de pe %{site_link} când a trecut ceva vreme de când nu te-am mai văzut. Pentru a te dezabona, %{unsubscribe_link}."
click_here: "click aici"

View File

@ -1555,7 +1555,6 @@ ru:
follow_topic: "Следить за этой темой"
join_the_discussion: "Читать Далее"
popular_posts: "Популярные Сообщения"
from_topic_label: "От"
more_new: "Новое для Вас"
click_here: "нажмите здесь"
mailing_list:

View File

@ -2034,7 +2034,6 @@ zh_CN:
follow_topic: "关注主题"
join_the_discussion: "阅读更多"
popular_posts: "流行帖子"
from_topic_label: "来自"
more_new: "你关注的新帖"
subject_template: "[%{site_name}] 摘要"
unsubscribe: "这是封来自%{site_link}的摘要邮件,因为你长时间没有访问而发送。%{unsubscribe_link}取消订阅。"

View File

@ -2082,7 +2082,6 @@ zh_TW:
follow_topic: "關注主題"
join_the_discussion: "閲讀更多"
popular_posts: "流行帖子"
from_topic_label: "來自"
more_new: "新內容"
subject_template: "[%{site_name}] 摘要"
unsubscribe: "這是封來自%{site_link}的摘要郵件,因為你長時間沒有訪問而發送。%{unsubscribe_link}取消訂閲。"