feat(i18n): 404 page (#679)

This commit is contained in:
莫颓 2023-10-22 16:07:43 +08:00 committed by GitHub
parent 720201aa7b
commit 35563b8457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,8 @@
home:
categories:
newestTools: Newest tools
404:
notFound: '404 Not Found'
sorry: 'Sorry, this page does not seem to exist'
maybe: 'Maybe the cache is doing tricky things, try force-refreshing?'
backHome: 'Back home'

View file

@ -11,17 +11,17 @@ useHead({ title: 'Page not found - IT Tools' });
</span>
<h1 m-0 mt-3>
404 Not Found
{{ $t('404.notFound') }}
</h1>
<div mt-4 op-60>
Sorry, this page does not seem to exist
{{ $t('404.sorry') }}
</div>
<div mb-8 op-60>
Maybe the cache is doing tricky things, try force-refreshing?
{{ $t('404.maybe') }}
</div>
<c-button to="/">
Back home
{{ $t('404.backHome') }}
</c-button>
</div>
</template>