aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-videos/my-videos.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-library/my-videos/my-videos.component.ts')
-rw-r--r--client/src/app/+my-library/my-videos/my-videos.component.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.ts b/client/src/app/+my-library/my-videos/my-videos.component.ts
index 57b8bdf7d..1827d6a0b 100644
--- a/client/src/app/+my-library/my-videos/my-videos.component.ts
+++ b/client/src/app/+my-library/my-videos/my-videos.component.ts
@@ -5,7 +5,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'
5import { ActivatedRoute, Router } from '@angular/router' 5import { ActivatedRoute, Router } from '@angular/router'
6import { AuthService, ComponentPagination, ConfirmService, Notifier, ScreenService, ServerService, User } from '@app/core' 6import { AuthService, ComponentPagination, ConfirmService, Notifier, ScreenService, ServerService, User } from '@app/core'
7import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook' 7import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook'
8import { immutableAssign, prepareIcu } from '@app/helpers' 8import { immutableAssign, formatICU } from '@app/helpers'
9import { AdvancedInputFilter } from '@app/shared/shared-forms' 9import { AdvancedInputFilter } from '@app/shared/shared-forms'
10import { DropdownAction, Video, VideoService } from '@app/shared/shared-main' 10import { DropdownAction, Video, VideoService } from '@app/shared/shared-main'
11import { LiveStreamInformationComponent } from '@app/shared/shared-video-live' 11import { LiveStreamInformationComponent } from '@app/shared/shared-video-live'
@@ -184,9 +184,9 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
184 .map(([ k, _v ]) => parseInt(k, 10)) 184 .map(([ k, _v ]) => parseInt(k, 10))
185 185
186 const res = await this.confirmService.confirm( 186 const res = await this.confirmService.confirm(
187 prepareIcu($localize`Do you really want to delete {length, plural, =1 {this video} other {{length} videos}}?`)( 187 formatICU(
188 { length: toDeleteVideosIds.length }, 188 $localize`Do you really want to delete {length, plural, =1 {this video} other {{length} videos}}?`,
189 $localize`Do you really want to delete ${toDeleteVideosIds.length} videos?` 189 { length: toDeleteVideosIds.length }
190 ), 190 ),
191 $localize`Delete` 191 $localize`Delete`
192 ) 192 )
@@ -205,9 +205,9 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook {
205 .subscribe({ 205 .subscribe({
206 next: () => { 206 next: () => {
207 this.notifier.success( 207 this.notifier.success(
208 prepareIcu($localize`{length, plural, =1 {Video has been deleted} other {{length} videos have been deleted}}`)( 208 formatICU(
209 { length: toDeleteVideosIds.length }, 209 $localize`{length, plural, =1 {Video has been deleted} other {{length} videos have been deleted}}`,
210 $localize`${toDeleteVideosIds.length} have been deleted.` 210 { length: toDeleteVideosIds.length }
211 ) 211 )
212 ) 212 )
213 213