mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Change text of invite form
This commit is contained in:
parent
f4f98a95c9
commit
66612801ce
@ -9,17 +9,21 @@
|
|||||||
:schema="formSchema"
|
:schema="formSchema"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
<h1>{{ $t('registration.signup.title') }}</h1>
|
<h1>{{ invitation ? $t('profile.invites.title') : $t('registration.signup.title') }}</h1>
|
||||||
<ds-space v-if="token" margin-botton="large">
|
<ds-space v-if="token" margin-botton="large">
|
||||||
<ds-text v-html="$t('registration.signup.form.invitation-code', { code: token })" />
|
<ds-text v-html="$t('registration.signup.form.invitation-code', { code: token })" />
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-space margin-botton="large">
|
<ds-space margin-botton="large">
|
||||||
<ds-text>
|
<ds-text>
|
||||||
{{ $t('registration.signup.form.description') }}
|
{{
|
||||||
|
invitation
|
||||||
|
? $t('profile.invites.description')
|
||||||
|
: $t('registration.signup.form.description')
|
||||||
|
}}
|
||||||
</ds-text>
|
</ds-text>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-input
|
<ds-input
|
||||||
:placeholder="$t('login.email')"
|
:placeholder="invitation ? $t('profile.invites.emailPlaceholder') : $t('login.email')"
|
||||||
type="email"
|
type="email"
|
||||||
id="email"
|
id="email"
|
||||||
model="email"
|
model="email"
|
||||||
@ -45,9 +49,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<sweetalert-icon icon="error" />
|
<sweetalert-icon icon="error" />
|
||||||
<ds-text align="center">
|
<ds-text align="center">{{ error.message }}</ds-text>
|
||||||
{{ error.message }}
|
|
||||||
</ds-text>
|
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
@ -73,11 +75,13 @@ export const SignupByInvitationMutation = gql`
|
|||||||
}
|
}
|
||||||
`
|
`
|
||||||
export default {
|
export default {
|
||||||
|
name: 'Signup',
|
||||||
components: {
|
components: {
|
||||||
SweetalertIcon,
|
SweetalertIcon,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
token: { type: String, default: null },
|
token: { type: String, default: null },
|
||||||
|
invitation: { type: Boolean, default: false },
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -124,6 +124,11 @@
|
|||||||
"followedByNobody": "wird von niemandem gefolgt.",
|
"followedByNobody": "wird von niemandem gefolgt.",
|
||||||
"and": "und",
|
"and": "und",
|
||||||
"more": "weitere"
|
"more": "weitere"
|
||||||
|
},
|
||||||
|
"invites": {
|
||||||
|
"title": "Lade jemanden zu Human Connection ein!",
|
||||||
|
"description": "Für die Einladung trage seine E-Mail-Adresse hier ein.",
|
||||||
|
"emailPlaceholder": "E-Mail-Adresse für die Einladung"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notifications": {
|
"notifications": {
|
||||||
@ -271,8 +276,8 @@
|
|||||||
},
|
},
|
||||||
"invites": {
|
"invites": {
|
||||||
"name": "Benutzer einladen",
|
"name": "Benutzer einladen",
|
||||||
"title": "Benutzer als Admin anmelden",
|
"title": "Leute einladen",
|
||||||
"description": "Dieses Anmeldeformular ist zu sehen sobald die Anmeldung öffentlich zugänglich ist."
|
"description": "Einladungen sind ein wunderbarer Weg, deine Freund in deinem Netzwerk zu haben …"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
|
|||||||
@ -124,6 +124,11 @@
|
|||||||
"followedByNobody": "is not followed by anyone.",
|
"followedByNobody": "is not followed by anyone.",
|
||||||
"and": "and",
|
"and": "and",
|
||||||
"more": "more"
|
"more": "more"
|
||||||
|
},
|
||||||
|
"invites": {
|
||||||
|
"title": "Invite somebody to Human Connection!",
|
||||||
|
"description": "Enter thier email address for invitation.",
|
||||||
|
"emailPlaceholder": "Email to invite"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notifications": {
|
"notifications": {
|
||||||
@ -271,8 +276,8 @@
|
|||||||
},
|
},
|
||||||
"invites": {
|
"invites": {
|
||||||
"name": "Invite users",
|
"name": "Invite users",
|
||||||
"title": "Signup users as admin",
|
"title": "Invite people",
|
||||||
"description": "This registration form will be visible as soon as the registration is open to the public."
|
"description": "Invitations are a wonderful way to have your friends in your network …"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
|
|||||||
@ -1,14 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<!-- This registration form will be visible to the public as soon as the registration is open to the public. -->
|
||||||
<ds-section>
|
<ds-section>
|
||||||
<ds-space>
|
<ds-space>
|
||||||
<ds-heading size="h3">
|
<ds-heading size="h3">{{ $t('admin.invites.title') }}</ds-heading>
|
||||||
{{ $t('admin.invites.title') }}
|
<ds-text>{{ $t('admin.invites.description') }}</ds-text>
|
||||||
</ds-heading>
|
|
||||||
<ds-text>
|
|
||||||
{{ $t('admin.invites.description') }}
|
|
||||||
</ds-text>
|
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<signup />
|
<signup :invitation="true" />
|
||||||
</ds-section>
|
</ds-section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user