diff --git a/webapp/components/ComponentSlider/ComponentSlider.vue b/webapp/components/ComponentSlider/ComponentSlider.vue
index d95018f89..19e82417f 100644
--- a/webapp/components/ComponentSlider/ComponentSlider.vue
+++ b/webapp/components/ComponentSlider/ComponentSlider.vue
@@ -5,11 +5,25 @@
- {{ $t(sliderData.sliders[sliderIndex].titleIdent) }}
+ {{
+ (typeof sliderData.sliders[sliderIndex].titleIdent === 'string' &&
+ $t(sliderData.sliders[sliderIndex].titleIdent)) ||
+ (typeof sliderData.sliders[sliderIndex].titleIdent === 'object' &&
+ $t(
+ sliderData.sliders[sliderIndex].titleIdent.id,
+ sliderData.sliders[sliderIndex].titleIdent.data,
+ ))
+ }}
diff --git a/webapp/components/Registration/RegistrationSlider.vue b/webapp/components/Registration/RegistrationSlider.vue
index ffb4983d8..b4a180ecf 100644
--- a/webapp/components/Registration/RegistrationSlider.vue
+++ b/webapp/components/Registration/RegistrationSlider.vue
@@ -8,12 +8,6 @@
-
-
- {{ $t('components.registration.signup.title', metadata) }}
-
-
-
@@ -90,7 +84,7 @@ export default {
},
enterInvite: {
name: 'enter-invite',
- titleIdent: 'components.registration.invite-code.title',
+ titleIdent: { id: 'components.registration.signup.title', data: metadata },
validated: false,
data: { request: null, response: { isValidInviteCode: false } },
button: {
diff --git a/webapp/locales/de.json b/webapp/locales/de.json
index d8bd908c4..d14b5e7e9 100644
--- a/webapp/locales/de.json
+++ b/webapp/locales/de.json
@@ -185,8 +185,7 @@
"validations": {
"length": "muss genau 6 Buchstaben lang sein"
}
- },
- "title": "Einladung"
+ }
},
"no-public-registrstion": {
"title": "Keine öffentliche Registrierung möglich"
diff --git a/webapp/locales/en.json b/webapp/locales/en.json
index ab7311dc5..e037af414 100644
--- a/webapp/locales/en.json
+++ b/webapp/locales/en.json
@@ -185,8 +185,7 @@
"validations": {
"length": "must be 6 characters long"
}
- },
- "title": "Invitation"
+ }
},
"no-public-registrstion": {
"title": "No Public Registration"