Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/gifts/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<%= span_if_current ts("Accepted Gifts"), user_gifts_path(@user), !(params[:refused]) %>
</li>
<li>
<%= span_if_current ts("Refused Gifts"), user_gifts_path(@user, refused: true) %>
<%= span_if_current ts("Refused Gifts"), user_gifts_path(@user, refused: true), params[:refused] %>

Check failure on line 20 in app/views/gifts/index.html.erb

View workflow job for this annotation

GitHub Actions / ERB Lint runner

[] reported by reviewdog 🐶 I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards Raw Output: app/views/gifts/index.html.erb:20:26: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
</li>
</ul>
<% elsif !@user %>
Expand Down
Loading