From 199cfb6634153898b30ff40cabd50d2b84f70286 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Thu, 19 Dec 2024 16:46:22 +0100 Subject: [PATCH] Added not found page for calendars --- i18n.config.ts | 4 ++++ pages/calendars/[id].vue | 20 +++++++++++++++++++- pages/calendars/index.vue | 11 +++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 pages/calendars/index.vue diff --git a/i18n.config.ts b/i18n.config.ts index 48dbc11..df869df 100644 --- a/i18n.config.ts +++ b/i18n.config.ts @@ -95,6 +95,8 @@ export default defineI18nConfig(() => ({ nameSingular: "Calendar", namePlural: "Calendars", addSingle: "Add a calendar", + notFound: "Calendar not found", + notFoundDescription: "The link is not valid or the calendar has been deleted / archived.", notFoundForWorld: "No calendar for this world… yet !", isLoading: "Calendar is loading…", date: { @@ -321,6 +323,8 @@ export default defineI18nConfig(() => ({ nameSingular: "Calendriers", namePlural: "Calendrier", addSingle: "Ajouter un calendrier", + notFound: "Aucun calendrier trouvé", + notFoundDescription: "Le lien n'est pas valide ou le calendrier a été supprimé / archivé.", notFoundForWorld: "Aucun calendrier pour ce monde… pour l'instant !", isLoading: "Chargement du calendrier…", date: { diff --git a/pages/calendars/[id].vue b/pages/calendars/[id].vue index 9a38b86..cfd6377 100644 --- a/pages/calendars/[id].vue +++ b/pages/calendars/[id].vue @@ -1,5 +1,5 @@ + +