Use vue-i18n #68

Merged
jakob.scheid merged 14 commits from feature/vue-i18n into main 2026-05-20 17:35:02 +02:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit ffaa6200c3 - Show all commits
+2 -1
View File
@@ -9,6 +9,7 @@
}
},
"error": {
"tryAgainToAnotherTime": "Please try again to another time."
"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."
}
}
+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>