aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/signup.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-04 16:21:17 +0200
committerChocobozzz <me@florianbigard.com>2018-06-05 08:43:01 +0200
commitb1d40cff89f7cff565a98cdbcea9a624196a169a (patch)
treed24746c1cc69f50471a9eba0dfb1c1bae06a1870 /client/src/app/signup/signup.component.html
parent989e526abf0c0dd7958deb630df009608561bb67 (diff)
downloadPeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.tar.gz
PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.tar.zst
PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.zip
Add i18n attributes
Diffstat (limited to 'client/src/app/signup/signup.component.html')
-rw-r--r--client/src/app/signup/signup.component.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/client/src/app/signup/signup.component.html b/client/src/app/signup/signup.component.html
index 5f48786e5..2fe9a4281 100644
--- a/client/src/app/signup/signup.component.html
+++ b/client/src/app/signup/signup.component.html
@@ -1,11 +1,11 @@
1<div class="margin-content"> 1<div class="margin-content">
2 2
3 <div class="title-page title-page-single"> 3 <div i18n class="title-page title-page-single">
4 Create an account 4 Create an account
5 </div> 5 </div>
6 6
7 <div class="initial-user-quota"> 7 <div class="initial-user-quota">
8 <span class="initial-user-quota-label">Initial video quota:</span> 8 <span i18n class="initial-user-quota-label">Initial video quota:</span>
9 9
10 <span *ngIf="initialUserVideoQuota !== -1"> 10 <span *ngIf="initialUserVideoQuota !== -1">
11 {{ initialUserVideoQuota | bytes: 0 }} 11 {{ initialUserVideoQuota | bytes: 0 }}
@@ -13,18 +13,18 @@
13 <my-help helpType="custom" [customHtml]="quotaHelpIndication"></my-help> 13 <my-help helpType="custom" [customHtml]="quotaHelpIndication"></my-help>
14 </span> 14 </span>
15 15
16 <ng-template [ngIf]="initialUserVideoQuota === -1"> 16 <ng-container i18n *ngIf="initialUserVideoQuota === -1">
17 Unlimited 17 Unlimited
18 </ng-template> 18 </ng-container>
19 </div> 19 </div>
20 20
21 <div *ngIf="error" class="alert alert-danger">{{ error }}</div> 21 <div *ngIf="error" class="alert alert-danger">{{ error }}</div>
22 22
23 <form role="form" (ngSubmit)="signup()" [formGroup]="form"> 23 <form role="form" (ngSubmit)="signup()" [formGroup]="form">
24 <div class="form-group"> 24 <div class="form-group">
25 <label for="username">Username</label> 25 <label for="username" i18n>Username</label>
26 <input 26 <input
27 type="text" id="username" placeholder="Username" 27 type="text" id="username" i18n-placeholder placeholder="Username"
28 formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }" 28 formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }"
29 > 29 >
30 <div *ngIf="formErrors.username" class="form-error"> 30 <div *ngIf="formErrors.username" class="form-error">
@@ -33,9 +33,9 @@
33 </div> 33 </div>
34 34
35 <div class="form-group"> 35 <div class="form-group">
36 <label for="email">Email</label> 36 <label for="email" i18n>Email</label>
37 <input 37 <input
38 type="text" id="email" placeholder="Email" 38 type="text" id="email" i18n-placeholder placeholder="Email"
39 formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }" 39 formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }"
40 > 40 >
41 <div *ngIf="formErrors.email" class="form-error"> 41 <div *ngIf="formErrors.email" class="form-error">
@@ -44,9 +44,9 @@
44 </div> 44 </div>
45 45
46 <div class="form-group"> 46 <div class="form-group">
47 <label for="password">Password</label> 47 <label for="password" i18n>Password</label>
48 <input 48 <input
49 type="password" id="password" placeholder="Password" 49 type="password" id="password" i18n-placeholder placeholder="Password"
50 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" 50 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }"
51 > 51 >
52 <div *ngIf="formErrors.password" class="form-error"> 52 <div *ngIf="formErrors.password" class="form-error">
@@ -54,7 +54,7 @@
54 </div> 54 </div>
55 </div> 55 </div>
56 56
57 <input type="submit" value="Signup" [disabled]="!form.valid"> 57 <input type="submit" i18n-value value="Signup" [disabled]="!form.valid">
58 </form> 58 </form>
59 59
60</div> 60</div>