From f694936a3690bebedcd49ea287e309c0a0417ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20QUAISSARD?= <mael.quaissard@smile.fr> Date: Thu, 30 Jul 2020 12:18:25 +0200 Subject: [PATCH] 19715 - probative value - Fix form validation Co-authored-by: benemart <benedicte.martinez@cea.fr> --- .../probative-value-create.component.html | 16 +++++++++---- .../probative-value-create.component.ts | 6 +---- .../referential/src/locale/messages.en.xlf | 19 +++++++-------- .../referential/src/locale/messages.fr.xlf | 23 ++++++++++--------- .../referential/src/locale/messages.xlf | 23 ++++++++++--------- 5 files changed, 46 insertions(+), 41 deletions(-) diff --git a/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.html b/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.html index 53051f8e..71030c51 100644 --- a/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.html +++ b/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.html @@ -17,6 +17,16 @@ <ng-container *ngIf="form.get('unitId')?.touched"> <vitamui-common-input-error *ngIf="!!form.get('unitId')?.errors?.required" i18n="Required field error hint@@formErrorRequiredField">Champ requis</vitamui-common-input-error> + <ng-container *ngIf="form.get('unitId')?.errors?.minlength" > + <ng-template #minlengthErrorTemplate let-minlength="minlength"> + <vitamui-common-input-error i18n="Minlength field error hint@@formErrorMinlengthField"> + Le champ doit contenir au moins {{ minlength.requiredLength }} caractères + </vitamui-common-input-error> + </ng-template> + <ng-container *ngTemplateOutlet="minlengthErrorTemplate;context:form.get('unitId').errors"> + </ng-container> + </ng-container> + </ng-container> </vitamui-common-input> </div> @@ -64,14 +74,10 @@ </div> <div class="actions"> - <button type="submit" class="btn primary">Terminer</button> + <button type="submit" class="btn primary" [disabled]="form.invalid">Terminer</button> <button type="button" class="btn cancel" (click)="onCancel()">Annuler</button> </div> - <button type="button" class="back" cdkStepperPrevious> - <i class="material-icons">arrow_back</i> - <ng-container>Retour</ng-container> - </button> </div> </cdk-step> </vitamui-common-stepper> diff --git a/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.ts b/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.ts index b9e99c1e..7dcbbbe5 100644 --- a/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.ts +++ b/ui/ui-frontend/projects/referential/src/app/probative-value/probative-value-create/probative-value-create.component.ts @@ -81,20 +81,16 @@ export class ProbativeValueCreateComponent implements OnInit { } onSubmit() { - console.log('Form valid ? ', this.form.invalid); if (this.form.invalid) { return; } - console.log('data: ', this.form.value); - this.probativeValueService.create( this.createDsl(this.form.value), new HttpHeaders({'X-Access-Contract-Id': this.accessContractSelect.value})).subscribe( () => { this.dialogRef.close({success: true, action: 'none'}); }, - (error: any) => { + () => { this.dialogRef.close({success: false, action: 'none'}); - console.error(error); }); } diff --git a/ui/ui-frontend/projects/referential/src/locale/messages.en.xlf b/ui/ui-frontend/projects/referential/src/locale/messages.en.xlf index 6a2d0b39..592ff9de 100644 --- a/ui/ui-frontend/projects/referential/src/locale/messages.en.xlf +++ b/ui/ui-frontend/projects/referential/src/locale/messages.en.xlf @@ -350,7 +350,7 @@ <note priority="1" from="description">Required field error hint</note> - <context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">12</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">33</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">65</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/subrogation/subrogation-modal/subrogation-modal.component.d.ts</context><context context-type="linenumber">14</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">35</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-create/access-contract-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">17</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">31</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-preview/agency-information-tab/agency-information-tab.component.html</context><context context-type="linenumber">16</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">55</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">9</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">30</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">56</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">64</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">6</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">8</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">25</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">80</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">82</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/security-profile/security-profile-create/security-profile-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-preview/ontology-information-tab/ontology-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">37</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">76</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">73</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/admin-dsl/admin-dsl.component.html</context><context context-type="linenumber">24</context></context-group></trans-unit><trans-unit id="UserInfoTabLastname" datatype="html"> + <context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">12</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">33</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">65</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/subrogation/subrogation-modal/subrogation-modal.component.d.ts</context><context context-type="linenumber">14</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">35</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-create/access-contract-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">17</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">31</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-preview/agency-information-tab/agency-information-tab.component.html</context><context context-type="linenumber">16</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">55</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">9</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">30</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">56</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">64</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">6</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">8</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">25</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">80</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">82</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/security-profile/security-profile-create/security-profile-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-preview/ontology-information-tab/ontology-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">37</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">76</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">71</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/admin-dsl/admin-dsl.component.html</context><context context-type="linenumber">24</context></context-group></trans-unit><trans-unit id="UserInfoTabLastname" datatype="html"> <source>Nom</source><target state="new"/> <context-group purpose="location"> <context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context> @@ -771,12 +771,7 @@ <x id="START_ITALIC_TEXT" ctype="x-i" equiv-text="<i>"/><x id="CLOSE_ITALIC_TEXT" ctype="x-i" equiv-text="</i>"/> L'audit <x id="INTERPOLATION" equiv-text="{{data?.id}}"/> a bien été lancé. </source><target state="new"/> - <context-group purpose="location"><context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context><context context-type="linenumber">90</context></context-group></trans-unit><trans-unit id="notificationProbativeValueRun" datatype="html"> - <source> - Le relevé de valeur probante a bien été lancé - </source><target state="new"/> - - <context-group purpose="location"><context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context><context context-type="linenumber">94</context></context-group></trans-unit><trans-unit id="confirmActionConfirmDialogConfirmLabel" datatype="html"> + <context-group purpose="location"><context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context><context context-type="linenumber">90</context></context-group></trans-unit><trans-unit id="confirmActionConfirmDialogConfirmLabel" datatype="html"> <source>Valider</source><target state="new"/> @@ -1998,7 +1993,13 @@ <context context-type="linenumber">16</context> </context-group> <note priority="1" from="description">probativeValue CreatedDate column header</note> - </trans-unit><trans-unit id="probativeValueCreateIdentifierPlaceholder" datatype="html"> + </trans-unit><trans-unit id="formErrorMinlengthField" datatype="html"> + <source> + Le champ doit contenir au moins <x id="INTERPOLATION" equiv-text="{{ minlength.requiredLength }}"/> caractères + </source><target state="new"/> + + <note priority="1" from="description">Minlength field error hint</note> + <context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="probativeValueCreateIdentifierPlaceholder" datatype="html"> <source>Identifiant</source><target state="new"/> <context-group purpose="location"> <context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context> @@ -2009,7 +2010,7 @@ <source>Version</source><target state="new"/> <note priority="1" from="description">Version</note> - <context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">69</context></context-group></trans-unit><trans-unit id="probativeValueSearchPlaceholder" datatype="html"> + <context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">67</context></context-group></trans-unit><trans-unit id="probativeValueSearchPlaceholder" datatype="html"> <source>Identifiant de relevé, identifiant d'UA</source><target state="new"/> <context-group purpose="location"> <context context-type="sourcefile">src/app/probative-value/probative-value.component.html</context> diff --git a/ui/ui-frontend/projects/referential/src/locale/messages.fr.xlf b/ui/ui-frontend/projects/referential/src/locale/messages.fr.xlf index a52ec088..289a6d5c 100644 --- a/ui/ui-frontend/projects/referential/src/locale/messages.fr.xlf +++ b/ui/ui-frontend/projects/referential/src/locale/messages.fr.xlf @@ -374,7 +374,7 @@ <note priority="1" from="description">Required field error hint</note> - <context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">12</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">33</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">65</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/subrogation/subrogation-modal/subrogation-modal.component.d.ts</context><context context-type="linenumber">14</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">35</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-create/access-contract-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">17</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">31</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-preview/agency-information-tab/agency-information-tab.component.html</context><context context-type="linenumber">16</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">55</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">9</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">30</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">56</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">64</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">6</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">8</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">25</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">80</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">82</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/security-profile/security-profile-create/security-profile-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-preview/ontology-information-tab/ontology-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">37</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">76</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">73</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/admin-dsl/admin-dsl.component.html</context><context context-type="linenumber">24</context></context-group></trans-unit><trans-unit id="UserInfoTabLastname" datatype="html"> + <context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">12</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">33</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context><context context-type="linenumber">65</context></context-group><context-group purpose="location"><context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/subrogation/subrogation-modal/subrogation-modal.component.d.ts</context><context context-type="linenumber">14</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-preview/access-contract-information-tab/access-contract-information-tab.component.html</context><context context-type="linenumber">35</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/access-contract/access-contract-create/access-contract-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">17</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ingest-contract/ingest-contract-preview/ingest-contract-information-tab/ingest-contract-information-tab.component.html</context><context context-type="linenumber">31</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-preview/agency-information-tab/agency-information-tab.component.html</context><context context-type="linenumber">16</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/agency/agency-create/agency-create.component.html</context><context context-type="linenumber">55</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">9</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">30</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-preview/file-format-information-tab/file-format-information-tab.component.html</context><context context-type="linenumber">56</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">23</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">40</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/file-format/file-format-create/file-format-create.component.html</context><context context-type="linenumber">64</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">6</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-preview/context-permission-tab/context-permission-tab.component.html</context><context context-type="linenumber">8</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">25</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">80</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/context/context-create/context-create.component.html</context><context context-type="linenumber">82</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/security-profile/security-profile-create/security-profile-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-preview/ontology-information-tab/ontology-information-tab.component.html</context><context context-type="linenumber">43</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">37</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/ontology/ontology-create/ontology-create.component.html</context><context context-type="linenumber">76</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">19</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">71</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/admin-dsl/admin-dsl.component.html</context><context context-type="linenumber">24</context></context-group></trans-unit><trans-unit id="UserInfoTabLastname" datatype="html"> <source>Nom</source><target state="final">Nom</target> <context-group purpose="location"> <context context-type="sourcefile">../../node_modules/ui-frontend-common/app/modules/account/account-information-tab/account-information-tab.component.d.ts</context> @@ -859,14 +859,7 @@ <x id="START_ITALIC_TEXT" ctype="x-i" equiv-text="<i>"/><x id="CLOSE_ITALIC_TEXT" ctype="x-i" equiv-text="</i>"/> L'audit <x id="INTERPOLATION" equiv-text="{{data?.id}}"/> a bien été lancé. </target> - <context-group purpose="location"><context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context><context context-type="linenumber">90</context></context-group></trans-unit><trans-unit id="notificationProbativeValueRun" datatype="html"> - <source> - Le relevé de valeur probante a bien été lancé - </source><target state="final"> - Le relevé de valeur probante a bien été lancé - </target> - - <context-group purpose="location"><context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context><context context-type="linenumber">94</context></context-group></trans-unit><trans-unit id="confirmActionConfirmDialogConfirmLabel" datatype="html"> + <context-group purpose="location"><context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context><context context-type="linenumber">90</context></context-group></trans-unit><trans-unit id="confirmActionConfirmDialogConfirmLabel" datatype="html"> <source>Valider</source><target state="final">Valider</target> @@ -2147,7 +2140,15 @@ <context context-type="linenumber">16</context> </context-group> <note priority="1" from="description">probativeValue CreatedDate column header</note> - </trans-unit><trans-unit id="probativeValueCreateIdentifierPlaceholder" datatype="html"> + </trans-unit><trans-unit id="formErrorMinlengthField" datatype="html"> + <source> + Le champ doit contenir au moins <x id="INTERPOLATION" equiv-text="{{ minlength.requiredLength }}"/> caractères + </source><target state="final"> + Le champ doit contenir au moins <x id="INTERPOLATION" equiv-text="{{ minlength.requiredLength }}"/> caractères + </target> + + <note priority="1" from="description">Minlength field error hint</note> + <context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="probativeValueCreateIdentifierPlaceholder" datatype="html"> <source>Identifiant</source><target state="final">Identifiant</target> <context-group purpose="location"> <context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context> @@ -2158,7 +2159,7 @@ <source>Version</source><target state="final">Version</target> <note priority="1" from="description">Version</note> - <context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">69</context></context-group></trans-unit><trans-unit id="probativeValueSearchPlaceholder" datatype="html"> + <context-group purpose="location"><context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context><context context-type="linenumber">67</context></context-group></trans-unit><trans-unit id="probativeValueSearchPlaceholder" datatype="html"> <source>Identifiant de relevé, identifiant d'UA</source><target state="final">Identifiant de relevé, identifiant d'UA</target> <context-group purpose="location"> <context context-type="sourcefile">src/app/probative-value/probative-value.component.html</context> diff --git a/ui/ui-frontend/projects/referential/src/locale/messages.xlf b/ui/ui-frontend/projects/referential/src/locale/messages.xlf index f87106b6..5ef39886 100644 --- a/ui/ui-frontend/projects/referential/src/locale/messages.xlf +++ b/ui/ui-frontend/projects/referential/src/locale/messages.xlf @@ -538,7 +538,7 @@ </context-group> <context-group purpose="location"> <context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context> - <context context-type="linenumber">73</context> + <context context-type="linenumber">71</context> </context-group> <context-group purpose="location"> <context context-type="sourcefile">src/app/admin-dsl/admin-dsl.component.html</context> @@ -1062,15 +1062,6 @@ <context context-type="linenumber">90</context> </context-group> </trans-unit> - <trans-unit id="notificationProbativeValueRun" datatype="html"> - <source> - Le relevé de valeur probante a bien été lancé - </source> - <context-group purpose="location"> - <context context-type="sourcefile">src/app/shared/vitamui-snack-bar/vitamui-snack-bar.component.html</context> - <context context-type="linenumber">94</context> - </context-group> - </trans-unit> <trans-unit id="confirmActionConfirmDialogConfirmLabel" datatype="html"> <source>Valider</source> <context-group purpose="location"> @@ -2936,6 +2927,16 @@ </context-group> <note priority="1" from="description">probativeValue CreatedDate column header</note> </trans-unit> + <trans-unit id="formErrorMinlengthField" datatype="html"> + <source> + Le champ doit contenir au moins <x id="INTERPOLATION" equiv-text="{{ minlength.requiredLength }}"/> caractères + </source> + <context-group purpose="location"> + <context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context> + <context context-type="linenumber">22</context> + </context-group> + <note priority="1" from="description">Minlength field error hint</note> + </trans-unit> <trans-unit id="probativeValueCreateIdentifierPlaceholder" datatype="html"> <source>Identifiant</source> <context-group purpose="location"> @@ -2948,7 +2949,7 @@ <source>Version</source> <context-group purpose="location"> <context context-type="sourcefile">src/app/probative-value/probative-value-create/probative-value-create.component.html</context> - <context context-type="linenumber">69</context> + <context context-type="linenumber">67</context> </context-group> <note priority="1" from="description">Version</note> </trans-unit> -- GitLab