diff --git a/client/src/app/+admin/follows/following-list/follow-modal.component.ts b/client/src/app/+admin/follows/following-list/follow-modal.component.ts index bac7b2b01..07cc75d77 100644 --- a/client/src/app/+admin/follows/following-list/follow-modal.component.ts +++ b/client/src/app/+admin/follows/following-list/follow-modal.component.ts @@ -62,7 +62,7 @@ export class FollowModalComponent extends FormReactive implements OnInit { .subscribe({ next: () => { this.notifier.success( - prepareIcu($localize`{count, plural, =1 {Follow request} other {Follow requests}} sent!`)( + prepareIcu($localize`{count, plural, =1 {Follow request sent!} other {Follow requests sent!}}`)( { count: hostsOrHandles.length }, $localize`Follow request(s) sent!` ) diff --git a/client/src/app/+admin/overview/comments/video-comment-list.component.ts b/client/src/app/+admin/overview/comments/video-comment-list.component.ts index f1b27d846..f01a1629b 100644 --- a/client/src/app/+admin/overview/comments/video-comment-list.component.ts +++ b/client/src/app/+admin/overview/comments/video-comment-list.component.ts @@ -147,7 +147,7 @@ export class VideoCommentListComponent extends RestTable implements OnInit { .subscribe({ next: () => { this.notifier.success( - prepareIcu($localize`{count, plural, =1 {1 comment} other {{count} comments}} deleted.`)( + prepareIcu($localize`{count, plural, =1 {1 comment deleted.} other {{count} comments deleted.}}`)( { count: commentArgs.length }, $localize`${commentArgs.length} comment(s) deleted.` ) diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.ts b/client/src/app/+admin/overview/users/user-list/user-list.component.ts index c3a7646cc..91f42546b 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.ts @@ -224,7 +224,7 @@ export class UserListComponent extends RestTable implements OnInit { .subscribe({ next: () => { this.notifier.success( - prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} unbanned.`)( + prepareIcu($localize`{count, plural, =1 {1 user unbanned.} other {{count} users unbanned.}}`)( { count: users.length }, $localize`${users.length} users unbanned.` ) @@ -253,7 +253,7 @@ export class UserListComponent extends RestTable implements OnInit { .subscribe({ next: () => { this.notifier.success( - prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} deleted.`)( + prepareIcu($localize`{count, plural, =1 {1 user deleted.} other {{count} users deleted.}}`)( { count: users.length }, $localize`${users.length} users deleted.` ) @@ -271,7 +271,7 @@ export class UserListComponent extends RestTable implements OnInit { .subscribe({ next: () => { this.notifier.success( - prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} email set as verified.`)( + prepareIcu($localize`{count, plural, =1 {1 user email set as verified.} other {{count} user emails set as verified.}}`)( { count: users.length }, $localize`${users.length} users email set as verified.` ) diff --git a/client/src/app/shared/shared-moderation/user-ban-modal.component.ts b/client/src/app/shared/shared-moderation/user-ban-modal.component.ts index 8b483499a..617408f2a 100644 --- a/client/src/app/shared/shared-moderation/user-ban-modal.component.ts +++ b/client/src/app/shared/shared-moderation/user-ban-modal.component.ts @@ -67,7 +67,7 @@ export class UserBanModalComponent extends FormReactive implements OnInit { let message: string if (Array.isArray(this.usersToBan)) { - message = prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} banned.`)( + message = prepareIcu($localize`{count, plural, =1 {1 user banned.} other {{count} users banned.}}`)( { count: this.usersToBan.length }, $localize`${this.usersToBan.length} users banned.` ) diff --git a/client/src/app/shared/shared-moderation/video-block.component.ts b/client/src/app/shared/shared-moderation/video-block.component.ts index e14473b89..f8b22a3f6 100644 --- a/client/src/app/shared/shared-moderation/video-block.component.ts +++ b/client/src/app/shared/shared-moderation/video-block.component.ts @@ -81,7 +81,7 @@ export class VideoBlockComponent extends FormReactive implements OnInit { this.videoBlocklistService.blockVideo(options) .subscribe({ next: () => { - const message = prepareIcu($localize`{count, plural, =1 {Blocked {videoName}} other {Blocked {count} videos}}.`)( + const message = prepareIcu($localize`{count, plural, =1 {Blocked {videoName}.} other {Blocked {count} videos.}}`)( { count: this.videos.length, videoName: this.getSingleVideo().name }, $localize`Blocked ${this.videos.length} videos.` )