Renames properties on 2nd tab of DMP wizard. (Issue #124)

This commit is contained in:
gkolokythas 2019-06-26 10:24:11 +03:00
parent 237ae94f10
commit fb824c70e9
2 changed files with 8 additions and 4 deletions

View File

@ -20,11 +20,13 @@
<mat-form-field class="col-md-12"> <mat-form-field class="col-md-12">
<textarea matInput class="description-area" placeholder="{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.DESCRIPTION' | translate}}" <textarea matInput class="description-area" placeholder="{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.DESCRIPTION' | translate}}"
formControlName="description"></textarea> formControlName="description"></textarea>
<mat-hint>{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.DESCRIPTION-HINT' | translate}}</mat-hint>
</mat-form-field> </mat-form-field>
<mat-form-field class="col-12"> <mat-form-field class="col-12 mt-3">
<app-single-auto-complete [required]='true' [formControl]="formGroup.get('datasetProfile')" placeholder="{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.PROFILE' | translate}}" <app-single-auto-complete [required]='true' [formControl]="formGroup.get('datasetProfile')" placeholder="{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.PROFILE' | translate}}"
[configuration]="profilesAutoCompleteConfiguration" [disabled]="datasetIsEmpty()"> [configuration]="profilesAutoCompleteConfiguration" [disabled]="datasetIsEmpty()">
</app-single-auto-complete> </app-single-auto-complete>
<mat-hint>{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.PROFILE-HINT' | translate}}</mat-hint>
<mat-error *ngIf="formGroup.get('datasetProfile').hasError('backendError')"> <mat-error *ngIf="formGroup.get('datasetProfile').hasError('backendError')">
{{formGroup.get('datasetProfile').getError('backendError').message}}</mat-error> {{formGroup.get('datasetProfile').getError('backendError').message}}</mat-error>
<mat-error *ngIf="formGroup.get('datasetProfile').hasError('required')"> <mat-error *ngIf="formGroup.get('datasetProfile').hasError('required')">

View File

@ -887,13 +887,15 @@
} }
}, },
"SECOND-STEP": { "SECOND-STEP": {
"TITLE": "Description", "TITLE": "DMP Profile",
"NEW-TITLE": "", "NEW-TITLE": "",
"DMP-NAME": "DMP For Project : ", "DMP-NAME": "DMP For Project : ",
"FIELDS": { "FIELDS": {
"NAME": "Title of the DMP", "NAME": "Title of the DMP",
"DESCRIPTION": "Provide an optional description for the DMP context and purpose", "DESCRIPTION": "Summary",
"PROFILE": "Dataset Description Template" "DESCRIPTION-HINT": "Briefly describe the context and purpose of the DMP",
"PROFILE": "Dataset Description Template",
"PROFILE-HINT": "Select a template to describe your dataset(s)"
} }
}, },
"THIRD-STEP": { "THIRD-STEP": {