diff --git a/i18n.config.ts b/i18n.config.ts index 1237cd9..111535b 100644 --- a/i18n.config.ts +++ b/i18n.config.ts @@ -40,6 +40,7 @@ export default defineI18nConfig(() => ({ }, greeting: "Connected as {user}", anonymousGreeting: "Preferences", + backToProfile: "Back to profile", sidebarMenu: { profile: "Profile", appearance: "Appearance", @@ -80,6 +81,9 @@ export default defineI18nConfig(() => ({ nameSingular: "World", namePlural: "Worlds", addSingle: "Add a world", + notFound: "World not found", + notFoundDescription: "The link is not valid or the world has been deleted / archived.", + backToList: "Go back to worlds", createDialog: { title: "Create a world", subtitle: "Worlds are the building blocks which hold all your characters, your calendars…" @@ -101,6 +105,7 @@ export default defineI18nConfig(() => ({ notFound: "Calendar not found", notFoundDescription: "The link is not valid or the calendar has been deleted / archived.", notFoundForWorld: "No calendar for this world… yet !", + backToList: "Go back to calendars", isLoading: "Calendar is loading…", hasXEvents: "This calendar has {count} public events", date: { @@ -278,6 +283,7 @@ export default defineI18nConfig(() => ({ }, greeting: "Connecté en tant que {user}", anonymousGreeting: "Préférences", + backToProfile: "Retour au profil", sidebarMenu: { profile: "Profil", appearance: "Apparence", @@ -318,6 +324,9 @@ export default defineI18nConfig(() => ({ nameSingular: "Monde", namePlural: "Mondes", addSingle: "Ajouter un monde", + notFound: "Aucun monde trouvé", + notFoundDescription: "Le lien n'est pas valide ou le monde a été supprimé / archivé.", + backToList: "Retourner aux mondes", createDialog: { title: "Créer un monde", subtitle: "Un monde est la brique de base qui contient vos personnages, vos calendriers…" @@ -339,6 +348,7 @@ export default defineI18nConfig(() => ({ 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 !", + backToList: "Retourner aux calendriers", isLoading: "Chargement du calendrier…", hasXEvents: "Ce calendrier contient {count} évènements publiques", date: { diff --git a/pages/calendars/[id].vue b/pages/calendars/[id].vue index 29f0786..f99cc3f 100644 --- a/pages/calendars/[id].vue +++ b/pages/calendars/[id].vue @@ -1,5 +1,5 @@ - - diff --git a/pages/explore.vue b/pages/explore.vue index 5d298d6..f298e4c 100644 --- a/pages/explore.vue +++ b/pages/explore.vue @@ -1,9 +1,7 @@ + +
+ + {{ $t("entity.calendar.notFound") }} + + +
+ + + + {{ $t("entity.calendar.notFound") }} + + +

+ {{ $t('entity.calendar.notFoundDescription') }} +

+ + + + + + {{ $t('entity.calendar.backToList') }} + + +
+
diff --git a/pages/my/worlds/[id].vue b/pages/my/worlds/[id].vue index 39e84e6..992f05d 100644 --- a/pages/my/worlds/[id].vue +++ b/pages/my/worlds/[id].vue @@ -2,7 +2,7 @@ import type { RealtimeChannel } from "@supabase/supabase-js" import type { World } from "~/models/World"; import type { Calendar } from "~/models/CalendarConfig"; -import { PhPlus, PhTrash } from "@phosphor-icons/vue"; +import { PhArrowBendDoubleUpLeft, PhGlobeHemisphereWest, PhPlus, PhTrash } from "@phosphor-icons/vue"; const supabase = useSupabaseClient() const route = useRoute() @@ -112,7 +112,7 @@ function hideDeleteModal() { {{ $t('entity.isLoading') }} -