feat(i18n): improve translations (#219)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: 沈青川 <46062972+ShenQingchuan@users.noreply.github.com>
This commit is contained in:
Alex 2022-11-29 18:55:28 +08:00 committed by GitHub
parent 8df22b8a3f
commit 09f80f291b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 103 additions and 44 deletions

View file

@ -2,7 +2,7 @@
<div flex="~ col" items-center>
<div i-ri:forbid-line text-10 mt10 mb2 />
<div text-lg>
<slot>404 Not Found</slot>
<slot>{{ $t('common.not_found') }}</slot>
</div>
</div>
</template>

View file

@ -55,10 +55,10 @@ const { items, prevItems, update, state, endAnchor, error } = usePaginator(pagin
</div>
</slot>
<div v-else-if="state === 'done'" p5 text-secondary italic text-center>
End of the list
{{ $t('common.end_of_list') }}
</div>
<div v-else-if="state === 'error'" p5 text-secondary>
ERROR: {{ error }}
{{ $t('common.error') }}: {{ error }}
</div>
</div>
</template>