Skip to content

Commit

Permalink
AO3-5351 Make remaining text in feedback response i18n-able
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Apr 10, 2024
1 parent bd57a26 commit 39b6ffe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
13 changes: 2 additions & 11 deletions app/views/user_mailer/feedback.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,11 @@
<% end %>
</p>

<p>
We're working hard to reply to everyone, and we'll respond to you as soon as we can.
Your communication is greatly valued, and it will be reviewed and
answered by our volunteer Support team. In the meantime, here is a copy of
the information you submitted through the Technical Support and Feedback
form:
</p>
<p><%= t(".introduction") %></p>

<%= style_quote("<b>#{raw(strip_images(@summary))}</b> #{raw(strip_images(@comment))}") %>

<p>
If you have additional questions or information, do not hesitate to send in
another ticket.
</p>
<p><%= t(".additional_ticket") %></p>

<p>
<%= t("mailer.general.closing.formal") %><br/>
Expand Down
8 changes: 2 additions & 6 deletions app/views/user_mailer/feedback.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
<%= t("mailer.general.greeting.informal.unaddressed") %>
<% end %>

We're working hard to reply to everyone, and we'll respond to you as soon as we can.
Your communication is greatly valued, and it will be reviewed and answered
by our volunteer Support team. In the meantime, here is a copy of the
information you submitted through the Technical Support and Feedback form:
<%= t(".introduction") %>

<%= text_divider %>

Expand All @@ -18,8 +15,7 @@ information you submitted through the Technical Support and Feedback form:

<%= text_divider %>

If you have additional questions or information, do not hesitate to send in
another ticket.
<%= t(".additional_ticket") %>

<%= t("mailer.general.closing.formal") %>
<%= t("mailer.general.signature.support") %>
Expand Down
3 changes: 3 additions & 0 deletions config/locales/mailers/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ en:
text: If you have questions, please %{support} (%{url}).
subject: "[%{app_name}] Your work has been deleted"
support: contact Support
feedback:
additional_ticket: If you have additional questions or information, do not hesitate to send in another ticket.
introduction: 'We''re working hard to reply to everyone, and we''ll respond to you as soon as we can. Your communication is greatly valued, and it will be reviewed and answered by our volunteer Support team. In the meantime, here is a copy of the information you submitted through the Technical Support and Feedback form:'
invitation:
been_invited: You've been invited to join the Archive of Our Own!
features: With an account, you can post fanworks, use bookmarks to keep track of works you enjoyed, receive subscription emails when your favorite creators or works update, customize the way the site looks for you, and more!
Expand Down

0 comments on commit 39b6ffe

Please sign in to comment.