Translate admin (#1702)
* Translate the domain_block panel Signed-off-by: Thomas Citharel <tcit@tcit.fr> * Translate PubSubHubbub section Signed-off-by: Thomas Citharel <tcit@tcit.fr> * translate account section and correct typos * move reports translation & translate sidebar Signed-off-by: Thomas Citharel <tcit@tcit.fr> * normalize l18n
This commit is contained in:
parent
d9dc0fe84e
commit
c0c56db0fa
12 changed files with 235 additions and 80 deletions
|
@ -1,11 +1,11 @@
|
|||
- content_for :page_title do
|
||||
Domain Blocks
|
||||
= t('admin.domain_block.title')
|
||||
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th Domain
|
||||
%th Severity
|
||||
%th= t('admin.domain_block.domain')
|
||||
%th= t('admin.domain_block.severity')
|
||||
%tbody
|
||||
- @blocks.each do |block|
|
||||
%tr
|
||||
|
@ -14,4 +14,4 @@
|
|||
%td= block.severity
|
||||
|
||||
= paginate @blocks
|
||||
= link_to 'Add new', new_admin_domain_block_path, class: 'button'
|
||||
= link_to t('admin.domain_block.add_new'), new_admin_domain_block_path, class: 'button'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue