mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Namespace translations
This commit is contained in:
parent
0d4f661c1f
commit
667a0b3057
14 changed files with 32 additions and 11 deletions
|
@ -11,11 +11,11 @@
|
|||
.col-md-3
|
||||
.form-group
|
||||
= label_tag :registrant
|
||||
= f.search_field :registrant, value: params[:q][:registrant], class: 'form-control', placeholder: t(:registrant)
|
||||
= f.search_field :registrant, value: params[:q][:registrant], class: 'form-control', placeholder: t('.registrant_placeholder')
|
||||
.col-md-3
|
||||
.form-group
|
||||
= label_tag t(:registrar_name)
|
||||
= f.search_field :registrar, value: params[:q][:registrar], class: 'form-control', placeholder: t(:registrant)
|
||||
= f.search_field :registrar, value: params[:q][:registrar], class: 'form-control', placeholder: t('.registrant')
|
||||
.col-md-3
|
||||
.form-group
|
||||
= label_tag :action
|
||||
|
@ -45,7 +45,7 @@
|
|||
%th{class: 'col-xs-2'}
|
||||
= t(:name)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:registrant)
|
||||
= t('.registrant')
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:registrar_name)
|
||||
%th{class: 'col-xs-2'}
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
- domain.statuses.each do |s|
|
||||
= s
|
||||
|
||||
%dt= t(:registrant)
|
||||
%dt= t('.registrant')
|
||||
%dd{class: changing_css_class(@version,"registrant_id")}
|
||||
- registrant.each do |r|
|
||||
- link = r.version_loader ? admin_contact_version_path(r.version_loader.try(:id)) : admin_contact_path(r.id)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h3.panel-title= t(:registrant)
|
||||
%h3.panel-title= t('.title')
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t(:name)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
%th{class: 'col-xs-1'}= t('.time')
|
||||
%th{class: 'col-xs-2'}= t(:statuses)
|
||||
%th{class: 'col-xs-1'}= t(:period)
|
||||
%th{class: 'col-xs-2'}= t(:registrant)
|
||||
%th{class: 'col-xs-2'}= t('.registrant')
|
||||
%th{class: 'col-xs-2'}= t('.admin_contact')
|
||||
%th{class: 'col-xs-2'}= t('.tech_contact')
|
||||
%th{class: 'col-xs-2'}= t(:nameservers)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
.col-md-12.text-center.confirmation
|
||||
.column-keys
|
||||
%p= t(:domain_name) + ':'
|
||||
%p= t(:registrant) + ':'
|
||||
%p= t('.registrant') + ':'
|
||||
.column-values
|
||||
%p= @domain.name
|
||||
%p= "#{@domain.registrant_name} (#{@domain.registrant.ident})"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
%th{class: 'col-xs-2'}
|
||||
=t(:name)
|
||||
%th{class: 'col-xs-2'}
|
||||
=t(:registrant)
|
||||
=t('.registrant')
|
||||
%th{class: 'col-xs-2'}
|
||||
=t(:valid_to)
|
||||
%th{class: 'col-xs-2'}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h3.panel-title= t(:registrant)
|
||||
%h3.panel-title= t('.title')
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t(:name)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
.form-group
|
||||
.col-md-3.control-label
|
||||
= label_tag :domain_registrant, t(:registrant), class: 'required'
|
||||
= label_tag :domain_registrant, t('.registrant'), class: 'required'
|
||||
.col-md-7
|
||||
= text_field_tag 'domain[registrant]', @domain_params[:registrant], class: "hidden"
|
||||
= text_field_tag 'domain[registrant_helper]', contacts.find_by(code: @domain_params[:registrant]).try(:search_name),
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
%dd= @data.css('clID').text
|
||||
|
||||
- registrant = Contact.find_by_code(@data.css('registrant').text)
|
||||
%dt= t(:registrant)
|
||||
%dt= t('.registrant')
|
||||
%dd= "#{registrant.name} (#{@data.css('registrant').text})"
|
||||
|
||||
%dt= t('.registered')
|
||||
|
|
|
@ -3,9 +3,12 @@ en:
|
|||
domain_versions:
|
||||
archive:
|
||||
reset_btn: Reset
|
||||
registrant_placeholder: Registrant
|
||||
registrant: Registrant
|
||||
|
||||
show:
|
||||
created: Created
|
||||
updated: Updated
|
||||
registrant: Registrant
|
||||
admin_contacts: Admin. contacts
|
||||
tech_contacts: Tech. contacts
|
||||
|
|
|
@ -22,6 +22,7 @@ en:
|
|||
|
||||
versions:
|
||||
time: Time
|
||||
registrant: Registrant
|
||||
admin_contact: Admin. contact
|
||||
tech_contact: Tech. contact
|
||||
|
||||
|
@ -37,6 +38,9 @@ en:
|
|||
tech_contacts:
|
||||
title: Tech. contacts
|
||||
|
||||
owner:
|
||||
title: Registrant
|
||||
|
||||
force_delete_toggle_btn:
|
||||
schedule: Schedule force delete
|
||||
cancel: Cancel force delete
|
||||
|
|
5
config/locales/registrant/domain_delete_confirms.en.yml
Normal file
5
config/locales/registrant/domain_delete_confirms.en.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
en:
|
||||
registrant:
|
||||
domain_delete_confirms:
|
||||
show:
|
||||
registrant: Registrant
|
|
@ -1,7 +1,12 @@
|
|||
en:
|
||||
registrant:
|
||||
domains:
|
||||
download_list:
|
||||
registrant: Registrant
|
||||
partials:
|
||||
owner:
|
||||
title: Registrant
|
||||
|
||||
admin_contacts:
|
||||
title: Admin. contacts
|
||||
|
||||
|
|
|
@ -15,8 +15,12 @@ en:
|
|||
flags: Flags
|
||||
alg: Algorithm
|
||||
|
||||
general:
|
||||
registrant: registrant
|
||||
|
||||
partials:
|
||||
general:
|
||||
registrant: Registrant
|
||||
registered: Registered
|
||||
created: Created
|
||||
updated: Updated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue