Skip to content

Commit

Permalink
AO3-6836 Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
indesotw committed Jan 9, 2025
1 parent 7ce9562 commit 1dc2b89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<p><%= t(".deleted.html", title: style_creation_title(@work.title)) %></p>

<p><%= t(".import_project.html", opendoors_link: opendoors_link(t ".opendoors")) %></p>
<p><%= t(".import_project.html", opendoors_link: opendoors_link(t (".opendoors"))) %></p>

Check failure on line 6 in app/views/user_mailer/admin_deleted_work_notification.html.erb

View workflow job for this annotation

GitHub Actions / ERB Lint runner

[] reported by reviewdog 🐶 Lint/ParenthesesAsGroupedExpression: `(...)` interpreted as grouped expression. Raw Output: app/views/user_mailer/admin_deleted_work_notification.html.erb:6:67: Lint/ParenthesesAsGroupedExpression: `(...)` interpreted as grouped expression.

Check failure on line 6 in app/views/user_mailer/admin_deleted_work_notification.html.erb

View workflow job for this annotation

GitHub Actions / ERB Lint runner

[] reported by reviewdog 🐶 Style/NestedParenthesizedCalls: Add parentheses to nested method call `t (".opendoors")`. Raw Output: app/views/user_mailer/admin_deleted_work_notification.html.erb:6:66: Style/NestedParenthesizedCalls: Add parentheses to nested method call `t (".opendoors")`.

<p><%= t(".tos_violation.html", contact_abuse_link: abuse_link(t(".contact_abuse"))) %></p>

Expand Down
6 changes: 3 additions & 3 deletions config/locales/mailers/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ en:
deleted:
html: Your work %{title} was deleted from the Archive by a site admin.
text: Your work "%{title}" was deleted from the Archive by a site admin.
tos_violation:
html: If it's possible your work violated the Archive's Terms of Service, please %{contact_abuse_link}.
text: If it's possible your work violated the Archive's Terms of Service, please contact our Policy & Abuse team (%{contact_abuse_url}).
import_project:
html: If your work was part of an import project managed by our Open Doors team, please %{opendoors_link} with any further questions.
text: If your work was part of an import project managed by our Open Doors team, please contact Open Doors (%{opendoors_link}) with any further questions.
opendoors: contact Open Doors
subject: "[%{app_name}] Your work has been deleted by an admin"
tos_violation:
html: If it's possible your work violated the Archive's Terms of Service, please %{contact_abuse_link}.
text: If it's possible your work violated the Archive's Terms of Service, please contact our Policy & Abuse team (%{contact_abuse_url}).
admin_hidden_work_notification:
access: While your work is hidden, you will still be able to access it through the link provided above, but it will not be listed on your works page, and it won't be available to other users of the Archive.
check_email: Please check your email, including your spam folder, as the Policy & Abuse team may have already contacted you explaining why your work was hidden.
Expand Down

0 comments on commit 1dc2b89

Please sign in to comment.