feat: i18n reset password message (#3106)
This commit is contained in:
parent
23b4c2cc16
commit
e686ecda51
3 changed files with 4 additions and 2 deletions
2
lnbits/static/bundle.min.js
vendored
2
lnbits/static/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -323,6 +323,8 @@ window.localisation.en = {
|
||||||
set_password: 'Set Password',
|
set_password: 'Set Password',
|
||||||
invalid_password: 'Password must have at least 8 characters',
|
invalid_password: 'Password must have at least 8 characters',
|
||||||
invalid_password_repeat: 'Passwords do not match',
|
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',
|
login: 'Login',
|
||||||
register: 'Register',
|
register: 'Register',
|
||||||
username: 'Username',
|
username: 'Username',
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ window.UsersPageLogic = {
|
||||||
.then(res => {
|
.then(res => {
|
||||||
LNbits.utils
|
LNbits.utils
|
||||||
.confirmDialog(
|
.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(() => {
|
.onOk(() => {
|
||||||
const url = window.location.origin + '?reset_key=' + res.data
|
const url = window.location.origin + '?reset_key=' + res.data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue