Merge pull request #865 from internetee/fix-translations

Fix translations
This commit is contained in:
Timo Võhmar 2018-06-14 13:34:03 +03:00 committed by GitHub
commit d8778a4af6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@
%th{class: 'col-xs-3'}=custom_sort_link t(:domain_name), :name
%th{class: 'col-xs-3'}=custom_sort_link t(:registrar_name), :registrar_name
%th{class: 'col-xs-3'}=custom_sort_link t(:valid_to), :valid_to
%th{class: 'col-xs-3'}=custom_sort_link t(:roles), :roles
%th{class: 'col-xs-3'}=custom_sort_link Domain.human_attribute_name(:roles), :roles
%tbody
- domains.each do |x|
%tr

View file

@ -30,13 +30,13 @@
%br
%dt= t(:created)
%dt= Contact.human_attribute_name :created_at
%dd
= l(@contact.created_at, format: :short)
by
= @contact.name
%dt= t(:updated)
%dt= Contact.human_attribute_name :updated_at
%dd
= l(@contact.updated_at, format: :short)
by

View file

@ -25,13 +25,13 @@
<dt><%= t(:valid_to) %></dt>
<dd><%= l(@domain.valid_to) %></dd>
<dt><%= t(:outzone_at) %></dt>
<dt><%= Domain.human_attribute_name :outzone_at %></dt>
<dd><%= l(@domain.outzone_at) %></dd>
<dt><%= t(:delete_at) %></dt>
<dt><%= Domain.human_attribute_name :delete_at %></dt>
<dd><%= l(@domain.delete_at) %></dd>
<dt><%= t(:force_delete_at) %></dt>
<dt><%= Domain.human_attribute_name :force_delete_at %></dt>
<dd><%= l(@domain.force_delete_at) %></dd>
</dl>
</div>