From eaa529528cafcfb291009f9f99d296c81e792899 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 24 May 2022 16:29:01 +0200 Subject: Support ICU in TS components --- client/src/app/+my-library/my-history/my-history.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/+my-library/my-history') diff --git a/client/src/app/+my-library/my-history/my-history.component.ts b/client/src/app/+my-library/my-history/my-history.component.ts index f6b712908..766869637 100644 --- a/client/src/app/+my-library/my-history/my-history.component.ts +++ b/client/src/app/+my-library/my-history/my-history.component.ts @@ -93,8 +93,8 @@ export class MyHistoryComponent implements OnInit, DisableForReuseHook { .subscribe({ next: () => { const message = this.videosHistoryEnabled === true - ? $localize`Videos history is enabled` - : $localize`Videos history is disabled` + ? $localize`Video history is enabled` + : $localize`Video history is disabled` this.notifier.success(message) @@ -117,8 +117,8 @@ export class MyHistoryComponent implements OnInit, DisableForReuseHook { } async clearAllHistory () { - const title = $localize`Delete videos history` - const message = $localize`Are you sure you want to delete all your videos history?` + const title = $localize`Delete video history` + const message = $localize`Are you sure you want to delete all your video history?` const res = await this.confirmService.confirm(message, title) if (res !== true) return @@ -126,7 +126,7 @@ export class MyHistoryComponent implements OnInit, DisableForReuseHook { this.userHistoryService.clearAll() .subscribe({ next: () => { - this.notifier.success($localize`Videos history deleted`) + this.notifier.success($localize`Video history deleted`) this.reloadData() }, -- cgit v1.2.3