Skip to content

Commit b6a7da5

Browse files
committed
zh-cn login
1 parent 83d85f3 commit b6a7da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/login-form/login-form.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<div *ngIf="applicationService.auth_user.logged==false" class="container">
33
<h1 i18n="@@login_title">Login</h1>
44
<mat-form-field>
5-
<input matInput placeholder="Username" [(ngModel)]="username" required>
5+
<input matInput i18n-placeholder="@@username" placeholder="Username" [(ngModel)]="username" required>
66
</mat-form-field>
77

88
<mat-form-field>
9-
<input matInput type="password" placeholder="Password" [(ngModel)]="password" required>
9+
<input matInput i18n-placeholder="@@password" type="password" placeholder="Password" [(ngModel)]="password" required>
1010
</mat-form-field>
1111

1212
<button i18n="@@submit" mat-button (click)="onSubmit($event)">Submit</button>

0 commit comments

Comments
 (0)