Skip to content

Commit

Permalink
fix: renaming report_spam button to report_post
Browse files Browse the repository at this point in the history
  • Loading branch information
Waishnav committed Jul 27, 2024
1 parent 0391c97 commit 187c67f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<%= link_to t('mark_as_solution'), simple_discussion.solved_forum_thread_forum_post_path(@forum_thread, forum_post), method: :put, class: "dropdown-item" %>
<% end %>
<% end %>
<%= link_to t('report_spam'), "#", class: "dropdown-item", data: { controller: "report-spam", report_spam_target: "reportSpamButton", toggle: "modal", target: "#reportSpamModal", post_id: forum_post.id } %>
<%= link_to t('report_post'), "#", class: "dropdown-item", data: { controller: "report-spam", report_spam_target: "reportSpamButton", toggle: "modal", target: "#reportSpamModal", post_id: forum_post.id } %>
</div>
</div>
<% end %>
Expand Down
3 changes: 3 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ en:
login: "Log in"
commented: "commented:"
inappropriate_language_error_message: "contains inappropriate language: %{words}"
unmark_as_solution: "Démarquer comme solution"
mark_as_solution: "Marquer comme solution"
report_post: "Report Post"
3 changes: 3 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ es:
login: "Iniciar sesión"
commented: "comentó:"
inappropriate_language_error_message: "contiene lenguaje inapropiado: %{words}"
unmark_as_solution: "Desmarcar como solución"
mark_as_solution: "Marcar como solución"
report_post: "Reportar publicación"
3 changes: 3 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ fr:
login: "Se connecter"
commented: "a commenté:"
inappropriate_language_error_message: "contient un langage inapproprié : %{words}"
unmark_as_solution: "Démarquer comme solution"
mark_as_solution: "Marquer comme solution"
report_post: "Signaler le post"

0 comments on commit 187c67f

Please sign in to comment.