Add translations
This commit is contained in:
parent
cdeca18604
commit
1b8281040d
2 changed files with 16 additions and 7 deletions
|
@ -189,5 +189,14 @@ export default {
|
|||
sandbox: 'Force posts to be followers-only',
|
||||
disableRemoteSubscription: 'Disallow following user from remote instances',
|
||||
disableAnySubscription: 'Disallow following user at all'
|
||||
},
|
||||
usersFilter: {
|
||||
inputPlaceholder: 'Select filter',
|
||||
byUserType: 'By user type',
|
||||
local: 'Local',
|
||||
external: 'External',
|
||||
byStatus: 'By status',
|
||||
active: 'Active',
|
||||
deactivated: 'Deactivated'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
v-model="value"
|
||||
:collapse-tags="isMobile"
|
||||
:clearable="isDesktop"
|
||||
:placeholder="$t('usersFilter.inputPlaceholder')"
|
||||
multiple
|
||||
placeholder="Select filter"
|
||||
class="select-field"
|
||||
@change="toggleFilters">
|
||||
<el-option-group
|
||||
|
@ -25,21 +25,21 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
filters: [{
|
||||
label: 'By user type',
|
||||
label: this.$i18n.t('usersFilter.byUserType'),
|
||||
options: [{
|
||||
label: 'Local',
|
||||
label: this.$i18n.t('usersFilter.local'),
|
||||
value: 'localUsersOnly'
|
||||
}, {
|
||||
label: 'External',
|
||||
label: this.$i18n.t('usersFilter.external'),
|
||||
value: 'externalUsersOnly'
|
||||
}]
|
||||
}, {
|
||||
label: 'By status',
|
||||
label: this.$i18n.t('usersFilter.byStatus'),
|
||||
options: [{
|
||||
label: 'Active',
|
||||
label: this.$i18n.t('usersFilter.active'),
|
||||
value: 'activeUsersOnly'
|
||||
}, {
|
||||
label: 'Deactivated',
|
||||
label: this.$i18n.t('usersFilter.deactivated'),
|
||||
value: 'deactivatedUsersOnly'
|
||||
}]
|
||||
}],
|
||||
|
|
Loading…
Reference in a new issue