mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Error page added
This commit is contained in:
parent
abeb2e97ed
commit
7cfd61ecf2
12
webapp/layouts/error.vue
Normal file
12
webapp/layouts/error.vue
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<template>
|
||||||
|
<div class="container">
|
||||||
|
<h1>{{ $t(error.message) }}</h1>
|
||||||
|
<nuxt-link to="/">{{ $t('error-pages.back-to-index') }}</nuxt-link>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: ['error'],
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@ -798,5 +798,9 @@
|
|||||||
"donations-for": "Spenden für",
|
"donations-for": "Spenden für",
|
||||||
"donate-now": "Jetzt spenden",
|
"donate-now": "Jetzt spenden",
|
||||||
"amount-of-total": "{amount} von {total} € erreicht"
|
"amount-of-total": "{amount} von {total} € erreicht"
|
||||||
|
},
|
||||||
|
"error-pages" : {
|
||||||
|
"user-not-found": "Dieser Benutzer konnte nicht gefunden werden",
|
||||||
|
"back-to-index": "Zurück zur Startseite"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -798,6 +798,10 @@
|
|||||||
"title": "In addition, we regularly hold events where you can also share your impressions and ask questions. You can find a current overview here:",
|
"title": "In addition, we regularly hold events where you can also share your impressions and ask questions. You can find a current overview here:",
|
||||||
"description": "<a href=\"https://human-connection.org/events/\" target=\"_blank\" > https://human-connection.org/events/ </a>"
|
"description": "<a href=\"https://human-connection.org/events/\" target=\"_blank\" > https://human-connection.org/events/ </a>"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"error-pages" : {
|
||||||
|
"user-not-found": "This user could not be found",
|
||||||
|
"back-to-index": "Back to index page"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ const options = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
message: 'This user could not be found',
|
message: 'error-pages.user-not-found',
|
||||||
path: 'profile',
|
path: 'profile',
|
||||||
}
|
}
|
||||||
const persistentLinks = PersistentLinks(options)
|
const persistentLinks = PersistentLinks(options)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user