app/views/adminpanel/icons/_delete.html.erb in adminpanel-2.4.2 vs app/views/adminpanel/icons/_delete.html.erb in adminpanel-2.4.3
- old
+ new
@@ -5,14 +5,14 @@
:i,
nil,
class: 'fa fa-trash-o'
),
[resource],
- title: 'Eliminar',
+ title: I18n.t('action.delete', resource: resource.name),
id: 'resource-delete',
method: :delete,
data: {
- confirm: "Eliminar #{resource.name}?"
+ confirm: I18n.t('action.delete_confirmation', resource: resource.name)
}
)
%>
<% end %>