diff --git a/ui/ui-frontend/projects/pastis/src/app/profile/list-profile/list-profile.component.html b/ui/ui-frontend/projects/pastis/src/app/profile/list-profile/list-profile.component.html index c38227fea001c911bf18715463b04cc5a1e15c4c..b31bbd448ddc4ff25d50e112da22d723eef15d7b 100644 --- a/ui/ui-frontend/projects/pastis/src/app/profile/list-profile/list-profile.component.html +++ b/ui/ui-frontend/projects/pastis/src/app/profile/list-profile/list-profile.component.html @@ -10,11 +10,11 @@ <vitamui-common-banner [searchbarPlaceholder]="'Recherche un profil par son intitulé'" (search)="onSearchSubmit($event)" > <button *ngIf="true" class="btn primary ml-5"> <i class="vitamui-icon vitamui-icon-plus mr-3 "></i> - <span style="align-items: center; margin:auto;">créer un nouveau profil</span> + <span i18n="Créer un nouveau profil@@CreerNouveauProfil" style="align-items: center; margin:auto;">créer un nouveau profil</span> </button> <button class="btn secondary ml-3" (click)="fileInput.click()"> <i class="vitamui-icon vitamui-icon-deposit mr-3 "></i> - <span style="align-items: center; margin:auto;">importer un profil</span> + <span i18n="Importer un profil@@ImporterProfil" style="align-items: center; margin:auto;">importer un profil</span> <input #fileInput type="file" class="buttons" accept=".json, .rng" ng2FileSelect style="display:none;" [uploader]="uploader" (change)="uploadProfile($event)" /> diff --git a/ui/ui-frontend/projects/pastis/src/locale/messages.en.xlf b/ui/ui-frontend/projects/pastis/src/locale/messages.en.xlf index 2717011a7a96e292eec302152f9541874475c8e3..a9e7f428924dbd4598955c1146a83c9f135c12a1 100644 --- a/ui/ui-frontend/projects/pastis/src/locale/messages.en.xlf +++ b/ui/ui-frontend/projects/pastis/src/locale/messages.en.xlf @@ -121,6 +121,24 @@ </context-group> <note priority="1" from="description">créer et gérer des profils d’archivage</note> </trans-unit> + <trans-unit id="CreerNouveauProfil" datatype="html"> + <source>créer un nouveau profil</source> + <target>create a new profile</target> + <context-group purpose="location"> + <context context-type="sourcefile">src/app/profile/list-profile/list-profile.component.html</context> + <context context-type="linenumber">13</context> + </context-group> + <note priority="1" from="description">Créer un nouveau profil</note> + </trans-unit> + <trans-unit id="ImporterProfil" datatype="html"> + <source>importer un profil</source> + <target>import a profile</target> + <context-group purpose="location"> + <context context-type="sourcefile">src/app/profile/list-profile/list-profile.component.html</context> + <context context-type="linenumber">17</context> + </context-group> + <note priority="1" from="description">Importer un profil</note> + </trans-unit> <trans-unit id="ongletNotice" datatype="html"> <source> Notice diff --git a/ui/ui-frontend/projects/pastis/src/locale/messages.xlf b/ui/ui-frontend/projects/pastis/src/locale/messages.xlf index a5810196f7062772988c1b34d91984be145b584e..a2395a542d6d2d5abc8fa958d76bf1ce9ed4a069 100644 --- a/ui/ui-frontend/projects/pastis/src/locale/messages.xlf +++ b/ui/ui-frontend/projects/pastis/src/locale/messages.xlf @@ -108,6 +108,22 @@ </context-group> <note priority="1" from="description">créer et gérer des profils d’archivage</note> </trans-unit> + <trans-unit id="CreerNouveauProfil" datatype="html"> + <source>créer un nouveau profil</source> + <context-group purpose="location"> + <context context-type="sourcefile">src/app/profile/list-profile/list-profile.component.html</context> + <context context-type="linenumber">13</context> + </context-group> + <note priority="1" from="description">Créer un nouveau profil</note> + </trans-unit> + <trans-unit id="ImporterProfil" datatype="html"> + <source>importer un profil</source> + <context-group purpose="location"> + <context context-type="sourcefile">src/app/profile/list-profile/list-profile.component.html</context> + <context context-type="linenumber">17</context> + </context-group> + <note priority="1" from="description">Importer un profil</note> + </trans-unit> <trans-unit id="ongletNotice" datatype="html"> <source> Notice