aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-16 17:05:24 +0200
committerChocobozzz <me@florianbigard.com>2022-06-16 17:07:50 +0200
commitbaf99fcc65b2118d794a8b6fd537055505630b34 (patch)
tree0a8db9afd6f6f70b6403377e49064fec3b6b3acf
parent8fe45ea7be58e499ce105fa9594a5f1bf9f1dd72 (diff)
downloadPeerTube-baf99fcc65b2118d794a8b6fd537055505630b34.tar.gz
PeerTube-baf99fcc65b2118d794a8b6fd537055505630b34.tar.zst
PeerTube-baf99fcc65b2118d794a8b6fd537055505630b34.zip
Fix strings that cannot be merged by xlf-merge
-rw-r--r--client/src/app/+admin/follows/following-list/follow-modal.component.ts2
-rw-r--r--client/src/app/+admin/overview/comments/video-comment-list.component.ts2
-rw-r--r--client/src/app/+admin/overview/users/user-list/user-list.component.ts6
-rw-r--r--client/src/app/shared/shared-moderation/user-ban-modal.component.ts2
-rw-r--r--client/src/app/shared/shared-moderation/video-block.component.ts2
5 files changed, 7 insertions, 7 deletions
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 {
62 .subscribe({ 62 .subscribe({
63 next: () => { 63 next: () => {
64 this.notifier.success( 64 this.notifier.success(
65 prepareIcu($localize`{count, plural, =1 {Follow request} other {Follow requests}} sent!`)( 65 prepareIcu($localize`{count, plural, =1 {Follow request sent!} other {Follow requests sent!}}`)(
66 { count: hostsOrHandles.length }, 66 { count: hostsOrHandles.length },
67 $localize`Follow request(s) sent!` 67 $localize`Follow request(s) sent!`
68 ) 68 )
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 {
147 .subscribe({ 147 .subscribe({
148 next: () => { 148 next: () => {
149 this.notifier.success( 149 this.notifier.success(
150 prepareIcu($localize`{count, plural, =1 {1 comment} other {{count} comments}} deleted.`)( 150 prepareIcu($localize`{count, plural, =1 {1 comment deleted.} other {{count} comments deleted.}}`)(
151 { count: commentArgs.length }, 151 { count: commentArgs.length },
152 $localize`${commentArgs.length} comment(s) deleted.` 152 $localize`${commentArgs.length} comment(s) deleted.`
153 ) 153 )
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 {
224 .subscribe({ 224 .subscribe({
225 next: () => { 225 next: () => {
226 this.notifier.success( 226 this.notifier.success(
227 prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} unbanned.`)( 227 prepareIcu($localize`{count, plural, =1 {1 user unbanned.} other {{count} users unbanned.}}`)(
228 { count: users.length }, 228 { count: users.length },
229 $localize`${users.length} users unbanned.` 229 $localize`${users.length} users unbanned.`
230 ) 230 )
@@ -253,7 +253,7 @@ export class UserListComponent extends RestTable implements OnInit {
253 .subscribe({ 253 .subscribe({
254 next: () => { 254 next: () => {
255 this.notifier.success( 255 this.notifier.success(
256 prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} deleted.`)( 256 prepareIcu($localize`{count, plural, =1 {1 user deleted.} other {{count} users deleted.}}`)(
257 { count: users.length }, 257 { count: users.length },
258 $localize`${users.length} users deleted.` 258 $localize`${users.length} users deleted.`
259 ) 259 )
@@ -271,7 +271,7 @@ export class UserListComponent extends RestTable implements OnInit {
271 .subscribe({ 271 .subscribe({
272 next: () => { 272 next: () => {
273 this.notifier.success( 273 this.notifier.success(
274 prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} email set as verified.`)( 274 prepareIcu($localize`{count, plural, =1 {1 user email set as verified.} other {{count} user emails set as verified.}}`)(
275 { count: users.length }, 275 { count: users.length },
276 $localize`${users.length} users email set as verified.` 276 $localize`${users.length} users email set as verified.`
277 ) 277 )
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 {
67 let message: string 67 let message: string
68 68
69 if (Array.isArray(this.usersToBan)) { 69 if (Array.isArray(this.usersToBan)) {
70 message = prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} banned.`)( 70 message = prepareIcu($localize`{count, plural, =1 {1 user banned.} other {{count} users banned.}}`)(
71 { count: this.usersToBan.length }, 71 { count: this.usersToBan.length },
72 $localize`${this.usersToBan.length} users banned.` 72 $localize`${this.usersToBan.length} users banned.`
73 ) 73 )
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 {
81 this.videoBlocklistService.blockVideo(options) 81 this.videoBlocklistService.blockVideo(options)
82 .subscribe({ 82 .subscribe({
83 next: () => { 83 next: () => {
84 const message = prepareIcu($localize`{count, plural, =1 {Blocked {videoName}} other {Blocked {count} videos}}.`)( 84 const message = prepareIcu($localize`{count, plural, =1 {Blocked {videoName}.} other {Blocked {count} videos.}}`)(
85 { count: this.videos.length, videoName: this.getSingleVideo().name }, 85 { count: this.videos.length, videoName: this.getSingleVideo().name },
86 $localize`Blocked ${this.videos.length} videos.` 86 $localize`Blocked ${this.videos.length} videos.`
87 ) 87 )