diff --git a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/edit-profile.component.ts b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/edit-profile.component.ts index 5dd013209235feb766b2c02dc4f4893a1500bc46..7f6904b7d6fb7a81cd3ccc63ecc019547e79522b 100644 --- a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/edit-profile.component.ts +++ b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/edit-profile.component.ts @@ -88,6 +88,7 @@ export class EditProfileComponent implements OnDestroy { dataChange = new BehaviorSubject<FileNode[]>([]); isStandalone: boolean = environment.standalone; + puaMode: boolean; noticeTab: string = 'Notice'; entete: string = 'Entête'; @@ -95,7 +96,7 @@ export class EditProfileComponent implements OnDestroy { unitesArchives: string = 'Unités d\'archives'; objets: string = 'Objets'; noticePuaMode: string = 'Notice'; - unitesArchivesPuaMode: string = 'Unités d\'archive'; + unitesArchivesPuaMode: string = 'Unité d\'archive'; profileTabChildrenToInclude: string[] = []; @@ -133,6 +134,7 @@ export class EditProfileComponent implements OnDestroy { } initAll(){ + this.puaMode = this.profileService.profileMode === 'PA' ? false : true; if(!this.isStandalone){ this.noticeTab = 'PROFILE.EDIT_PROFILE.NOTICE_TAB'; this.entete = 'PROFILE.EDIT_PROFILE.ENTETE'; diff --git a/ui/ui-frontend/projects/pastis/src/assets/i18n/fr.json b/ui/ui-frontend/projects/pastis/src/assets/i18n/fr.json index 0e6a3b604138a0d174d2c7c8552b5e8b0766d3ca..379c6f0a924324e5bf9776bfd20c5026ee3bcde6 100644 --- a/ui/ui-frontend/projects/pastis/src/assets/i18n/fr.json +++ b/ui/ui-frontend/projects/pastis/src/assets/i18n/fr.json @@ -36,7 +36,7 @@ "UNITES_ARCHIVES": "Unités d'archives", "OBJETS": "Objets", "NOTICE_PUA_MODE": "Notice", - "UNITES_ARCHIVES_PUA_MODE": "Unités d'archives", + "UNITES_ARCHIVES_PUA_MODE": "Unité d'archives", "NOM_PUA": "Nom du profil d unité archivistique", "NOM_PA": "Nom du profil d'archivage", "PROFILE_ID": "Identifiant",