diff --git a/webapp/components/Registration/Signup.vue b/webapp/components/Registration/Signup.vue
index 175db1fd6..dcf4f0e88 100644
--- a/webapp/components/Registration/Signup.vue
+++ b/webapp/components/Registration/Signup.vue
@@ -9,17 +9,21 @@
:schema="formSchema"
@submit="handleSubmit"
>
-
{{ $t('registration.signup.title') }}
+ {{ invitation ? $t('profile.invites.title') : $t('registration.signup.title') }}
- {{ $t('registration.signup.form.description') }}
+ {{
+ invitation
+ ? $t('profile.invites.description')
+ : $t('registration.signup.form.description')
+ }}
-
- {{ error.message }}
-
+ {{ error.message }}
@@ -73,11 +75,13 @@ export const SignupByInvitationMutation = gql`
}
`
export default {
+ name: 'Signup',
components: {
SweetalertIcon,
},
props: {
token: { type: String, default: null },
+ invitation: { type: Boolean, default: false },
},
data() {
return {
diff --git a/webapp/locales/de.json b/webapp/locales/de.json
index e249ce160..99689ec44 100644
--- a/webapp/locales/de.json
+++ b/webapp/locales/de.json
@@ -122,8 +122,12 @@
"followingNobody": "folgt niemandem.",
"followedBy": "wird gefolgt von:",
"followedByNobody": "wird von niemandem gefolgt.",
- "and": "und",
- "more": "weitere"
+ "andMore": "und {number} 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": {
@@ -271,8 +275,8 @@
},
"invites": {
"name": "Benutzer einladen",
- "title": "Benutzer als Admin anmelden",
- "description": "Dieses Anmeldeformular ist zu sehen sobald die Anmeldung öffentlich zugänglich ist."
+ "title": "Leute einladen",
+ "description": "Einladungen sind ein wunderbarer Weg, deine Freund in deinem Netzwerk zu haben …"
}
},
"post": {
diff --git a/webapp/locales/en.json b/webapp/locales/en.json
index 7f9e7286b..9c9d1cd73 100644
--- a/webapp/locales/en.json
+++ b/webapp/locales/en.json
@@ -122,8 +122,12 @@
"followingNobody": "follows nobody.",
"followedBy": "is followed by:",
"followedByNobody": "is not followed by anyone.",
- "and": "and",
- "more": "more"
+ "andMore": "and {number} more …"
+ },
+ "invites": {
+ "title": "Invite somebody to Human Connection!",
+ "description": "Enter thier email address for invitation.",
+ "emailPlaceholder": "Email to invite"
}
},
"notifications": {
@@ -271,8 +275,8 @@
},
"invites": {
"name": "Invite users",
- "title": "Signup users as admin",
- "description": "This registration form will be visible as soon as the registration is open to the public."
+ "title": "Invite people",
+ "description": "Invitations are a wonderful way to have your friends in your network …"
}
},
"post": {
diff --git a/webapp/pages/admin/invite.vue b/webapp/pages/admin/invite.vue
index 36e679112..3f9b4d831 100644
--- a/webapp/pages/admin/invite.vue
+++ b/webapp/pages/admin/invite.vue
@@ -1,14 +1,11 @@
+
-
- {{ $t('admin.invites.title') }}
-
-
- {{ $t('admin.invites.description') }}
-
+ {{ $t('admin.invites.title') }}
+ {{ $t('admin.invites.description') }}
-
+
diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue
index bc712e6e0..e4f99935d 100644
--- a/webapp/pages/profile/_id/_slug.vue
+++ b/webapp/pages/profile/_id/_slug.vue
@@ -95,8 +95,11 @@
- {{ $t('profile.network.and') }} {{ user.followingCount - user.following.length }}
- {{ $t('profile.network.more') }}
+ {{
+ $t('profile.network.andMore', {
+ number: user.followingCount - user.following.length,
+ })
+ }}
@@ -122,8 +125,11 @@
- {{ $t('profile.network.and') }} {{ user.followedByCount - user.followedBy.length }}
- {{ $t('profile.network.more') }}
+ {{
+ $t('profile.network.andMore', {
+ number: user.followedByCount - user.followedBy.length,
+ })
+ }}