Project

General

Profile

« Previous | Next » 

Revision 1ffaa585

Added by Marek Hulán about 4 years ago

Refs #20832 - extract strings

View differences:

app/views/common/confirm_class_clean_up.html.erb
<%= (_('Foreman has detected definitions of unknown classes in your database. This can happen after a plugin removal which did not properly cleaned up data it created. Would you like to delete all records from SQL table <b>"%{table}"</b> with column <b>"%{column}"</b> having the value <b>"%{value}"</b>') % { table: @parent_class.table_name, column: @parent_class.inheritance_column, value: @unknown_class_name}).html_safe %>
<br><br>
<%= link_to 'Delete', '?confirm_data_deletion=yes', class: 'btn btn-danger', data: { confirm: 'The data deletion can not be undone, are you sure you want to proceed?' } %>
<%= link_to _('Delete'), '?confirm_data_deletion=yes', class: 'btn btn-danger', data: { confirm: _('The data deletion can not be undone, are you sure you want to proceed?') } %>

Also available in: Unified diff