mirror of https://github.com/Chocobozzz/PeerTube
Improve report labels
parent
13230c6815
commit
d3bb7994fe
|
@ -112,7 +112,7 @@ export class AccountsComponent implements OnInit, OnDestroy {
|
||||||
if (!this.isAccountManageable) {
|
if (!this.isAccountManageable) {
|
||||||
this.prependModerationActions = [
|
this.prependModerationActions = [
|
||||||
{
|
{
|
||||||
label: $localize`Report account`,
|
label: $localize`Report this account`,
|
||||||
handler: () => this.showReportModal()
|
handler: () => this.showReportModal()
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -168,7 +168,7 @@ export class VideoCommentComponent implements OnInit, OnChanges {
|
||||||
|
|
||||||
if (this.isReportableByUser()) {
|
if (this.isReportableByUser()) {
|
||||||
this.prependModerationActions.push({
|
this.prependModerationActions.push({
|
||||||
label: $localize`Report`,
|
label: $localize`Report this comment`,
|
||||||
iconName: 'flag',
|
iconName: 'flag',
|
||||||
handler: () => this.showReportModal()
|
handler: () => this.showReportModal()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue