Add translation for the page not found error

This commit is contained in:
2026-05-19 21:46:58 +02:00
parent a60526e6d7
commit ffaa6200c3
2 changed files with 9 additions and 2 deletions
+7 -1
View File
@@ -14,10 +14,16 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<script setup>
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
</script>
<template>
<div class="not-found">
<span class="error-message">
The page you are looking for does not exist. Please check the URL or return to the search page.
{{ t('error.pageNotFound') }}
</span>
<RouterLink to="/" id="link">Back to Search</RouterLink>
</div>