Skip to content

Commit

Permalink
Correcting translations (#2980)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elblinator authored Nov 6, 2023
1 parent 81a27af commit 99bbcbe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/app/infrastructure/utils/validators/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function createEmailValidator(): ValidatorFn {

const validEmail = EMAIL_VALIDATION_REGEX.test(value);
if (!validEmail) {
return { email: `Please enter a valid email address` };
return { email: `Please enter a valid email address!` };
}
return null;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>{{ 'Personal information' | translate }}</h2>
formControlName="email"
/>
<mat-error *ngIf="personalInfoForm.get('email')?.hasError('email')">
{{ 'Please enter a valid email address' | translate }}
{{ 'Please enter a valid email address!' | translate }}
</mat-error>
</mat-form-field>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>{{ 'Personal information' | translate }}</h2>
name="email"
formControlName="email"
/>
<mat-error>{{ 'Please enter a valid email address' | translate }}</mat-error>
<mat-error>{{ 'Please enter a valid email address!' | translate }}</mat-error>
</mat-form-field>
<!-- username -->
<mat-form-field class="full-width">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>{{ 'Email settings' | translate }}</h2>
<mat-label>{{ 'Reply address' | translate }}</mat-label>
<input matInput formControlName="users_email_replyto" osTrimOnPaste />
<mat-error>
{{ 'Please enter a valid email address' | translate }}
{{ 'Please enter a valid email address!' | translate }}
</mat-error>
</mat-form-field>
<mat-form-field>
Expand Down

0 comments on commit 99bbcbe

Please sign in to comment.