Merge branch 'feat/user-role-i18n' into 'develop'
UserCard: Make user roles translateable See merge request pleroma/pleroma-fe!1331
This commit is contained in:
commit
e14917e28d
|
@ -83,7 +83,7 @@
|
|||
v-if="!!visibleRole"
|
||||
class="alert user-role"
|
||||
>
|
||||
{{ visibleRole }}
|
||||
{{ $t(`user_card.roles.${visibleRole}`) }}
|
||||
</span>
|
||||
<span
|
||||
v-if="user.bot"
|
||||
|
@ -507,7 +507,6 @@
|
|||
|
||||
.user-role {
|
||||
flex: none;
|
||||
text-transform: capitalize;
|
||||
color: $fallback--text;
|
||||
color: var(--alertNeutralText, $fallback--text);
|
||||
background-color: $fallback--fg;
|
||||
|
|
|
@ -729,6 +729,10 @@
|
|||
"quarantine": "Disallow user posts from federating",
|
||||
"delete_user": "Delete user",
|
||||
"delete_user_confirmation": "Are you absolutely sure? This action cannot be undone."
|
||||
},
|
||||
"roles": {
|
||||
"admin": "Admin",
|
||||
"moderator": "Moderator"
|
||||
}
|
||||
},
|
||||
"user_profile": {
|
||||
|
|
Loading…
Reference in New Issue