mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43: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
|
- domain_name = domain.name
|
||||||
%dd= link_to(domain_name, admin_domain_path(@version.item_id))
|
%dd= link_to(domain_name, admin_domain_path(@version.item_id))
|
||||||
|
|
||||||
%dt= t(:created)
|
%dt= t('.created')
|
||||||
%dd
|
%dd
|
||||||
= l(domain.created_at, format: :short)
|
= l(domain.created_at, format: :short)
|
||||||
|
|
||||||
%dt= t(:updated)
|
%dt= t('.updated')
|
||||||
%dd
|
%dd
|
||||||
= l(domain.updated_at, format: :short)
|
= l(domain.updated_at, format: :short)
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
= r[:code]
|
= r[:code]
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%dt= t(:admin_contacts)
|
%dt= t('.admin_contacts')
|
||||||
%dd
|
%dd
|
||||||
- admin_contacts.each do |r|
|
- admin_contacts.each do |r|
|
||||||
- link = r.version_loader ? admin_contact_version_path(r.version_loader.try(:id)) : admin_contact_path(r.id)
|
- link = r.version_loader ? admin_contact_version_path(r.version_loader.try(:id)) : admin_contact_path(r.id)
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
= r[:code]
|
= r[:code]
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%dt= t(:tech_contacts)
|
%dt= t('.tech_contacts')
|
||||||
%dd
|
%dd
|
||||||
- tech_contacts.each do |r|
|
- tech_contacts.each do |r|
|
||||||
- link = r.version_loader ? admin_contact_version_path(r.version_loader.try(:id)) : admin_contact_path(r.id)
|
- 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 = @domain.errors.messages[:admin_contacts] ? 'panel-danger' : 'panel-default'
|
||||||
.panel{class: panel_class}
|
.panel{class: panel_class}
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= t(:admin_contacts)
|
= t('.title')
|
||||||
.table-responsive
|
.table-responsive
|
||||||
%table.table.table-hover.table-bordered.table-condensed
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
%thead
|
%thead
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- panel_class = @domain.errors.messages[:tech_contacts] ? 'panel-danger' : 'panel-default'
|
- panel_class = @domain.errors.messages[:tech_contacts] ? 'panel-danger' : 'panel-default'
|
||||||
#tech_contacts.panel{class: panel_class}
|
#tech_contacts.panel{class: panel_class}
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= t(:tech_contacts)
|
= t('.title')
|
||||||
.table-responsive
|
.table-responsive
|
||||||
%table.table.table-hover.table-bordered.table-condensed
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
%thead
|
%thead
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
%th{class: 'col-xs-1'}= t(:period)
|
%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('.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(:nameservers)
|
||||||
%th{class: 'col-xs-2'}= t(:dnskeys)
|
%th{class: 'col-xs-2'}= t(:dnskeys)
|
||||||
%th{class: 'col-xs-2'}= t(:registrar_name)
|
%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 = @domain.errors.messages[:admin_contacts] ? 'panel-danger' : 'panel-default'
|
||||||
.panel{class: panel_class}
|
.panel{class: panel_class}
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= t(:admin_contacts)
|
= t('.title')
|
||||||
.table-responsive
|
.table-responsive
|
||||||
%table.table.table-hover.table-bordered.table-condensed
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
%thead
|
%thead
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- panel_class = @domain.errors.messages[:tech_contacts] ? 'panel-danger' : 'panel-default'
|
- panel_class = @domain.errors.messages[:tech_contacts] ? 'panel-danger' : 'panel-default'
|
||||||
#tech_contacts.panel{class: panel_class}
|
#tech_contacts.panel{class: panel_class}
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= t(:tech_contacts)
|
= t('.title')
|
||||||
.table-responsive
|
.table-responsive
|
||||||
%table.table.table-hover.table-bordered.table-condensed
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
%thead
|
%thead
|
||||||
|
|
|
@ -3,3 +3,9 @@ en:
|
||||||
domain_versions:
|
domain_versions:
|
||||||
archive:
|
archive:
|
||||||
reset_btn: Reset
|
reset_btn: Reset
|
||||||
|
|
||||||
|
show:
|
||||||
|
created: Created
|
||||||
|
updated: Updated
|
||||||
|
admin_contacts: Admin. contacts
|
||||||
|
tech_contacts: Tech. contacts
|
||||||
|
|
|
@ -22,7 +22,8 @@ en:
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
time: Time
|
time: Time
|
||||||
admin_contact: Admin contact
|
admin_contact: Admin. contact
|
||||||
|
tech_contact: Tech. contact
|
||||||
|
|
||||||
partials:
|
partials:
|
||||||
general:
|
general:
|
||||||
|
@ -30,6 +31,12 @@ en:
|
||||||
delete_time: Delete time
|
delete_time: Delete time
|
||||||
force_delete_time: Force delete time
|
force_delete_time: Force delete time
|
||||||
|
|
||||||
|
admin_contacts:
|
||||||
|
title: Admin. contacts
|
||||||
|
|
||||||
|
tech_contacts:
|
||||||
|
title: Tech. contacts
|
||||||
|
|
||||||
force_delete_toggle_btn:
|
force_delete_toggle_btn:
|
||||||
schedule: Schedule force delete
|
schedule: Schedule force delete
|
||||||
cancel: Cancel force delete
|
cancel: Cancel force delete
|
||||||
|
|
|
@ -285,8 +285,6 @@ en:
|
||||||
valid_from: 'Valid from'
|
valid_from: 'Valid from'
|
||||||
general: 'General'
|
general: 'General'
|
||||||
contacts: 'Contacts'
|
contacts: 'Contacts'
|
||||||
tech_contacts: 'Technical contacts'
|
|
||||||
admin_contacts: 'Admin contacts'
|
|
||||||
identity_code: 'Identity code'
|
identity_code: 'Identity code'
|
||||||
nameservers: 'Nameservers'
|
nameservers: 'Nameservers'
|
||||||
hostname: 'Hostname'
|
hostname: 'Hostname'
|
||||||
|
@ -319,7 +317,6 @@ en:
|
||||||
failed_to_update_status: 'Failed to update status!'
|
failed_to_update_status: 'Failed to update status!'
|
||||||
status_deleted: 'Status deleted!'
|
status_deleted: 'Status deleted!'
|
||||||
failed_to_delete_status: 'Failed to delete status!'
|
failed_to_delete_status: 'Failed to delete status!'
|
||||||
tech_contact: 'Tech contact'
|
|
||||||
new_domain_contact: 'New contact'
|
new_domain_contact: 'New contact'
|
||||||
domain_status_prohibits_deleting: 'Domain status prohibits deleting'
|
domain_status_prohibits_deleting: 'Domain status prohibits deleting'
|
||||||
domain_deleted: 'Domain deleted!'
|
domain_deleted: 'Domain deleted!'
|
||||||
|
@ -557,7 +554,6 @@ en:
|
||||||
created_at: 'Created at'
|
created_at: 'Created at'
|
||||||
valid_to: 'Valid to'
|
valid_to: 'Valid to'
|
||||||
updated_at: 'Updated at'
|
updated_at: 'Updated at'
|
||||||
tech_contacts: 'Tech contacts'
|
|
||||||
name: 'Name'
|
name: 'Name'
|
||||||
type: 'Type'
|
type: 'Type'
|
||||||
code: 'Code'
|
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