generated from Seekra/repository-template
Add translation for the back to search link on the not found view
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,9 @@ const { t } = useI18n();
|
||||
<span class="error-message">
|
||||
{{ t('error.pageNotFound') }}
|
||||
</span>
|
||||
<RouterLink to="/" id="link">Back to Search</RouterLink>
|
||||
<RouterLink to="/" id="link">
|
||||
{{ t('links.back.search') }}
|
||||
</RouterLink>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user