added vietnamese; translated all for vi.js; added translation variables in 'example/table/*, Tab, Excel, Zip, i18n'

This commit is contained in:
TON THAT QUOC CUONG
2018-01-03 17:27:01 +07:00
parent 1d0b26cec8
commit 127cd36872
14 changed files with 193 additions and 40 deletions

View File

@@ -4,27 +4,27 @@
<el-input style='width:300px;' :placeholder="$t('zip.placeholder')" prefix-icon="el-icon-document" v-model="filename"></el-input>
<el-button style='margin-bottom:20px;' type="primary" icon="document" @click="handleDownload" :loading="downloadLoading">{{$t('zip.export')}} zip</el-button>
<el-table :data="list" v-loading.body="listLoading" element-loading-text="拼命加载中" border fit highlight-current-row>
<el-table-column align="center" label='ID' width="95">
<el-table-column align="center" :label="$t('table.id')" width="95">
<template slot-scope="scope">
{{scope.$index}}
</template>
</el-table-column>
<el-table-column label="Title">
<el-table-column :label="$t('table.title')">
<template slot-scope="scope">
{{scope.row.title}}
</template>
</el-table-column>
<el-table-column label="Author" width="95" align="center">
<el-table-column :label="$t('table.author')" width="95" align="center">
<template slot-scope="scope">
<el-tag>{{scope.row.author}}</el-tag>
</template>
</el-table-column>
<el-table-column label="Readings" width="115" align="center">
<el-table-column :label="$t('table.readings')" width="115" align="center">
<template slot-scope="scope">
{{scope.row.pageviews}}
</template>
</el-table-column>
<el-table-column align="center" label="Date" width="220">
<el-table-column align="center" :label="$t('table.date')" width="220">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span>{{scope.row.display_time}}</span>