Skip to content

Commit c1e98e3

Browse files
committed
fix(cerfa): fix typo
1 parent a240bff commit c1e98e3

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

packages/frontend/src/app/modules/import-usagers/components/import/import.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class ImportComponent implements OnInit, OnDestroy {
9494
const input = event.target as HTMLInputElement;
9595

9696
if (!input.files) {
97-
this.toastService.error("Seul les fichiers Excel sont autorisés");
97+
this.toastService.error("Seuls les fichiers Excel sont autorisés");
9898
return;
9999
}
100100

@@ -106,7 +106,7 @@ export class ImportComponent implements OnInit, OnDestroy {
106106
input.files[0].type !==
107107
"application/vnd.oasis.opendocument.spreadsheet")
108108
) {
109-
this.toastService.error("Seul les fichiers Excel sont autorisés");
109+
this.toastService.error("Seuls les fichiers Excel sont autorisés");
110110
return;
111111
}
112112

packages/frontend/src/app/modules/structures/components/structures-upload-docs/structures-upload-docs.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
/>
103103

104104
<small *ngIf="isCustomDoc" id="file-description">
105-
Seul les fichiers Word au format .docx sont autorisés
105+
Seuls les fichiers Word au format .docx sont autorisés
106106
</small>
107107
<small *ngIf="!isCustomDoc" id="file-description">
108108
Formats autorisés pdf, docx, xlsx, odt, jpg ou png (6mo maxi)
@@ -131,12 +131,12 @@
131131
bien fermé.
132132
<br />
133133
<b
134-
>Chaque tag doit être en majuscule avec les accolades fermés.
134+
>Chaque tag doit être en majuscule avec les accolades fermées.
135135
Exemple: &#123;USAGER_NOM&#124;, &#123;STRUCTURE_NOM&#124;,
136136
etc.</b
137137
>
138138
</p>
139-
<p *ngIf="templateError === 'UNKNOWN_TAG'">
139+
<p *ngIf="templateError === 'UNKNOWN_KEY'">
140140
Un tag non repertorié semble être utilisé dans le document. Veuillez
141141
n'utiliser que des tags indiqués dans la documentation.
142142
</p>

packages/frontend/src/app/modules/structures/components/structures-upload-docs/structures-upload-docs.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export class StructuresUploadDocsComponent implements OnInit, OnDestroy {
2727
public loading = false;
2828
public submitted = false;
2929
public uploadForm!: UntypedFormGroup;
30-
public templateError: "TEMPLATE_ERROR" | "UNKNOWN_TAG" | null = null;
30+
public templateError: "TEMPLATE_ERROR" | "UNKNOWN_KEY" | null = null;
31+
3132
@Input() public isCustomDoc!: boolean;
3233
private subscription = new Subscription();
3334

0 commit comments

Comments
 (0)