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"

View File

@ -737,10 +737,6 @@
"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": {

View File

@ -17,7 +17,11 @@
"close": "Chiudi",
"retry": "Riprova",
"error_retry": "Per favore, riprova",
"loading": "Carico…"
"loading": "Carico…",
"role": {
"moderator": "Moderatore",
"admin": "Amministratore"
}
},
"nav": {
"mentions": "Menzioni",
@ -487,11 +491,7 @@
"follow_progress": "Richiedo…",
"follow_sent": "Richiesta inviata!",
"favorites": "Preferiti",
"message": "Contatta",
"roles": {
"moderator": "Moderatore",
"admin": "Amministratore"
}
"message": "Contatta"
},
"chat": {
"title": "Chat"

View File

@ -35,7 +35,12 @@
"retry": "Tenta novamente",
"error_retry": "Por favor, tenta novamente",
"loading": "A carregar…",
"dismiss": "Ignorar"
"dismiss": "Ignorar",
"role":
{
"moderator": "Moderador",
"admin": "Admin"
}
},
"image_cropper": {
"crop_picture": "Cortar imagem",
@ -615,11 +620,7 @@
"report": "Denunciar",
"message": "Mensagem",
"mention": "Mencionar",
"hidden": "Ocultar",
"roles": {
"moderator": "Moderador",
"admin": "Admin"
}
"hidden": "Ocultar"
},
"user_profile": {
"timeline_title": "Cronologia do Utilizador",

View File

@ -24,7 +24,11 @@
"retry": "Попробуйте еще раз",
"error_retry": "Пожалуйста попробуйте еще раз",
"close": "Закрыть",
"loading": "Загрузка…"
"loading": "Загрузка…",
"role": {
"moderator": "Модератор",
"admin": "Администратор"
}
},
"login": {
"login": "Войти",
@ -541,11 +545,7 @@
"mention": "Упомянуть",
"show_repeats": "Показывать повторы",
"hide_repeats": "Скрыть повторы",
"report": "Пожаловаться",
"roles": {
"moderator": "Модератор",
"admin": "Администратор"
}
"report": "Пожаловаться"
},
"user_profile": {
"timeline_title": "Лента пользователя"

View File

@ -17,7 +17,11 @@
"more": "Більше",
"submit": "Відправити",
"apply": "Застосувати",
"peek": "Глянути"
"peek": "Глянути",
"role": {
"moderator": "Модератор",
"admin": "Адміністратор"
}
},
"finder": {
"error_fetching_user": "Користувача не знайдено",
@ -760,11 +764,7 @@
"unblock": "Розблокувати",
"remote_follow": "Підписатись",
"muted": "Заглушений",
"mute": "Заглушити",
"roles": {
"moderator": "Модератор",
"admin": "Адміністратор"
}
"mute": "Заглушити"
},
"status": {
"copy_link": "Скопіювати посилання на допис",