language fixes

This commit is contained in:
amentis 2024-05-16 17:39:40 +03:00
parent 9d737a8fe0
commit f928527b26
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
</div>
<div class="col-12 title-form">
<mat-form-field class="w-100">
<input matInput placeholder="{{'DMP-CLONE-DIALOG.FIELDS.LABEL-PLACEHOLDER' | translate}}" type="text" name="label" [formControl]="formGroup.get('label')" required>
<input matInput placeholder="{{'DMP-CLONE-DIALOG.FIELDS.LABEL' | translate}}" type="text" name="label" [formControl]="formGroup.get('label')" required>
<mat-error *ngIf="formGroup.get('label').hasError('backendError')">{{formGroup.get('label').getError('backendError').message}}</mat-error>
<mat-error *ngIf="formGroup.get('label').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
</mat-form-field>

View File

@ -10,7 +10,7 @@
</div>
<div class="col-12 title-form">
<mat-form-field class="w-100">
<input matInput placeholder="{{'DMP-NEW-VERSION-DIALOG.FIELDS.LABEL-PLACEHOLDER' | translate}}" type="text" name="label" [formControl]="formGroup.get('label')" required>
<input matInput placeholder="{{'DMP-NEW-VERSION-DIALOG.FIELDS.LABEL' | translate}}" type="text" name="label" [formControl]="formGroup.get('label')" required>
<mat-error *ngIf="formGroup.get('label').hasError('backendError')">{{formGroup.get('label').getError('backendError').message}}</mat-error>
<mat-error *ngIf="formGroup.get('label').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
</mat-form-field>