mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
[ban] warn admins that the message will be visible
This commit is contained in:
parent
64281926a8
commit
33deea50f8
@ -502,6 +502,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -584,6 +584,7 @@ mode:
|
|||||||
|
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -512,6 +512,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -493,6 +493,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -506,6 +506,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -1112,6 +1112,7 @@ mode:
|
|||||||
|
|
||||||
ban:
|
ban:
|
||||||
reason: 'Powód blokady'
|
reason: 'Powód blokady'
|
||||||
|
visible: '(to będzie widoczne dla osoby zbanowanej)'
|
||||||
action: 'Zablokuj tę osobę'
|
action: 'Zablokuj tę osobę'
|
||||||
confirm: 'Czy na pewno chcesz zbanować @%username%?'
|
confirm: 'Czy na pewno chcesz zbanować @%username%?'
|
||||||
header: 'Twoje konto jest zablokowane. Twoje profile nie są widoczne publicznie.'
|
header: 'Twoje konto jest zablokowane. Twoje profile nie są widoczne publicznie.'
|
||||||
|
@ -510,6 +510,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -1082,6 +1082,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -523,6 +523,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -491,6 +491,7 @@ mode:
|
|||||||
# TODO
|
# TODO
|
||||||
ban:
|
ban:
|
||||||
reason: 'Ban reason'
|
reason: 'Ban reason'
|
||||||
|
visible: '(this will be visible to the user)'
|
||||||
action: 'Ban this person'
|
action: 'Ban this person'
|
||||||
confirm: 'Are you sure you want to ban @%username%?'
|
confirm: 'Are you sure you want to ban @%username%?'
|
||||||
header: 'You''re banned. Your profile will not be shown to anyone.'
|
header: 'You''re banned. Your profile will not be shown to anyone.'
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
<client-only>
|
<client-only>
|
||||||
<section v-if="$isGranted('users')">
|
<section v-if="$isGranted('users')">
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
<textarea v-model="profile.bannedReason" class="form-control" rows="3" :placeholder="$t('ban.reason')" :disabled="saving"></textarea>
|
<textarea v-model="profile.bannedReason" class="form-control" rows="3" :placeholder="$t('ban.reason') + ' ' + $t('ban.visible')" :disabled="saving"></textarea>
|
||||||
<button class="btn btn-danger d-block w-100 mt-2" :disabled="saving" @click="ban">
|
<button class="btn btn-danger d-block w-100 mt-2" :disabled="saving" @click="ban">
|
||||||
<Icon v="ban"/>
|
<Icon v="ban"/>
|
||||||
{{$t('ban.action')}}
|
{{$t('ban.action')}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user