From 3557674da56f29fce3f844507cfbe5ccb160523c Mon Sep 17 00:00:00 2001
From: Homada Boumedane <homada.boumedane@unige.ch>
Date: Mon, 23 Sep 2019 11:43:30 +0200
Subject: [PATCH] chore(dlcm-portal): translation

add translation
---
 package-lock.json       |  8 ++++----
 src/assets/i18n/de.json | 27 +++++++++++++++++----------
 src/assets/i18n/en.json | 24 ++++++++++++++++--------
 src/assets/i18n/fr.json | 24 ++++++++++++++++--------
 4 files changed, 53 insertions(+), 30 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index cdb64c940..f8974240a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -916,9 +916,9 @@
       }
     },
     "@openapitools/openapi-generator-cli": {
-      "version": "0.0.17-4.0.0",
-      "resolved": "https://packages.dlcm.ch/repository/npm-group/@openapitools/openapi-generator-cli/-/openapi-generator-cli-0.0.17-4.0.0.tgz",
-      "integrity": "sha512-cxyeC63OR+DYGM6CUFP2AT9EfGn3hIbf/vYIRHlqvd/7rdtOQNFLP3uRHClutXyZgCFRwsvmst9u1/oKo1INxw==",
+      "version": "0.0.19-4.0.0",
+      "resolved": "https://packages.dlcm.ch/repository/npm-group/@openapitools/openapi-generator-cli/-/openapi-generator-cli-0.0.19-4.0.0.tgz",
+      "integrity": "sha512-eGmA+eIB/DXtJ8ztAyL/NBybdp14Cfcehu/gvu3oUznbsvF29lQi93LSDc0U3qIoovt1sL/XgTz6/dzukSYJWA==",
       "dev": true
     },
     "@schematics/angular": {
@@ -4183,7 +4183,7 @@
       "dependencies": {
         "is-buffer": {
           "version": "2.0.3",
-          "resolved": "https://packages.dlcm.ch/repository/npm-group/is-buffer/-/is-buffer-2.0.3.tgz",
+          "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz",
           "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==",
           "dev": true
         }
diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json
index 10b24d6b0..58245445d 100644
--- a/src/assets/i18n/de.json
+++ b/src/assets/i18n/de.json
@@ -546,37 +546,43 @@
       "funding-agencies": {
         "create": "Create funding agency",
         "detail": "Detail",
-        "list": "List"
+        "list": "List",
+        "root": "Funding agency"
       },
       "institution": {
         "create": "Create institution",
         "detail": "License institution",
         "edit": "Edit institution",
-        "list": "List institution"
+        "list": "List institution",
+        "root": "Institution"
       },
       "license": {
         "create": "Create license",
         "detail": "License detail",
         "edit": "Edit license",
-        "list": "List license"
+        "list": "List license",
+        "root": "License"
       },
       "oauth2Client": {
         "create": "Create OAuth2 Client",
         "detail": "Detail OAuth2 Client",
         "edit": "Edit OAuth2 Client",
-        "list": "List OAuth2 Clients"
+        "list": "List OAuth2 Clients",
+        "root": "OAuth2 Clients"
       },
       "organizationalUnit": {
         "create": "Create organizational unit",
         "detail": "Detail organizational unit",
         "edit": "Edit organizational unit",
-        "list": "List organizational unit"
+        "list": "List organizational unit",
+        "root": "Organizational unit"
       },
       "person": {
         "create": "Create person",
         "detail": "Person's details",
         "edit": "Edit person",
-        "list": "People list"
+        "list": "People list",
+        "root": "People"
       },
       "preservationPolicy": {
         "create": "Create preservation policy",
@@ -588,7 +594,8 @@
         "create": "Create Role",
         "detail": "Detail",
         "edit": "Edit",
-        "list": "List"
+        "list": "List",
+        "root": "Role"
       },
       "root": "Admin",
       "submissionPolicy": {
@@ -601,7 +608,8 @@
         "create": "Create user",
         "detail": "Detail user",
         "edit": "Edit user",
-        "list": "List user"
+        "list": "List user",
+        "root": "User"
       }
     },
     "deposit": {
@@ -845,8 +853,7 @@
     "browsing": {
       "archive": {
         "noArchive": "No archive for the selected organizational unit",
-        "noOrgUnitSelected": "Select an organizational unit"
-      }
+        "noOrgUnitSelected": "Select an organizational unit"}
     }
   },
   "invalid ORCID": "invalid ORCID",
diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json
index 10b24d6b0..b91a28da8 100644
--- a/src/assets/i18n/en.json
+++ b/src/assets/i18n/en.json
@@ -546,37 +546,43 @@
       "funding-agencies": {
         "create": "Create funding agency",
         "detail": "Detail",
-        "list": "List"
+        "list": "List",
+        "root": "Funding agency"
       },
       "institution": {
         "create": "Create institution",
         "detail": "License institution",
         "edit": "Edit institution",
-        "list": "List institution"
+        "list": "List institution",
+        "root": "Institution"
       },
       "license": {
         "create": "Create license",
         "detail": "License detail",
         "edit": "Edit license",
-        "list": "List license"
+        "list": "List license",
+        "root": "License"
       },
       "oauth2Client": {
         "create": "Create OAuth2 Client",
         "detail": "Detail OAuth2 Client",
         "edit": "Edit OAuth2 Client",
-        "list": "List OAuth2 Clients"
+        "list": "List OAuth2 Clients",
+        "root": "OAuth2 Clients"
       },
       "organizationalUnit": {
         "create": "Create organizational unit",
         "detail": "Detail organizational unit",
         "edit": "Edit organizational unit",
-        "list": "List organizational unit"
+        "list": "List organizational unit",
+        "root": "Organizational unit"
       },
       "person": {
         "create": "Create person",
         "detail": "Person's details",
         "edit": "Edit person",
-        "list": "People list"
+        "list": "People list",
+        "root": "People"
       },
       "preservationPolicy": {
         "create": "Create preservation policy",
@@ -588,7 +594,8 @@
         "create": "Create Role",
         "detail": "Detail",
         "edit": "Edit",
-        "list": "List"
+        "list": "List",
+        "root": "Role"
       },
       "root": "Admin",
       "submissionPolicy": {
@@ -601,7 +608,8 @@
         "create": "Create user",
         "detail": "Detail user",
         "edit": "Edit user",
-        "list": "List user"
+        "list": "List user",
+        "root": "User"
       }
     },
     "deposit": {
diff --git a/src/assets/i18n/fr.json b/src/assets/i18n/fr.json
index 355b82a7b..765831d1f 100644
--- a/src/assets/i18n/fr.json
+++ b/src/assets/i18n/fr.json
@@ -546,37 +546,43 @@
       "funding-agencies": {
         "create": "Créer agence financement",
         "detail": "Détail",
-        "list": "Liste"
+        "list": "Liste",
+        "root": "Agence financement"
       },
       "institution": {
         "create": "Créer institution",
         "detail": "Détail institution",
         "edit": "Modifier institution",
-        "list": "Liste institution"
+        "list": "Liste institution",
+        "root": "Institution"
       },
       "license": {
         "create": "Créer licence",
         "detail": "Détail licence",
         "edit": "Modifier licence",
-        "list": "Liste licence"
+        "list": "Liste licence",
+        "root": "Licence"
       },
       "oauth2Client": {
         "create": "Créer client OAuth2",
         "detail": "Détail client OAuth2",
         "edit": "Modifier client OAuth2",
-        "list": "Liste clients OAuth2"
+        "list": "Liste clients OAuth2",
+        "root": "Client OAuth2"
       },
       "organizationalUnit": {
         "create": "Créer unité organisationelle",
         "detail": "Détail unité organisationelle",
         "edit": "Modifier unité organisationelle",
-        "list": "Liste unité organisationelle"
+        "list": "Liste unité organisationelle",
+        "root": "Unité organisationelle"
       },
       "person": {
         "create": "Créer une personne",
         "detail": "Détail d'une personne",
         "edit": "Modifier une personne",
-        "list": "Liste des personnes"
+        "list": "Liste des personnes",
+        "root": "Personne"
       },
       "preservationPolicy": {
         "create": "Créer politique de préservation",
@@ -588,7 +594,8 @@
         "create": "Créer Role",
         "detail": "Détail",
         "edit": "Modifier",
-        "list": "Liste"
+        "list": "Liste",
+        "root": "Role"
       },
       "root": "Administration",
       "submissionPolicy": {
@@ -601,7 +608,8 @@
         "create": "Créer utilisateur",
         "detail": "Supprimer utilisateur",
         "edit": "Modifier utilisateur",
-        "list": "Liste utilisateur"
+        "list": "Liste utilisateur",
+        "root": "Utilisateur"
       }
     },
     "deposit": {
-- 
GitLab