fix: missing label (#3081)

This commit is contained in:
Vlad Stan
2025-04-02 14:51:15 +03:00
committed by GitHub
parent 6834b5e00f
commit 3a7a88857a
4 changed files with 8 additions and 5 deletions

View File

@@ -38,7 +38,7 @@
:type="loginData.isPwdRepeat ? 'password' : 'text'" :type="loginData.isPwdRepeat ? 'password' : 'text'"
autocomplete="off" autocomplete="off"
:label="$t('password_repeat')" :label="$t('password_repeat')"
:rules="[(val) => !val || val.length >= 8 || $t('invalid_password'), (val) => val === loginData.password || 'Passwords_dont_match']" :rules="[(val) => !val || val.length >= 8 || $t('invalid_password'), (val) => val === loginData.password || $t('invalid_password_repeat')]"
><template v-slot:append> ><template v-slot:append>
<q-icon <q-icon
:name="loginData.isPwdRepeat ? 'visibility_off' : 'visibility'" :name="loginData.isPwdRepeat ? 'visibility_off' : 'visibility'"

View File

@@ -184,12 +184,13 @@
</p> </p>
<p v-else-if="authAction === 'register'" class="q-mb-none"> <p v-else-if="authAction === 'register'" class="q-mb-none">
Aready have an account? <span v-text="$t('existing_account_question')"></span>
<span <span
class="text-secondary cursor-pointer" class="text-secondary cursor-pointer"
@click="showLogin('username-password')" @click="showLogin('username-password')"
>Login</span v-text="$t('login')"
> ></span>
</p> </p>
</div> </div>
</username-password> </username-password>

File diff suppressed because one or more lines are too long

View File

@@ -322,6 +322,7 @@ window.localisation.en = {
update_pubkey: 'Update Public Key', update_pubkey: 'Update Public Key',
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',
login: 'Login', login: 'Login',
register: 'Register', register: 'Register',
username: 'Username', username: 'Username',
@@ -337,6 +338,7 @@ window.localisation.en = {
invalid_username: 'Invalid Username', invalid_username: 'Invalid Username',
auth_provider: 'Auth Provider', auth_provider: 'Auth Provider',
my_account: 'My Account', my_account: 'My Account',
existing_account_question: 'Already have an account?',
background_image: 'Background Image', background_image: 'Background Image',
back: 'Back', back: 'Back',
logout: 'Logout', logout: 'Logout',