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": {
|
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user