From 46eca58de01784c3d323a273e84461e3d3d84a5a Mon Sep 17 00:00:00 2001
From: descamps <descamps@cines.fr>
Date: Mon, 21 Jun 2021 16:17:32 +0200
Subject: [PATCH] KDE - 21/06/2021 - List profil Creer Importer - Traduction -
 WIP

---
 .../list-profile/list-profile.component.html   |  4 ++--
 .../projects/pastis/src/locale/messages.en.xlf | 18 ++++++++++++++++++
 .../projects/pastis/src/locale/messages.xlf    | 16 ++++++++++++++++
 3 files changed, 36 insertions(+), 2 deletions(-)

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 c38227fea..b31bbd448 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 2717011a7..a9e7f4289 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 a5810196f..a2395a542 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
-- 
GitLab