Skip to content

Commit

Permalink
Merge pull request #865 from internetee/fix-translations
Browse files Browse the repository at this point in the history
Fix translations
  • Loading branch information
vohmar authored Jun 14, 2018
2 parents 2828f8c + ff5b2c1 commit d8778a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/registrant/contacts/partials/_domains.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app/views/registrant/contacts/partials/_general.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions app/views/registrant/domains/partials/_general.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d8778a4

Please sign in to comment.