Fix language inconsistency

This commit is contained in:
Angelina Filippova 2020-05-29 21:27:33 +03:00
parent d23c9f8130
commit a0cbeefb14
3 changed files with 6 additions and 6 deletions

View file

@ -258,12 +258,12 @@ export default {
admin: 'Admin',
local: 'local',
external: 'external',
localUppercase: 'Local',
accountType: 'Account type',
nickname: 'Nickname',
recentStatuses: 'Recent Statuses',
roles: 'Roles',
activeUppercase: 'Active',
active: 'active',
status: 'Status',
deactivated: 'deactivated',
noStatuses: 'No statuses to show',
securitySettings: {
@ -284,7 +284,7 @@ export default {
},
usersFilter: {
inputPlaceholder: 'Select filter',
byUserType: 'By user type',
byAccountType: 'By account type',
local: 'Local',
external: 'External',
byStatus: 'By status',

View file

@ -6,7 +6,7 @@
multiple
class="select-field"
@change="toggleFilters">
<el-option-group :label="$t('usersFilter.byUserType')">
<el-option-group :label="$t('usersFilter.byAccountType')">
<el-option value="local">{{ $t('usersFilter.local') }}</el-option>
<el-option value="external">{{ $t('usersFilter.external') }}</el-option>
</el-option-group>

View file

@ -76,14 +76,14 @@
</td>
</tr>
<tr class="el-table__row">
<td>{{ $t('userProfile.localUppercase') }}</td>
<td>{{ $t('userProfile.accountType') }}</td>
<td>
<el-tag v-if="user.local" type="info">{{ $t('userProfile.local') }}</el-tag>
<el-tag v-if="!user.local" type="info">{{ $t('userProfile.external') }}</el-tag>
</td>
</tr>
<tr class="el-table__row">
<td>{{ $t('userProfile.activeUppercase') }}</td>
<td>{{ $t('userProfile.status') }}</td>
<td>
<el-tag v-if="!user.deactivated" type="success">{{ $t('userProfile.active') }}</el-tag>
<el-tag v-if="user.deactivated" type="danger">{{ $t('userProfile.deactivated') }}</el-tag>