Skip to content

Commit

Permalink
Fixed unused key & renamed delet_confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilien Bausson committed Oct 11, 2023
1 parent 88446ca commit 140cfc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/views/sites/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<%= link_to t("action.delete"),
site,
method: :delete,
data: { confirm: t(".table.body.delete.confirmation") },
data: { confirm: t(".delete_confirmation") },
class: 'btn btn-warning' %>
</td>
<% end %>
Expand Down
8 changes: 1 addition & 7 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ fr:
index:
title: Sites
add_site: Ajouter un site
table:
head:
name: Nom
position: Position
body:
delete:
confirmation: Ce site ne pourra pas être supprimé tant qu'il sera associé à au moins une salle. Voulez-vous continuer ?
delete_confirmation: Ce site ne pourra pas être supprimé tant qu'il sera associé à au moins une salle. Voulez-vous continuer ?
show:
title: 'Site #%{site_id} - %{site_name}'
new:
Expand Down

0 comments on commit 140cfc5

Please sign in to comment.