aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/reset-password/reset-password.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/reset-password/reset-password.component.html
parent989e526abf0c0dd7958deb630df009608561bb67 (diff)
downloadPeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.tar.gz
PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.tar.zst
PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.zip
Add i18n attributes
Diffstat (limited to 'client/src/app/reset-password/reset-password.component.html')
-rw-r--r--client/src/app/reset-password/reset-password.component.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/reset-password/reset-password.component.html b/client/src/app/reset-password/reset-password.component.html
index 9cf623c64..20e62d0b7 100644
--- a/client/src/app/reset-password/reset-password.component.html
+++ b/client/src/app/reset-password/reset-password.component.html
@@ -1,13 +1,13 @@
1<div class="margin-content"> 1<div class="margin-content">
2 <div class="title-page title-page-single"> 2 <div i18n class="title-page title-page-single">
3 Reset my password 3 Reset my password
4 </div> 4 </div>
5 5
6 <form role="form" (ngSubmit)="resetPassword()" [formGroup]="form"> 6 <form role="form" (ngSubmit)="resetPassword()" [formGroup]="form">
7 <div class="form-group"> 7 <div class="form-group">
8 <label for="password">Password</label> 8 <label i18n for="password">Password</label>
9 <input 9 <input
10 type="password" name="password" id="password" placeholder="Password" required 10 type="password" name="password" id="password" i18n-placeholder placeholder="Password" required
11 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" 11 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }"
12 > 12 >
13 <div *ngIf="formErrors.password" class="form-error"> 13 <div *ngIf="formErrors.password" class="form-error">
@@ -16,9 +16,9 @@
16 </div> 16 </div>
17 17
18 <div class="form-group"> 18 <div class="form-group">
19 <label for="password-confirm">Confirm password</label> 19 <label i18n for="password-confirm">Confirm password</label>
20 <input 20 <input
21 type="password" name="password-confirm" id="password-confirm" placeholder="Confirmed password" required 21 type="password" name="password-confirm" id="password-confirm" i18n-placeholder placeholder="Confirmed password" required
22 formControlName="password-confirm" [ngClass]="{ 'input-error': formErrors['password-confirm'] }" 22 formControlName="password-confirm" [ngClass]="{ 'input-error': formErrors['password-confirm'] }"
23 > 23 >
24 <div *ngIf="formErrors['password-confirm']" class="form-error"> 24 <div *ngIf="formErrors['password-confirm']" class="form-error">
@@ -26,6 +26,6 @@
26 </div> 26 </div>
27 </div> 27 </div>
28 28
29 <input type="submit" value="Reset my password" [disabled]="!form.valid && isConfirmedPasswordValid()"> 29 <input type="submit" i18n-value value="Reset my password" [disabled]="!form.valid && isConfirmedPasswordValid()">
30 </form> 30 </form>
31</div> 31</div>