support i18n

This commit is contained in:
taehoon 2019-04-04 16:22:54 -04:00
parent 7f6bd538f3
commit ac9ddfb1e2
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="selectable-list">
<div class="selectable-list-header" v-if="items.length > 0">
<div class="selectable-list-checkbox-wrapper">
<Checkbox :checked="allSelected" @change="toggleAll">Select All</Checkbox>
<Checkbox :checked="allSelected" @change="toggleAll">{{ $t('selectable_list.select_all') }}</Checkbox>
</div>
<div class="selectable-list-header-actions">
<slot name="header" :selected="selected" />

View File

@ -112,6 +112,9 @@
"password_confirmation_match": "should be the same as password"
}
},
"selectable_list": {
"select_all": "Select all"
},
"settings": {
"app_name": "App name",
"attachmentRadius": "Attachments",