aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/signup.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/signup/signup.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/signup/signup.component.ts')
-rw-r--r--client/src/app/signup/signup.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/signup/signup.component.ts b/client/src/app/signup/signup.component.ts
index 72a0c045b..eaed2626d 100644
--- a/client/src/app/signup/signup.component.ts
+++ b/client/src/app/signup/signup.component.ts
@@ -84,7 +84,7 @@ export class SignupComponent extends FormReactive implements OnInit {
84 () => { 84 () => {
85 this.notificationsService.success( 85 this.notificationsService.success(
86 this.i18n('Success'), 86 this.i18n('Success'),
87 this.i18n('Registration for {{ username }} complete.', { username: userCreate.username }) 87 this.i18n('Registration for {{username}} complete.', { username: userCreate.username })
88 ) 88 )
89 this.redirectService.redirectToHomepage() 89 this.redirectService.redirectToHomepage()
90 }, 90 },
@@ -106,9 +106,9 @@ export class SignupComponent extends FormReactive implements OnInit {
106 const normalSeconds = initialUserVideoQuotaBit / (1.5 * 1000 * 1000) 106 const normalSeconds = initialUserVideoQuotaBit / (1.5 * 1000 * 1000)
107 107
108 const lines = [ 108 const lines = [
109 this.i18n('{{ seconds }} of full HD videos', { seconds: SignupComponent.getApproximateTime(fullHdSeconds) }), 109 this.i18n('{{seconds}} of full HD videos', { seconds: SignupComponent.getApproximateTime(fullHdSeconds) }),
110 this.i18n('{{ seconds }} of HD videos', { seconds: SignupComponent.getApproximateTime(hdSeconds) }), 110 this.i18n('{{seconds}} of HD videos', { seconds: SignupComponent.getApproximateTime(hdSeconds) }),
111 this.i18n('{{ seconds }} of average quality videos', { seconds: SignupComponent.getApproximateTime(normalSeconds) }) 111 this.i18n('{{seconds}} of average quality videos', { seconds: SignupComponent.getApproximateTime(normalSeconds) })
112 ] 112 ]
113 113
114 this.quotaHelpIndication = lines.join('<br />') 114 this.quotaHelpIndication = lines.join('<br />')