mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 21:54:48 +02:00
Merge pull request #1118 from internetee/add-missing-translations
Add missing translations
This commit is contained in:
commit
ce1a5fd5f1
3 changed files with 11 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
- if status == DomainStatus::PENDING_DELETE_CONFIRMATION
|
||||
= link_to(t(:accept_delete), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
= link_to(t('.accept_btn'), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
method: :patch, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
||||
= link_to(t(:reject_delete), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
= link_to(t('.reject_btn'), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
method: :delete, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
- if (status == DomainStatus::PENDING_UPDATE && f.object.pending_json.present?)
|
||||
= link_to(t(:apply_pending), admin_domain_pending_update_path(f.object.id, f.object.id),
|
||||
= link_to(t('.accept_btn'), admin_domain_pending_update_path(f.object.id, f.object.id),
|
||||
method: :patch, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
||||
= link_to(t(:delete_pending), admin_domain_pending_update_path(f.object.id, f.object.id),
|
||||
= link_to(t('.reject_btn'), admin_domain_pending_update_path(f.object.id, f.object.id),
|
||||
method: :delete, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
|
|
@ -12,6 +12,13 @@ en:
|
|||
search_form:
|
||||
reset_btn: Reset
|
||||
|
||||
form:
|
||||
pending_delete: &pending_delete
|
||||
accept_btn: Accept
|
||||
reject_btn: Reject
|
||||
|
||||
pending_update: *pending_delete
|
||||
|
||||
edit:
|
||||
header: "Edit:"
|
||||
add_new_status_btn: Add new status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue