feat: improved nostr pubkey field label & tooltip and set password tooltip (#3205)
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
parent
55889abd88
commit
efcc5e2148
4 changed files with 7 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,6 +7,7 @@ __pycache__
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
.vscode
|
.vscode
|
||||||
*-lock.json
|
*-lock.json
|
||||||
|
.python-version
|
||||||
|
|
||||||
*.egg
|
*.egg
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
:label="$t('set_password')"
|
:label="$t('set_password')"
|
||||||
v-model="activeUser.setPassword"
|
v-model="activeUser.setPassword"
|
||||||
>
|
>
|
||||||
<q-tooltip>Toggle Admin</q-tooltip>
|
<q-tooltip v-text="$t('set_password_tooltip')"></q-tooltip>
|
||||||
</q-toggle>
|
</q-toggle>
|
||||||
|
|
||||||
<q-input
|
<q-input
|
||||||
|
|
@ -105,11 +105,12 @@
|
||||||
|
|
||||||
<q-input
|
<q-input
|
||||||
v-model="activeUser.data.pubkey"
|
v-model="activeUser.data.pubkey"
|
||||||
:label="$t('pubkey')"
|
:label="'Nostr '+ $t('pubkey')"
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
class="q-mb-md"
|
class="q-mb-md"
|
||||||
>
|
>
|
||||||
|
<q-tooltip v-text="$t('nostr_pubkey_tooltip')"></q-tooltip>
|
||||||
</q-input>
|
</q-input>
|
||||||
<q-input
|
<q-input
|
||||||
v-model="activeUser.data.email"
|
v-model="activeUser.data.email"
|
||||||
|
|
|
||||||
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
|
|
@ -328,7 +328,9 @@ window.localisation.en = {
|
||||||
change_password: 'Change Password',
|
change_password: 'Change Password',
|
||||||
update_credentials: 'Update Credentials',
|
update_credentials: 'Update Credentials',
|
||||||
update_pubkey: 'Update Public Key',
|
update_pubkey: 'Update Public Key',
|
||||||
|
nostr_pubkey_tooltip: "Enter this user's Nostr public key (hex value)",
|
||||||
set_password: 'Set Password',
|
set_password: 'Set Password',
|
||||||
|
set_password_tooltip: 'Set a password for this user',
|
||||||
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_generated: 'A reset key has been generated.',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue