aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+videos/video-list/video-trending.component.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/+videos/video-list/video-trending.component.ts b/client/src/app/+videos/video-list/video-trending.component.ts
index babcb9067..a188795d1 100644
--- a/client/src/app/+videos/video-list/video-trending.component.ts
+++ b/client/src/app/+videos/video-list/video-trending.component.ts
@@ -45,10 +45,11 @@ export class VideoTrendingComponent extends AbstractVideoList implements OnInit,
45 if (trendingDays === 1) { 45 if (trendingDays === 1) {
46 this.titlePage = $localize`Trending for the last 24 hours` 46 this.titlePage = $localize`Trending for the last 24 hours`
47 this.titleTooltip = $localize`Trending videos are those totalizing the greatest number of views during the last 24 hours` 47 this.titleTooltip = $localize`Trending videos are those totalizing the greatest number of views during the last 24 hours`
48 } else { 48 return
49 this.titlePage = `Trending for the last ${trendingDays} days`
50 this.titleTooltip = `Trending videos are those totalizing the greatest number of views during the last ${trendingDays} days`
51 } 49 }
50
51 this.titlePage = $localize`Trending for the last ${trendingDays} days`
52 this.titleTooltip = $localize`Trending videos are those totalizing the greatest number of views during the last ${trendingDays} days`
52 }) 53 })
53 } 54 }
54 55