diff --git a/src/application/i18n/messages/en.json b/src/application/i18n/messages/en.json index 5010264b..ed94a9fe 100644 --- a/src/application/i18n/messages/en.json +++ b/src/application/i18n/messages/en.json @@ -105,6 +105,10 @@ "title": "Recents", "authText": "You are not logged in, log in to see your recent notes" }, + "error": { + "404": "Not found", + "500": "Internal server error" + }, "errors": { "404": "Page not found", "500": "Unknown error happened", diff --git a/src/presentation/pages/Error.vue b/src/presentation/pages/Error.vue index e387719e..794ef100 100644 --- a/src/presentation/pages/Error.vue +++ b/src/presentation/pages/Error.vue @@ -56,7 +56,7 @@ useHead({ }); const openPageInfo = { - title: te(`errors.${props.code}`) ? t(`errors.${props.code}`) : t(`errors.default`), + title: te(`error.${props.code}`) ? t(`error.${props.code}`) : t(`pages.error`), url: route.path, };