From c8f8022f44ebb3ba35a50def239da57fdb770eca Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Tue, 19 May 2026 21:47:49 +0200 Subject: [PATCH] Add translation for the back to search link on the not found view --- src/locales/en.json | 5 +++++ src/views/NotFound.vue | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index 59afa56..6d8b504 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -11,5 +11,10 @@ "error": { "tryAgainToAnotherTime": "Please try again to another time.", "pageNotFound": "The page you are looking for does not exist. Please check the URL or return to the search page." + }, + "links": { + "back": { + "search": "Back to Search" + } } } \ No newline at end of file diff --git a/src/views/NotFound.vue b/src/views/NotFound.vue index 59bf197..83d3582 100644 --- a/src/views/NotFound.vue +++ b/src/views/NotFound.vue @@ -25,7 +25,9 @@ const { t } = useI18n(); {{ t('error.pageNotFound') }} - Back to Search + + {{ t('links.back.search') }} +