feat(landing): Add i18n

This commit is contained in:
2026-01-05 19:13:41 +01:00
parent a086763c80
commit 01df3e622e
17 changed files with 4049 additions and 406 deletions

View File

@@ -1,4 +1,5 @@
export function useNewsletterSignup() {
const { t } = useI18n()
const isLoading = ref(false)
const isSuccess = ref(false)
const error = ref<string | null>(null)
@@ -20,7 +21,7 @@ export function useNewsletterSignup() {
isSuccess.value = true
} catch (e: unknown) {
error.value = e instanceof Error ? e.message : 'Ein Fehler ist aufgetreten. Bitte versuchen Sie es später erneut.'
error.value = e instanceof Error ? e.message : t('errors.generic')
throw e
} finally {
isLoading.value = false