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">
<div class="selectable-list-header" v-if="items.length > 0"> <div class="selectable-list-header" v-if="items.length > 0">
<div class="selectable-list-checkbox-wrapper"> <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>
<div class="selectable-list-header-actions"> <div class="selectable-list-header-actions">
<slot name="header" :selected="selected" /> <slot name="header" :selected="selected" />

View file

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