refs #151 Translate at lists

This commit is contained in:
AkiraFukushima 2018-08-12 23:10:49 +09:00
parent 444bd60b57
commit 4fcb886bfa
3 changed files with 14 additions and 2 deletions

View File

@ -153,5 +153,11 @@
"search": "Search",
"account": "Account",
"keyword": "keyword"
},
"lists": {
"index": {
"new_list": "New List",
"edit": "Edit"
}
}
}

View File

@ -153,5 +153,11 @@
"search": "検索",
"account": "アカウント",
"keyword": "キーワード"
},
"lists": {
"index": {
"new_list": "新規リスト",
"edit": "編集"
}
}
}

View File

@ -2,7 +2,7 @@
<div id="lists">
<div class="new-list" v-loading="creating" :element-loading-background="loadingBackground">
<el-form :inline="true">
<input v-model="title" placeholder="New List" class="list-title"></input>
<input v-model="title" :placeholder="$t('lists.index.new_list')" class="list-title"></input>
<el-button type="text" class="create" @click="createList">
<icon name="plus"></icon>
</el-button>
@ -14,7 +14,7 @@
</router-link>
<div class="tools">
<el-button type="text" @click="edit(list)">
Edit
{{ $t('lists.index.edit') }}
</el-button>
</div>
</div>