User card: use general.role instead of card-specific roles

Also removes admin_menu.roles from some localizations since it is not
used anywhere
This commit is contained in:
rinpatch 2021-02-13 16:34:43 +03:00
parent 7f3fd9ca21
commit 6acf812101
6 changed files with 26 additions and 29 deletions

View file

@ -83,7 +83,7 @@
v-if="!!visibleRole"
class="alert user-role"
>
{{ $t(`user_card.roles.${visibleRole}`) }}
{{ $t(`general.role.${visibleRole}`) }}
</span>
<span
v-if="user.bot"