diff options
author | Caroline Chuong <caroline.chuong@octo.com> | 2020-06-15 16:42:13 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-18 09:02:23 +0200 |
commit | d6d951ddc0c492f3261065b5dcb4df0534d252fc (patch) | |
tree | 1a0e1b07ea9f0b6aa1e55fe5651aecba7daa3122 /client/src/app | |
parent | 67c604ae691e372c35dff90e7343c9232dc87511 (diff) | |
download | PeerTube-d6d951ddc0c492f3261065b5dcb4df0534d252fc.tar.gz PeerTube-d6d951ddc0c492f3261065b5dcb4df0534d252fc.tar.zst PeerTube-d6d951ddc0c492f3261065b5dcb4df0534d252fc.zip |
Remove uneccessary details to link titles
Diffstat (limited to 'client/src/app')
11 files changed, 19 insertions, 19 deletions
diff --git a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html index a2d0fde08..919b5d26d 100644 --- a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html +++ b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html | |||
@@ -14,11 +14,11 @@ | |||
14 | 14 | ||
15 | <span class="plugin-version">{{ plugin.version }}</span> | 15 | <span class="plugin-version">{{ plugin.version }}</span> |
16 | 16 | ||
17 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="plugin.homepage" i18n-title title="Go to the plugin homepage"> | 17 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="plugin.homepage" i18n-title title="Plugin homepage (new window)"> |
18 | <my-global-icon iconName="home"></my-global-icon> | 18 | <my-global-icon iconName="home"></my-global-icon> |
19 | </a> | 19 | </a> |
20 | 20 | ||
21 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Go to the plugin homepage"> | 21 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Plugin homepage (new window)"> |
22 | <my-global-icon iconName="npm"></my-global-icon> | 22 | <my-global-icon iconName="npm"></my-global-icon> |
23 | </a> | 23 | </a> |
24 | 24 | ||
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html index dc4d00469..d3333a370 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html | |||
@@ -37,11 +37,11 @@ | |||
37 | 37 | ||
38 | <span class="plugin-version">{{ plugin.latestVersion }}</span> | 38 | <span class="plugin-version">{{ plugin.latestVersion }}</span> |
39 | 39 | ||
40 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="plugin.homepage" i18n-title title="Go to the plugin homepage"> | 40 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="plugin.homepage" i18n-title title="Plugin homepage (new window)"> |
41 | <my-global-icon iconName="home"></my-global-icon> | 41 | <my-global-icon iconName="home"></my-global-icon> |
42 | </a> | 42 | </a> |
43 | 43 | ||
44 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Go to the plugin npm package"> | 44 | <a class="plugin-icon" target="_blank" rel="noopener noreferrer" [href]="'https://www.npmjs.com/package/peertube-plugin-' + plugin.name" i18n-title title="Plugin npm package (new window)"> |
45 | <my-global-icon iconName="npm"></my-global-icon> | 45 | <my-global-icon iconName="npm"></my-global-icon> |
46 | </a> | 46 | </a> |
47 | 47 | ||
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html index a50acfdf8..14ae497d9 100644 --- a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html +++ b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html | |||
@@ -25,13 +25,13 @@ | |||
25 | <ng-template pTemplate="body" let-videoChangeOwnership> | 25 | <ng-template pTemplate="body" let-videoChangeOwnership> |
26 | <tr> | 26 | <tr> |
27 | <td> | 27 | <td> |
28 | <a [href]="videoChangeOwnership.initiatorAccount.url" i18n-title title="Go to the account" | 28 | <a [href]="videoChangeOwnership.initiatorAccount.url" i18n-title title="Account page" |
29 | target="_blank" rel="noopener noreferrer"> | 29 | target="_blank" rel="noopener noreferrer"> |
30 | {{ createByString(videoChangeOwnership.initiatorAccount) }} | 30 | {{ createByString(videoChangeOwnership.initiatorAccount) }} |
31 | </a> | 31 | </a> |
32 | </td> | 32 | </td> |
33 | <td> | 33 | <td> |
34 | <a [href]="videoChangeOwnership.video.url" i18n-title title="Go to the video" target="_blank" rel="noopener noreferrer"> | 34 | <a [href]="videoChangeOwnership.video.url" i18n-title title="Video page" target="_blank" rel="noopener noreferrer"> |
35 | {{ videoChangeOwnership.video.name }} | 35 | {{ videoChangeOwnership.video.name }} |
36 | </a> | 36 | </a> |
37 | </td> | 37 | </td> |
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html index 23dfdc8f5..ce41360bf 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html | |||
@@ -8,14 +8,14 @@ | |||
8 | </a> | 8 | </a> |
9 | 9 | ||
10 | <div class="video-channel-info"> | 10 | <div class="video-channel-info"> |
11 | <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Go to the channel"> | 11 | <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Channel page"> |
12 | <div class="video-channel-display-name">{{ videoChannel.displayName }}</div> | 12 | <div class="video-channel-display-name">{{ videoChannel.displayName }}</div> |
13 | <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div> | 13 | <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div> |
14 | </a> | 14 | </a> |
15 | 15 | ||
16 | <div i18n class="video-channel-followers">{{ videoChannel.followersCount }} subscribers</div> | 16 | <div i18n class="video-channel-followers">{{ videoChannel.followersCount }} subscribers</div> |
17 | 17 | ||
18 | <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Go the owner account page" class="actor-owner"> | 18 | <a [routerLink]="[ '/accounts', videoChannel.ownerBy ]" i18n-title title="Owner account page" class="actor-owner"> |
19 | <span i18n>Created by {{ videoChannel.ownerBy }}</span> | 19 | <span i18n>Created by {{ videoChannel.ownerBy }}</span> |
20 | <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" /> | 20 | <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" /> |
21 | </a> | 21 | </a> |
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html index bf4fa9396..b2e8210d3 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html | |||
@@ -13,7 +13,7 @@ | |||
13 | </a> | 13 | </a> |
14 | 14 | ||
15 | <div class="video-channel-info"> | 15 | <div class="video-channel-info"> |
16 | <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Go to the channel"> | 16 | <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Channel page"> |
17 | <div class="video-channel-display-name">{{ videoChannel.displayName }}</div> | 17 | <div class="video-channel-display-name">{{ videoChannel.displayName }}</div> |
18 | <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div> | 18 | <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div> |
19 | </a> | 19 | </a> |
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index b243c129b..b66c9afde 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -8,7 +8,7 @@ | |||
8 | <div class="top-left-block"> | 8 | <div class="top-left-block"> |
9 | <span class="icon icon-menu" (click)="menu.toggleMenu()"></span> | 9 | <span class="icon icon-menu" (click)="menu.toggleMenu()"></span> |
10 | 10 | ||
11 | <a class="peertube-title" [routerLink]="defaultRoute" title="Homepage" i18n-title> | 11 | <a class="peertube-title" [routerLink]="defaultRoute"> |
12 | <span class="icon icon-logo"></span> | 12 | <span class="icon icon-logo"></span> |
13 | <span class="instance-name">{{ instanceName }}</span> | 13 | <span class="instance-name">{{ instanceName }}</span> |
14 | </a> | 14 | </a> |
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index f748a47d5..a8d34088c 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -168,9 +168,9 @@ | |||
168 | 168 | ||
169 | <div class="footer-copyleft"> | 169 | <div class="footer-copyleft"> |
170 | <small class="d-inline" i18n-title title="powered by PeerTube - CopyLeft 2015-2020"> | 170 | <small class="d-inline" i18n-title title="powered by PeerTube - CopyLeft 2015-2020"> |
171 | <a href="https://joinpeertube.org" class="mr-1" i18n-title title="PeerTube website" target="_blank" rel="noopener noreferrer" i18n>powered by PeerTube</a> | 171 | <a href="https://joinpeertube.org" class="mr-1" target="_blank" rel="noopener noreferrer" i18n>powered by PeerTube</a> |
172 | 172 | ||
173 | <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" i18n-title title="PeerTube license" target="_blank" rel="noopener noreferrer"> | 173 | <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" target="_blank" rel="noopener noreferrer"> |
174 | <span aria-label="copyleft" class="d-inline-block" style="transform: rotateY(180deg)">©</span> 2015-2020 | 174 | <span aria-label="copyleft" class="d-inline-block" style="transform: rotateY(180deg)">©</span> 2015-2020 |
175 | </a> | 175 | </a> |
176 | </small> | 176 | </small> |
diff --git a/client/src/app/shared/channel/avatar.component.html b/client/src/app/shared/channel/avatar.component.html index 062ef5bde..09871fca4 100644 --- a/client/src/app/shared/channel/avatar.component.html +++ b/client/src/app/shared/channel/avatar.component.html | |||
@@ -1,8 +1,8 @@ | |||
1 | <div class="wrapper" [ngClass]="'avatar-' + size"> | 1 | <div class="wrapper" [ngClass]="'avatar-' + size"> |
2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> | 2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> |
3 | <img [src]="video.videoChannelAvatarUrl" alt="Channel avatar" /> | 3 | <img [src]="video.videoChannelAvatarUrl" i18n-alt alt="Channel avatar" /> |
4 | </a> | 4 | </a> |
5 | <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle"> | 5 | <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle"> |
6 | <img [src]="video.accountAvatarUrl" alt="Account avatar" /> | 6 | <img [src]="video.accountAvatarUrl" i18n-alt alt="Account avatar" /> |
7 | </a> | 7 | </a> |
8 | </div> | 8 | </div> |
diff --git a/client/src/app/shared/channel/avatar.component.ts b/client/src/app/shared/channel/avatar.component.ts index 2c8eeb4b2..31f39c200 100644 --- a/client/src/app/shared/channel/avatar.component.ts +++ b/client/src/app/shared/channel/avatar.component.ts | |||
@@ -20,11 +20,11 @@ export class AvatarComponent implements OnInit { | |||
20 | 20 | ||
21 | ngOnInit () { | 21 | ngOnInit () { |
22 | this.channelLinkTitle = this.i18n( | 22 | this.channelLinkTitle = this.i18n( |
23 | 'Go to the channel page of {{name}} ({{handle}})', | 23 | '{{name}} (channel page)', |
24 | { name: this.video.channel.name, handle: this.video.byVideoChannel } | 24 | { name: this.video.channel.name, handle: this.video.byVideoChannel } |
25 | ) | 25 | ) |
26 | this.accountLinkTitle = this.i18n( | 26 | this.accountLinkTitle = this.i18n( |
27 | 'Go to the account page of {{name}} ({{handle}})', | 27 | '{{name}} (account page)', |
28 | { name: this.video.account.name, handle: this.video.byAccount } | 28 | { name: this.video.account.name, handle: this.video.byAccount } |
29 | ) | 29 | ) |
30 | } | 30 | } |
diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index 36e18d018..a08c3fc8d 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts | |||
@@ -114,7 +114,7 @@ export class VideoMiniatureComponent implements OnInit { | |||
114 | this.setUpBy() | 114 | this.setUpBy() |
115 | 115 | ||
116 | this.channelLinkTitle = this.i18n( | 116 | this.channelLinkTitle = this.i18n( |
117 | 'Go to the channel page of {{name}} ({{handle}})', | 117 | '{{name}} (channel page)', |
118 | { name: this.video.channel.name, handle: this.video.byVideoChannel } | 118 | { name: this.video.channel.name, handle: this.video.byVideoChannel } |
119 | ) | 119 | ) |
120 | 120 | ||
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index e10056f93..0447268f0 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -147,10 +147,10 @@ | |||
147 | <avatar-channel [video]="video"></avatar-channel> | 147 | <avatar-channel [video]="video"></avatar-channel> |
148 | 148 | ||
149 | <div class="video-info-channel-left-links ml-1"> | 149 | <div class="video-info-channel-left-links ml-1"> |
150 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Go the channel page"> | 150 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Channel page"> |
151 | {{ video.channel.displayName }} | 151 | {{ video.channel.displayName }} |
152 | </a> | 152 | </a> |
153 | <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Go to the account page"> | 153 | <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Account page"> |
154 | <span i18n>By {{ video.byAccount }}</span> | 154 | <span i18n>By {{ video.byAccount }}</span> |
155 | </a> | 155 | </a> |
156 | </div> | 156 | </div> |