Fix translate error

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Jianhui Zhao
2018-06-15 22:22:59 +08:00
parent 8542632167
commit 3d191aa1d9
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<Col span="6">
<Input v-model="filterString" icon="search" size="large" @on-change="handleSearch" :placeholder="$t('Please enter the filter key...')" style="width: 400px" />
</Col>
<Col span="3" offset="15" class="counter">{{ $t('Online Device: {count}', {count: devlists.length}) }}</Col>
<Col span="3" offset="15" class="counter">{{ $t('device-count', {count: devlists.length}) }}</Col>
</Row>
<Table :loading="loading" :columns="devlistTitle" :data="filtered" style="margin-top: 10px; width: 100%" :no-data-text="$t('No devices connected')"></Table>
</div>
+3 -2
View File
@@ -1,6 +1,7 @@
const RttyI18n = {
'en-US': {
'upfile-info': 'The file "{name}" will be saved in the "/tmp/" directory of your device.'
'upfile-info': 'The file "{name}" will be saved in the "/tmp/" directory of your device.',
'device-count': 'Online Device: {count}'
},
'zh-CN': {
'Description': '描述',
@@ -31,7 +32,7 @@ const RttyI18n = {
'username is required': '用户名为必填',
'Login Fail! username or password wrong.': '登录失败,用户名或密码错误',
'Connect failed': '连接失败',
'Online Device: {count}': '在线设备数:{count}',
'device-count': '在线设备数:{count}',
}
}