mirror of
https://github.com/cuigh/swirl
synced 2024-12-28 14:51:57 +00:00
Improve i18n
This commit is contained in:
parent
a10053168a
commit
bca5d6d01d
@ -24,6 +24,8 @@ button.restart: Restart
|
||||
button.previous: Previous
|
||||
button.next: Next
|
||||
button.import: Import
|
||||
button.export: Export
|
||||
button.more: More
|
||||
|
||||
# field
|
||||
field.name: Name
|
||||
|
@ -24,6 +24,8 @@ button.restart: 重启
|
||||
button.previous: 前一页
|
||||
button.next: 后一页
|
||||
button.import: 导入
|
||||
button.export: 导出
|
||||
button.more: 更多
|
||||
|
||||
# field
|
||||
field.name: 名称
|
||||
|
@ -41,7 +41,7 @@
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<div class="field">
|
||||
<label class="label">Image</label>
|
||||
<label class="label">{{ i18n("field.image") }}</label>
|
||||
<div class="control is-expanded">
|
||||
<input name="image" value="{{ .Service.Image }}" class="input" placeholder="" data-v-rule="native" required>
|
||||
</div>
|
||||
|
@ -65,7 +65,7 @@
|
||||
<div class="dropdown is-hoverable is-right">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button is-small" aria-haspopup="true" aria-controls="dropdown-menu-{{ .Name }}">
|
||||
<span>More</span>
|
||||
<span>{{ i18n("button.more") }}</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
||||
{*<i class="fas fa-ellipsis-v" aria-hidden="true"></i>*}
|
||||
|
@ -19,13 +19,13 @@
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<div class="field">
|
||||
<label class="label">Name</label>
|
||||
<label class="label">{{ i18n("field.name") }}</label>
|
||||
<div class="control">
|
||||
<input name="name" value="{{ .Service.Name }}" class="input" type="text" placeholder="" data-v-rule="native" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label">Image</label>
|
||||
<label class="label">{{ i18n("field.image") }}</label>
|
||||
<div class="field has-addons is-marginless">
|
||||
<div class="control">
|
||||
<span class="select">
|
||||
|
@ -73,9 +73,9 @@
|
||||
</article>
|
||||
</div>
|
||||
<footer class="card-footer">
|
||||
<a data-action="export-chart" class="card-footer-item">Export</a>
|
||||
<a href="{{ .Name }}/edit" class="card-footer-item">Edit</a>
|
||||
<a data-action="delete-chart" class="card-footer-item">Delete</a>
|
||||
<a data-action="export-chart" class="card-footer-item">{{ i18n("button.export") }}</a>
|
||||
<a href="{{ .Name }}/edit" class="card-footer-item">{{ i18n("button.edit") }}</a>
|
||||
<a data-action="delete-chart" class="card-footer-item">{{ i18n("button.delete") }}</a>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user