aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-15 10:25:58 +0100
committerChocobozzz <me@florianbigard.com>2021-01-15 10:25:58 +0100
commitf19a9e4b68f581610badcbb888727470d8c095b4 (patch)
treeb9a4e49c64a8bd05b2abe593289953067d9966a3
parent7af5ded409c50f4f19a220cea36a8bbd16b0be24 (diff)
downloadPeerTube-f19a9e4b68f581610badcbb888727470d8c095b4.tar.gz
PeerTube-f19a9e4b68f581610badcbb888727470d8c095b4.tar.zst
PeerTube-f19a9e4b68f581610badcbb888727470d8c095b4.zip
Add missing translations
-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