From 25acef90a85c1584880dec96aa402f896af8364a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 Jun 2018 09:13:26 +0200 Subject: Fix i18n in components --- .../my-account-video-channels/my-account-video-channels.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.ts') 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 { async deleteVideoChannel (videoChannel: VideoChannel) { const res = await this.confirmService.confirmWithInput( this.i18n( - 'Do you really want to delete {{ videoChannelName }}? It will delete all videos uploaded in this channel too.', + 'Do you really want to delete {{videoChannelName}}? It will delete all videos uploaded in this channel too.', { videoChannelName: videoChannel.displayName } ), this.i18n('Please type the name of the video channel to confirm'), @@ -50,7 +50,7 @@ export class MyAccountVideoChannelsComponent implements OnInit { this.loadVideoChannels() this.notificationsService.success( this.i18n('Success'), - this.i18n('Video channel {{ videoChannelName } deleted.', { videoChannelName: videoChannel.displayName }) + this.i18n('Video channel {{videoChannelName}} deleted.', { videoChannelName: videoChannel.displayName }) ) }, -- cgit v1.2.3