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:
blackcoffeexbt 2025-06-25 11:06:42 +01:00 committed by GitHub
parent 55889abd88
commit efcc5e2148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View file

@ -7,6 +7,7 @@ __pycache__
.mypy_cache
.vscode
*-lock.json
.python-version
*.egg
*.egg-info

View file

@ -61,7 +61,7 @@
:label="$t('set_password')"
v-model="activeUser.setPassword"
>
<q-tooltip>Toggle Admin</q-tooltip>
<q-tooltip v-text="$t('set_password_tooltip')"></q-tooltip>
</q-toggle>
<q-input
@ -105,11 +105,12 @@
<q-input
v-model="activeUser.data.pubkey"
:label="$t('pubkey')"
:label="'Nostr '+ $t('pubkey')"
filled
dense
class="q-mb-md"
>
<q-tooltip v-text="$t('nostr_pubkey_tooltip')"></q-tooltip>
</q-input>
<q-input
v-model="activeUser.data.email"

File diff suppressed because one or more lines are too long

View file

@ -328,7 +328,9 @@ window.localisation.en = {
change_password: 'Change Password',
update_credentials: 'Update Credentials',
update_pubkey: 'Update Public Key',
nostr_pubkey_tooltip: "Enter this user's Nostr public key (hex value)",
set_password: 'Set Password',
set_password_tooltip: 'Set a password for this user',
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.',