mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Namespace translations
This commit is contained in:
parent
821fabd083
commit
0d4f661c1f
10 changed files with 32 additions and 14 deletions
|
@ -30,11 +30,11 @@
|
|||
- domain_name = domain.name
|
||||
%dd= link_to(domain_name, admin_domain_path(@version.item_id))
|
||||
|
||||
%dt= t(:created)
|
||||
%dt= t('.created')
|
||||
%dd
|
||||
= l(domain.created_at, format: :short)
|
||||
|
||||
%dt= t(:updated)
|
||||
%dt= t('.updated')
|
||||
%dd
|
||||
= l(domain.updated_at, format: :short)
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
|||
= r[:code]
|
||||
%br
|
||||
|
||||
%dt= t(:admin_contacts)
|
||||
%dt= t('.admin_contacts')
|
||||
%dd
|
||||
- admin_contacts.each do |r|
|
||||
- link = r.version_loader ? admin_contact_version_path(r.version_loader.try(:id)) : admin_contact_path(r.id)
|
||||
|
@ -68,7 +68,7 @@
|
|||
= r[:code]
|
||||
%br
|
||||
|
||||
%dt= t(:tech_contacts)
|
||||
%dt= t('.tech_contacts')
|
||||
%dd
|
||||
- tech_contacts.each do |r|
|
||||
- link = r.version_loader ? admin_contact_version_path(r.version_loader.try(:id)) : admin_contact_path(r.id)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- panel_class = @domain.errors.messages[:admin_contacts] ? 'panel-danger' : 'panel-default'
|
||||
.panel{class: panel_class}
|
||||
.panel-heading.clearfix
|
||||
= t(:admin_contacts)
|
||||
= t('.title')
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- panel_class = @domain.errors.messages[:tech_contacts] ? 'panel-danger' : 'panel-default'
|
||||
#tech_contacts.panel{class: panel_class}
|
||||
.panel-heading.clearfix
|
||||
= t(:tech_contacts)
|
||||
= t('.title')
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
%th{class: 'col-xs-1'}= t(:period)
|
||||
%th{class: 'col-xs-2'}= t(:registrant)
|
||||
%th{class: 'col-xs-2'}= t('.admin_contact')
|
||||
%th{class: 'col-xs-2'}= t(:tech)
|
||||
%th{class: 'col-xs-2'}= t('.tech_contact')
|
||||
%th{class: 'col-xs-2'}= t(:nameservers)
|
||||
%th{class: 'col-xs-2'}= t(:dnskeys)
|
||||
%th{class: 'col-xs-2'}= t(:registrar_name)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- panel_class = @domain.errors.messages[:admin_contacts] ? 'panel-danger' : 'panel-default'
|
||||
.panel{class: panel_class}
|
||||
.panel-heading.clearfix
|
||||
= t(:admin_contacts)
|
||||
= t('.title')
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- panel_class = @domain.errors.messages[:tech_contacts] ? 'panel-danger' : 'panel-default'
|
||||
#tech_contacts.panel{class: panel_class}
|
||||
.panel-heading.clearfix
|
||||
= t(:tech_contacts)
|
||||
= t('.title')
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
|
|
|
@ -3,3 +3,9 @@ en:
|
|||
domain_versions:
|
||||
archive:
|
||||
reset_btn: Reset
|
||||
|
||||
show:
|
||||
created: Created
|
||||
updated: Updated
|
||||
admin_contacts: Admin. contacts
|
||||
tech_contacts: Tech. contacts
|
||||
|
|
|
@ -22,7 +22,8 @@ en:
|
|||
|
||||
versions:
|
||||
time: Time
|
||||
admin_contact: Admin contact
|
||||
admin_contact: Admin. contact
|
||||
tech_contact: Tech. contact
|
||||
|
||||
partials:
|
||||
general:
|
||||
|
@ -30,6 +31,12 @@ en:
|
|||
delete_time: Delete time
|
||||
force_delete_time: Force delete time
|
||||
|
||||
admin_contacts:
|
||||
title: Admin. contacts
|
||||
|
||||
tech_contacts:
|
||||
title: Tech. contacts
|
||||
|
||||
force_delete_toggle_btn:
|
||||
schedule: Schedule force delete
|
||||
cancel: Cancel force delete
|
||||
|
|
|
@ -285,8 +285,6 @@ en:
|
|||
valid_from: 'Valid from'
|
||||
general: 'General'
|
||||
contacts: 'Contacts'
|
||||
tech_contacts: 'Technical contacts'
|
||||
admin_contacts: 'Admin contacts'
|
||||
identity_code: 'Identity code'
|
||||
nameservers: 'Nameservers'
|
||||
hostname: 'Hostname'
|
||||
|
@ -319,7 +317,6 @@ en:
|
|||
failed_to_update_status: 'Failed to update status!'
|
||||
status_deleted: 'Status deleted!'
|
||||
failed_to_delete_status: 'Failed to delete status!'
|
||||
tech_contact: 'Tech contact'
|
||||
new_domain_contact: 'New contact'
|
||||
domain_status_prohibits_deleting: 'Domain status prohibits deleting'
|
||||
domain_deleted: 'Domain deleted!'
|
||||
|
@ -557,7 +554,6 @@ en:
|
|||
created_at: 'Created at'
|
||||
valid_to: 'Valid to'
|
||||
updated_at: 'Updated at'
|
||||
tech_contacts: 'Tech contacts'
|
||||
name: 'Name'
|
||||
type: 'Type'
|
||||
code: 'Code'
|
||||
|
|
9
config/locales/registrant/domains.en.yml
Normal file
9
config/locales/registrant/domains.en.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
en:
|
||||
registrant:
|
||||
domains:
|
||||
partials:
|
||||
admin_contacts:
|
||||
title: Admin. contacts
|
||||
|
||||
tech_contacts:
|
||||
title: Tech. contacts
|
Loading…
Add table
Add a link
Reference in a new issue