From 6e5d99c44a683e5ad0807bb21ea70a77211050b0 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 8 Jun 2017 00:49:06 +0300 Subject: [PATCH] Namespace translations --- app/views/admin/domains/index.haml | 2 +- app/views/registrant/domains/index.haml | 2 +- app/views/registrar/domains/index.haml | 2 +- config/locales/admin/domains.en.yml | 1 + config/locales/registrant/domains.en.yml | 3 +++ config/locales/registrar/domains.en.yml | 1 + 6 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/admin/domains/index.haml b/app/views/admin/domains/index.haml index 7c3be9032..f72ce8ff8 100644 --- a/app/views/admin/domains/index.haml +++ b/app/views/admin/domains/index.haml @@ -58,7 +58,7 @@ %th{class: 'col-xs-2'} = sort_link(@q, 'name') %th{class: 'col-xs-2'} - = sort_link(@q, 'registrant_name', t(:registrant)) + = sort_link(@q, 'registrant_name', t('.registrant')) %th{class: 'col-xs-2'} = sort_link(@q, 'valid_to', t(:valid_to)) %th{class: 'col-xs-2'} diff --git a/app/views/registrant/domains/index.haml b/app/views/registrant/domains/index.haml index 319ff7688..b902229d0 100644 --- a/app/views/registrant/domains/index.haml +++ b/app/views/registrant/domains/index.haml @@ -57,7 +57,7 @@ %th{class: 'col-xs-2'} = sort_link(@q, 'name') %th{class: 'col-xs-2'} - = sort_link(@q, 'registrant_name', t(:registrant)) + = sort_link(@q, 'registrant_name', t('.registrant')) %th{class: 'col-xs-2'} = sort_link(@q, 'valid_to', t(:valid_to)) %th{class: 'col-xs-2'} diff --git a/app/views/registrar/domains/index.haml b/app/views/registrar/domains/index.haml index 609e4f3a8..29c88d39c 100644 --- a/app/views/registrar/domains/index.haml +++ b/app/views/registrar/domains/index.haml @@ -67,7 +67,7 @@ %th{class: 'col-xs-2'} = sort_link(@q, 'name') %th{class: 'col-xs-2'} - = sort_link(@q, 'registrant_name', t(:registrant)) + = sort_link(@q, 'registrant_name', t('.registrant')) %th{class: 'col-xs-2'} = sort_link(@q, 'valid_to', t(:valid_to)) %th{class: 'col-xs-2'}= t('actions') diff --git a/config/locales/admin/domains.en.yml b/config/locales/admin/domains.en.yml index f5fe0931a..26b85c9bb 100644 --- a/config/locales/admin/domains.en.yml +++ b/config/locales/admin/domains.en.yml @@ -3,6 +3,7 @@ en: domains: index: reset_btn: Reset + registrant: Registrant edit: add_new_status_btn: Add new status diff --git a/config/locales/registrant/domains.en.yml b/config/locales/registrant/domains.en.yml index ce789cf69..efbe514e5 100644 --- a/config/locales/registrant/domains.en.yml +++ b/config/locales/registrant/domains.en.yml @@ -1,6 +1,9 @@ en: registrant: domains: + index: + registrant: Registrant + download_list: registrant: Registrant partials: diff --git a/config/locales/registrar/domains.en.yml b/config/locales/registrar/domains.en.yml index 15ff53a43..c4db07168 100644 --- a/config/locales/registrar/domains.en.yml +++ b/config/locales/registrar/domains.en.yml @@ -2,6 +2,7 @@ en: registrar: domains: index: + registrant: Registrant download_btn: Download csv: domain_name: Domain