Update some components to use i18n function, update en & zh-CN translation

This commit is contained in:
AnnAngela
2022-04-04 11:33:02 +08:00
parent 43eed45bae
commit 706d6cee07
6 changed files with 90 additions and 53 deletions

View File

@@ -21,7 +21,9 @@
<div class="form-text">
<ul>
<li>{{ $t("Accept characters:") }} <mark>a-z</mark> <mark>0-9</mark> <mark>-</mark></li>
<li>{{ $t("Start or end with") }} <mark>a-z</mark> <mark>0-9</mark> only</li>
<i18n-t tag="li" keypath="startOrEndWithOnly">
<mark>a-z</mark> <mark>0-9</mark>
</i18n-t>
<li>{{ $t("No consecutive dashes") }} <mark>--</mark></li>
</ul>
</div>