feat: i18n reset password message (#3106)

This commit is contained in:
Vlad Stan
2025-04-14 13:25:41 +03:00
committed by GitHub
parent 23b4c2cc16
commit e686ecda51
3 changed files with 4 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -323,6 +323,8 @@ window.localisation.en = {
set_password: 'Set Password',
invalid_password: 'Password must have at least 8 characters',
invalid_password_repeat: 'Passwords do not match',
reset_key_generated: 'A reset key has been generated.',
reset_key_copy: 'Click OK to copy the reset URL to your clipboard.',
login: 'Login',
register: 'Register',
username: 'Username',
+1 -1
View File
@@ -188,7 +188,7 @@ window.UsersPageLogic = {
.then(res => {
LNbits.utils
.confirmDialog(
'A reset key has been generated. Click OK to copy the rest key to your clipboard.'
this.$t('reset_key_generated') + ' ' + this.$t('reset_key_copy')
)
.onOk(() => {
const url = window.location.origin + '?reset_key=' + res.data