From dc5bb5cea5bf7e906caa6d9c5468e6de36e605de Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 12 Nov 2020 21:09:17 +0100 Subject: reword unclear sentences, check for grammar fixes #3222 --- client/src/app/shared/form-validators/user-validators.ts | 2 +- .../shared-main/users/user-notifications.component.html | 2 +- .../shared-moderation/user-moderation-dropdown.component.ts | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/form-validators/user-validators.ts b/client/src/app/shared/form-validators/user-validators.ts index 18199505c..9efc5180d 100644 --- a/client/src/app/shared/form-validators/user-validators.ts +++ b/client/src/app/shared/form-validators/user-validators.ts @@ -27,7 +27,7 @@ export const USER_CHANNEL_NAME_VALIDATOR: BuildFormValidator = { 'required': $localize`Channel name is required.`, 'minlength': $localize`Channel name must be at least 1 character long.`, 'maxlength': $localize`Channel name cannot be more than 50 characters long.`, - 'pattern': $localize`Channel name should be lowercase alphanumeric; dots and underscores are allowed.` + 'pattern': $localize`Channel name should be lowercase, and can contain only alphanumeric characters, dots and underscores.` } } diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.html b/client/src/app/shared/shared-main/users/user-notifications.component.html index a56a0859b..91a4c8dc3 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.html +++ b/client/src/app/shared/shared-main/users/user-notifications.component.html @@ -187,7 +187,7 @@
- The notification points to a content now unavailable + The notification points to content now unavailable
diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts index 44aefa853..f59910d1c 100644 --- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts +++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts @@ -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' }) } ]) -- cgit v1.2.3