aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/following-list/following-list.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-05 09:13:26 +0200
committerChocobozzz <me@florianbigard.com>2018-06-05 09:13:26 +0200
commit25acef90a85c1584880dec96aa402f896af8364a (patch)
tree5e62e68c2e32a94a289ebd77f0610ed5a085a142 /client/src/app/+admin/follows/following-list/following-list.component.ts
parent632f9815c6ab87fce3f3f7399cef9f7679fde908 (diff)
downloadPeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.gz
PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.zst
PeerTube-25acef90a85c1584880dec96aa402f896af8364a.zip
Fix i18n in components
Diffstat (limited to 'client/src/app/+admin/follows/following-list/following-list.component.ts')
-rw-r--r--client/src/app/+admin/follows/following-list/following-list.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.ts b/client/src/app/+admin/follows/following-list/following-list.component.ts
index 2fb818c90..06e341e68 100644
--- a/client/src/app/+admin/follows/following-list/following-list.component.ts
+++ b/client/src/app/+admin/follows/following-list/following-list.component.ts
@@ -33,7 +33,7 @@ export class FollowingListComponent extends RestTable implements OnInit {
33 33
34 async removeFollowing (follow: AccountFollow) { 34 async removeFollowing (follow: AccountFollow) {
35 const res = await this.confirmService.confirm( 35 const res = await this.confirmService.confirm(
36 this.i18n('Do you really want to unfollow {{ host }}?', { host: follow.following.host }), 36 this.i18n('Do you really want to unfollow {{host}}?', { host: follow.following.host }),
37 this.i18n('Unfollow') 37 this.i18n('Unfollow')
38 ) 38 )
39 if (res === false) return 39 if (res === false) return
@@ -42,7 +42,7 @@ export class FollowingListComponent extends RestTable implements OnInit {
42 () => { 42 () => {
43 this.notificationsService.success( 43 this.notificationsService.success(
44 this.i18n('Success'), 44 this.i18n('Success'),
45 this.i18n('You are not following {{ host }} anymore.', { host: follow.following.host }) 45 this.i18n('You are not following {{host}} anymore.', { host: follow.following.host })
46 ) 46 )
47 this.loadData() 47 this.loadData()
48 }, 48 },