generated from Seekra/repository-template
Add translation for the page not found error
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user