1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

reword unclear sentences, check for grammar

fixes #3222
This commit is contained in:
Rigel Kent 2020-11-12 21:09:17 +01:00
parent 501af82d99
commit dc5bb5cea5
No known key found for this signature in database
GPG key ID: 5E53E96A494E452F
13 changed files with 24 additions and 28 deletions

View file

@ -295,7 +295,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
this.userActions.push([
{
label: $localize`Mute this account`,
description: $localize`Hide any content from that user for you.`,
description: $localize`Hide any content from that user from you.`,
isDisplayed: ({ account }) => account.mutedByUser === false,
handler: ({ account }) => this.blockAccountByUser(account)
},
@ -319,7 +319,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
},
{
label: $localize`Remove comments from your videos`,
description: $localize`Remove comments of this account from your videos.`,
description: $localize`Remove comments made by this account on your videos.`,
handler: ({ account }) => this.bulkRemoveCommentsOf({ accountName: account.nameWithHost, scope: 'my-videos' })
}
])
@ -331,13 +331,13 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
instanceActions = instanceActions.concat([
{
label: $localize`Mute this account by your instance`,
description: $localize`Hide any content from that user for you, your instance and its users.`,
description: $localize`Hide any content from that user from you, your instance and its users.`,
isDisplayed: ({ account }) => account.mutedByInstance === false,
handler: ({ account }) => this.blockAccountByInstance(account)
},
{
label: $localize`Unmute this account by your instance`,
description: $localize`Show back content from that user for you, your instance and its users.`,
description: $localize`Show this user's content to the users of this instance again.`,
isDisplayed: ({ account }) => account.mutedByInstance === true,
handler: ({ account }) => this.unblockAccountByInstance(account)
}
@ -349,7 +349,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
instanceActions = instanceActions.concat([
{
label: $localize`Mute the instance by your instance`,
description: $localize`Hide any content from that instance for you, your instance and its users.`,
description: $localize`Hide any content from that instance from you, your instance and its users.`,
isDisplayed: ({ account }) => !account.userId && account.mutedServerByInstance === false,
handler: ({ account }) => this.blockServerByInstance(account.host)
},
@ -366,7 +366,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
instanceActions = instanceActions.concat([
{
label: $localize`Remove comments from your instance`,
description: $localize`Remove comments of this account from your instance.`,
description: $localize`Remove comments made by this account from your instance.`,
handler: ({ account }) => this.bulkRemoveCommentsOf({ accountName: account.nameWithHost, scope: 'instance' })
}
])