Use I18n keys instead of human_attribute_name
Even if it means duplicating the translations in many cases, it's consistent with the rest of the application.
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><%= ProgressBar.human_attribute_name("id") %></th>
|
||||
<th><%= ProgressBar.human_attribute_name("kind") %></th>
|
||||
<th><%= ProgressBar.human_attribute_name("title") %></th>
|
||||
<th class="text-center"><%= ProgressBar.human_attribute_name("percentage") %></th>
|
||||
<th><%= t("admin.progress_bars.index.table_id") %></th>
|
||||
<th><%= t("admin.progress_bars.index.table_kind") %></th>
|
||||
<th><%= t("admin.progress_bars.index.table_title") %></th>
|
||||
<th class="text-center"><%= t("admin.progress_bars.index.table_percentage") %></th>
|
||||
<th><%= t("admin.actions.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user