Add missing translations

#270
This commit is contained in:
Artur Beljajev 2017-03-02 23:23:32 +02:00
parent 275c2f388b
commit 19a107a4ee
3 changed files with 9 additions and 3 deletions

View file

@ -26,7 +26,7 @@
.row
.col-md-8.text-right
= button_tag(t('shared.save'), class: 'btn btn-warning')
= button_tag(t('.save_btn'), class: 'btn btn-warning')
:javascript
$(function () {

View file

@ -39,7 +39,7 @@
.form-group
.col-md-3.control-label
= label_tag "domain_dnskeys_attributes_#{k}_flags", t(:flags)
= label_tag "domain_dnskeys_attributes_#{k}_flags", t('.flags')
.col-md-7
= select_tag "domain[dnskeys_attributes][#{k}][flags]",
options_for_select(Depp::Dnskey::FLAGS, v['flags']),
@ -55,7 +55,7 @@
.form-group
.col-md-3.control-label
= label_tag "domain_dnskeys_attributes_#{k}_alg", t(:alg)
= label_tag "domain_dnskeys_attributes_#{k}_alg", t('.alg')
.col-md-7
= select_tag "domain[dnskeys_attributes][#{k}][alg]",
options_for_select(Depp::Dnskey::ALGORITHMS, v['alg']), { class: 'form-control' }

View file

@ -8,3 +8,9 @@ en:
registrant_name: Registrant name
registrant_code: Registrant code
expire_time: Date of expiry
form:
save_btn: Save
dnskeys:
flags: Flags
alg: Algorithm