diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
commit | 25acef90a85c1584880dec96aa402f896af8364a (patch) | |
tree | 5e62e68c2e32a94a289ebd77f0610ed5a085a142 /client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts | |
parent | 632f9815c6ab87fce3f3f7399cef9f7679fde908 (diff) | |
download | PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.gz PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.zst PeerTube-25acef90a85c1584880dec96aa402f896af8364a.zip |
Fix i18n in components
Diffstat (limited to 'client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts index cff1041f6..6d1098865 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts | |||
@@ -35,7 +35,7 @@ export class MyAccountVideoChannelsComponent implements OnInit { | |||
35 | async deleteVideoChannel (videoChannel: VideoChannel) { | 35 | async deleteVideoChannel (videoChannel: VideoChannel) { |
36 | const res = await this.confirmService.confirmWithInput( | 36 | const res = await this.confirmService.confirmWithInput( |
37 | this.i18n( | 37 | this.i18n( |
38 | 'Do you really want to delete {{ videoChannelName }}? It will delete all videos uploaded in this channel too.', | 38 | 'Do you really want to delete {{videoChannelName}}? It will delete all videos uploaded in this channel too.', |
39 | { videoChannelName: videoChannel.displayName } | 39 | { videoChannelName: videoChannel.displayName } |
40 | ), | 40 | ), |
41 | this.i18n('Please type the name of the video channel to confirm'), | 41 | this.i18n('Please type the name of the video channel to confirm'), |
@@ -50,7 +50,7 @@ export class MyAccountVideoChannelsComponent implements OnInit { | |||
50 | this.loadVideoChannels() | 50 | this.loadVideoChannels() |
51 | this.notificationsService.success( | 51 | this.notificationsService.success( |
52 | this.i18n('Success'), | 52 | this.i18n('Success'), |
53 | this.i18n('Video channel {{ videoChannelName } deleted.', { videoChannelName: videoChannel.displayName }) | 53 | this.i18n('Video channel {{videoChannelName}} deleted.', { videoChannelName: videoChannel.displayName }) |
54 | ) | 54 | ) |
55 | }, | 55 | }, |
56 | 56 | ||