Extract translations

This commit is contained in:
Artur Beljajev 2019-12-10 15:57:23 +02:00
parent ce8f7993c2
commit fe690c52f5
2 changed files with 4 additions and 2 deletions

View file

@ -18,7 +18,7 @@
<%= link_to t('.delete_btn'), admin_registrar_api_user_path(@api_user.registrar,
@api_user),
method: :delete,
data: { confirm: t(:are_you_sure) },
data: { confirm: t('.delete_btn_confirm') },
class: 'btn btn-default' %>
</div>
</div>
@ -29,7 +29,7 @@
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<%= t(:general) %>
<%= t '.header' %>
</h3>
</div>

View file

@ -11,9 +11,11 @@ en:
created: API user has been successfully created
show:
header: Details
subject: Subject
edit_btn: Edit
delete_btn: Delete
delete_btn_confirm: Are you sure you want to delete this API user?
edit:
header: Edit API user