diff --git a/app/views/admin/domains/show.html.erb b/app/views/admin/domains/show.html.erb index fb8d44046..63be7256d 100644 --- a/app/views/admin/domains/show.html.erb +++ b/app/views/admin/domains/show.html.erb @@ -9,8 +9,8 @@
- <%= link_to(t(:edit_statuses), edit_admin_domain_path(@domain), class: 'btn btn-primary') %> - <%= link_to(t(:history), admin_domain_domain_versions_path(@domain.id), method: :get, + <%= link_to(t('.edit_btn'), edit_admin_domain_path(@domain), class: 'btn btn-primary') %> + <%= link_to(t('.history_btn'), admin_domain_domain_versions_path(@domain.id), method: :get, class: 'btn btn-primary') %>
diff --git a/config/locales/admin/domains.en.yml b/config/locales/admin/domains.en.yml index 200657d01..87c2c9c6a 100644 --- a/config/locales/admin/domains.en.yml +++ b/config/locales/admin/domains.en.yml @@ -5,6 +5,10 @@ en: header: Domains registrant: Registrant + show: + edit_btn: Edit statuses + history_btn: History + search_form: reset_btn: Reset