mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
Translate sign-up form
This commit is contained in:
parent
937df8b87d
commit
2d6d49b37c
2 changed files with 14 additions and 8 deletions
|
@ -13,13 +13,13 @@
|
||||||
class="mr-2"
|
class="mr-2"
|
||||||
>
|
>
|
||||||
</v-progress-circular>
|
</v-progress-circular>
|
||||||
<v-toolbar-title class="headline"> Sign Up </v-toolbar-title>
|
<v-toolbar-title class="headline">
|
||||||
|
{{$t('signup.sign-up')}}
|
||||||
|
</v-toolbar-title>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
</v-app-bar>
|
</v-app-bar>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
Welcome to Mealie! To become a user of this instance you are required to
|
{{$t('signup.welcome-to-mealie')}}
|
||||||
have a valid invitation link. If you haven't recieved an invitation you
|
|
||||||
are unable to sign-up. To recieve a link, contact the sites administrator.
|
|
||||||
<v-divider class="mt-3"></v-divider>
|
<v-divider class="mt-3"></v-divider>
|
||||||
<v-form ref="signUpForm" @submit.prevent="signUp">
|
<v-form ref="signUpForm" @submit.prevent="signUp">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
prepend-icon="mdi-account"
|
prepend-icon="mdi-account"
|
||||||
validate-on-blur
|
validate-on-blur
|
||||||
:rules="[existsRule]"
|
:rules="[existsRule]"
|
||||||
label="Display Name"
|
:label="$t('signup.display-name')"
|
||||||
type="email"
|
type="email"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
:type="showPassword ? 'text' : 'password'"
|
:type="showPassword ? 'text' : 'password'"
|
||||||
:append-icon="showPassword ? 'mdi-eye' : 'mdi-eye-off'"
|
:append-icon="showPassword ? 'mdi-eye' : 'mdi-eye-off'"
|
||||||
:rules="[
|
:rules="[
|
||||||
user.password === user.passwordConfirm || 'Password must match',
|
user.password === user.passwordConfirm || $t('user.password-must-match'),
|
||||||
]"
|
]"
|
||||||
@click:append="showPassword = !showPassword"
|
@click:append="showPassword = !showPassword"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
|
@ -71,11 +71,11 @@
|
||||||
block="block"
|
block="block"
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
Sign Up
|
{{$t('signup.sign-up')}}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
<v-alert dense v-if="error" outlined class="mt-3 mb-0" type="error">
|
<v-alert dense v-if="error" outlined class="mt-3 mb-0" type="error">
|
||||||
Error Signing Up
|
{{$t('signup.error-signing-up')}}
|
||||||
</v-alert>
|
</v-alert>
|
||||||
</v-form>
|
</v-form>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
|
|
@ -309,6 +309,12 @@
|
||||||
"webhook-url": "Webhook URL"
|
"webhook-url": "Webhook URL"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"signup": {
|
||||||
|
"display-name": "Display Name",
|
||||||
|
"error-signing-up": "Error Signing Up",
|
||||||
|
"sign-up": "Sign Up",
|
||||||
|
"welcome-to-mealie": "Welcome to Mealie! To become a user of this instance you are required to have a valid invitation link. If you haven't recieved an invitation you are unable to sign-up. To recieve a link, contact the sites administrator."
|
||||||
|
},
|
||||||
"tag": {
|
"tag": {
|
||||||
"tag-created": "Tag created",
|
"tag-created": "Tag created",
|
||||||
"tag-creation-failed": "Tag creation failed",
|
"tag-creation-failed": "Tag creation failed",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue