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 8 additions and 1 deletions
Showing only changes of commit c8f8022f44 - Show all commits
+5
View File
@@ -11,5 +11,10 @@
"error": { "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." "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"
}
} }
} }
+3 -1
View File
@@ -25,7 +25,9 @@ const { t } = useI18n();
<span class="error-message"> <span class="error-message">
{{ t('error.pageNotFound') }} {{ t('error.pageNotFound') }}
</span> </span>
<RouterLink to="/" id="link">Back to Search</RouterLink> <RouterLink to="/" id="link">
{{ t('links.back.search') }}
</RouterLink>
</div> </div>
</template> </template>