From db518c3620ee610f7488e4399681ca53601908a8 Mon Sep 17 00:00:00 2001 From: MrKeksi Date: Wed, 6 May 2020 21:48:12 +0200 Subject: [PATCH] Adding translation (#1510) * Update _account.html.erb * Update en.yml --- app/views/users/components/_account.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/users/components/_account.html.erb b/app/views/users/components/_account.html.erb index 245979bc..6814f435 100644 --- a/app/views/users/components/_account.html.erb +++ b/app/views/users/components/_account.html.erb @@ -71,7 +71,7 @@ <%= f.submit t("update"), class: "btn btn-primary float-right ml-4" %> <% 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 %> diff --git a/config/locales/en.yml b/config/locales/en.yml index a80b1e0c..66a97421 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -537,6 +537,7 @@ en: roles: User Role subtitle: Update your Account Info title: Account Info + reset_password: Reset user password delete: button: Yes, I would like to delete my account. disclaimer: If you choose to delete your account, it will NOT be recoverable. All information regarding your account, including settings, rooms, and recording will be removed.