mirror of
https://github.com/cuigh/swirl
synced 2025-06-26 18:16:50 +00:00
Improve Chinese and English language files
This commit is contained in:
@@ -39,8 +39,8 @@
|
||||
<table id="table-{{n}}s" class="table is-bordered is-striped is-narrow is-marginless is-fullwidth" data-name="{{name}}">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
<th>{{ i18n("field.value") }}</th>
|
||||
<th width="48">
|
||||
<a class="button is-small is-success is-outlined" data-action="add-{{n}}">
|
||||
<span class="icon is-small">
|
||||
@@ -81,8 +81,8 @@
|
||||
<table id="table-{{n}}s" class="table is-bordered is-striped is-narrow is-marginless is-fullwidth" data-name="{{name}}">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>{{ i18n("field.name") }}</th>
|
||||
<th>{{ i18n("field.value") }}</th>
|
||||
<th width="48">
|
||||
<a class="button is-small is-success is-outlined" data-action="add-{{n}}">
|
||||
<span class="icon is-small">
|
||||
@@ -119,10 +119,10 @@
|
||||
{{ block form_submit(url) }}
|
||||
<div class="field is-grouped">
|
||||
<div class="control">
|
||||
<button type="submit" class="button is-primary">Submit</button>
|
||||
<button type="submit" class="button is-primary">{{ i18n("button.submit") }}</button>
|
||||
</div>
|
||||
<div class="control">
|
||||
<a href="{{ url }}" class="button is-link">Cancel</a>
|
||||
<a href="{{ url }}" class="button is-link">{{ i18n("button.cancel") }}</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ block pager(info) }}
|
||||
<nav class="pagination is-centered">
|
||||
<a class="pagination-previous" {{ if info.Page > 1 }}href="{{ info.URL(info.Page-1) }}"{{ else }}disabled{{ end }}>Previous</a>
|
||||
<a class="pagination-next" {{ if info.Page < info.MaxPage }}href="{{ info.URL(info.Page+1) }}"{{ else }}disabled{{ end }}>Next</a>
|
||||
<a class="pagination-previous" {{ if info.Page > 1 }}href="{{ info.URL(info.Page-1) }}"{{ else }}disabled{{ end }}>{{ i18n("button.previous") }}</a>
|
||||
<a class="pagination-next" {{ if info.Page < info.MaxPage }}href="{{ info.URL(info.Page+1) }}"{{ else }}disabled{{ end }}>{{ i18n("button.next") }}</a>
|
||||
<ul class="pagination-list">
|
||||
{{ range info.Pages }}
|
||||
<li>
|
||||
|
||||
@@ -556,8 +556,8 @@
|
||||
</nav>
|
||||
</section>
|
||||
<footer class="modal-card-foot">
|
||||
<button id="btn-add-{{ name }}" type="button" class="button is-primary">Confirm</button>
|
||||
<button type="button" class="button dismiss">Cancel</button>
|
||||
<button id="btn-add-{{ name }}" type="button" class="button is-primary">{{ i18n("button.confirm") }}</button>
|
||||
<button type="button" class="button dismiss">{{ i18n("button.cancel") }}</button>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user