Adding translation (#1510)

* Update _account.html.erb

* Update en.yml
This commit is contained in:
MrKeksi 2020-05-06 21:48:12 +02:00 committed by GitHub
parent 467947f1b5
commit db518c3620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,7 @@
<%= f.submit t("update"), class: "btn btn-primary float-right ml-4" %> <%= f.submit t("update"), class: "btn btn-primary float-right ml-4" %>
<% if can_reset_password %> <% if can_reset_password %>
<%= link_to "Reset user password", admin_reset_path(user_uid: @user.uid), class: "btn btn-primary float-right" %> <%= link_to t("settings.account.reset_password"), admin_reset_path(user_uid: @user.uid), class: "btn btn-primary float-right" %>
<% end %> <% end %>
</div> </div>
<% end %> <% end %>

View File

@ -537,6 +537,7 @@ en:
roles: User Role roles: User Role
subtitle: Update your Account Info subtitle: Update your Account Info
title: Account Info title: Account Info
reset_password: Reset user password
delete: delete:
button: Yes, I would like to delete my account. button: Yes, I would like to delete my account.
disclaimer: If you choose to delete your account, it will <b>NOT</b> be recoverable. All information regarding your account, including settings, rooms, and recording will be removed. disclaimer: If you choose to delete your account, it will <b>NOT</b> be recoverable. All information regarding your account, including settings, rooms, and recording will be removed.