From 63afd552e932599940ea3c33ca23db9147d0bdc4 Mon Sep 17 00:00:00 2001
From: "Alex (Zazou)" <zazou586@pm.me>
Date: Wed, 1 Sep 2021 12:01:25 +0200
Subject: [PATCH] Missing translations

---
 .../PeoplePage/SingleFaceGroup/FaceGroupTitle.tsx      | 10 ++++------
 ui/src/extractedTranslations/da/translation.json       |  6 ++++++
 ui/src/extractedTranslations/de/translation.json       |  6 ++++++
 ui/src/extractedTranslations/en/translation.json       |  6 ++++++
 ui/src/extractedTranslations/es/translation.json       |  6 ++++++
 ui/src/extractedTranslations/fr/translation.json       |  6 ++++++
 ui/src/extractedTranslations/it/translation.json       |  6 ++++++
 ui/src/extractedTranslations/pl/translation.json       |  6 ++++++
 ui/src/extractedTranslations/pt/translation.json       |  6 ++++++
 ui/src/extractedTranslations/ru/translation.json       |  6 ++++++
 ui/src/extractedTranslations/sv/translation.json       |  6 ++++++
 ui/src/extractedTranslations/zh-CN/translation.json    |  6 ++++++
 ui/src/extractedTranslations/zh-HK/translation.json    |  6 ++++++
 13 files changed, 76 insertions(+), 6 deletions(-)

diff --git a/ui/src/Pages/PeoplePage/SingleFaceGroup/FaceGroupTitle.tsx b/ui/src/Pages/PeoplePage/SingleFaceGroup/FaceGroupTitle.tsx
index 581eed3..48e2815 100644
--- a/ui/src/Pages/PeoplePage/SingleFaceGroup/FaceGroupTitle.tsx
+++ b/ui/src/Pages/PeoplePage/SingleFaceGroup/FaceGroupTitle.tsx
@@ -133,18 +133,16 @@ const FaceGroupTitle = ({ faceGroup }: FaceGroupTitleProps) => {
         <div className="mb-2">{title}</div>
         <ul className="flex gap-2 flex-wrap mb-6">
           <li>
-            <Button onClick={() => setEditLabel(true)}>Change label</Button>
+            <Button onClick={() => setEditLabel(true)}>{t('people_page.action_label.change_label', 'Change label')}</Button>
           </li>
           <li>
-            <Button onClick={() => setMergeModalOpen(true)}>Merge face</Button>
+            <Button onClick={() => setMergeModalOpen(true)}>{t('people_page.action_label.merge_face', 'Merge face')}</Button>
           </li>
           <li>
-            <Button onClick={() => setDetachModalOpen(true)}>
-              Detach face
-            </Button>
+            <Button onClick={() => setDetachModalOpen(true)}>{t('people_page.action_label.detach_face', 'Detach face')}</Button>
           </li>
           <li>
-            <Button onClick={() => setMoveModalOpen(true)}>Move faces</Button>
+            <Button onClick={() => setMoveModalOpen(true)}>{t('people_page.action_label.move_faces', 'Moves faces')}</Button>
           </li>
         </ul>
       </div>
diff --git a/ui/src/extractedTranslations/da/translation.json b/ui/src/extractedTranslations/da/translation.json
index 045afbe..5a0cb10 100644
--- a/ui/src/extractedTranslations/da/translation.json
+++ b/ui/src/extractedTranslations/da/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Ikke navngivet",
       "unlabeled_person": "Ikke navngivet person"
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": "Sammenflet"
diff --git a/ui/src/extractedTranslations/de/translation.json b/ui/src/extractedTranslations/de/translation.json
index 7c8e8b7..895058f 100644
--- a/ui/src/extractedTranslations/de/translation.json
+++ b/ui/src/extractedTranslations/de/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Nicht zugeordnet",
       "unlabeled_person": null
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": null
diff --git a/ui/src/extractedTranslations/en/translation.json b/ui/src/extractedTranslations/en/translation.json
index 5426dfa..3c45534 100644
--- a/ui/src/extractedTranslations/en/translation.json
+++ b/ui/src/extractedTranslations/en/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Unlabeled",
       "unlabeled_person": "Unlabeled person"
     },
+    "action_label": {
+      "change_label": "Change label",
+      "merge_face": "Merge face",
+      "detach_face": "Detach face",
+      "move_faces": "Move faces"
+    },
     "modal": {
       "action": {
         "merge": "Merge"
diff --git a/ui/src/extractedTranslations/es/translation.json b/ui/src/extractedTranslations/es/translation.json
index 0c782c2..ef3889a 100644
--- a/ui/src/extractedTranslations/es/translation.json
+++ b/ui/src/extractedTranslations/es/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Sin etiquetar",
       "unlabeled_person": null
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": null
diff --git a/ui/src/extractedTranslations/fr/translation.json b/ui/src/extractedTranslations/fr/translation.json
index 346b7e5..1f8b1fb 100644
--- a/ui/src/extractedTranslations/fr/translation.json
+++ b/ui/src/extractedTranslations/fr/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Sans étiquette",
       "unlabeled_person": "Personne sans étiquette"
     },
+    "action_label": {
+      "change_label": "Changer le label",
+      "merge_face": "Fusionner le visage",
+      "detach_face": "Détacher le visage",
+      "move_faces": "Déplacer les visages"
+    },
     "modal": {
       "action": {
         "merge": "Fusionner"
diff --git a/ui/src/extractedTranslations/it/translation.json b/ui/src/extractedTranslations/it/translation.json
index 186cb2f..b5447c0 100644
--- a/ui/src/extractedTranslations/it/translation.json
+++ b/ui/src/extractedTranslations/it/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Senza etichetta",
       "unlabeled_person": "Persona senza etichetta"
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": "Unisci"
diff --git a/ui/src/extractedTranslations/pl/translation.json b/ui/src/extractedTranslations/pl/translation.json
index cb5d168..6738b93 100644
--- a/ui/src/extractedTranslations/pl/translation.json
+++ b/ui/src/extractedTranslations/pl/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Nieoznakowany",
       "unlabeled_person": null
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": null
diff --git a/ui/src/extractedTranslations/pt/translation.json b/ui/src/extractedTranslations/pt/translation.json
index 2804dff..358d159 100644
--- a/ui/src/extractedTranslations/pt/translation.json
+++ b/ui/src/extractedTranslations/pt/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Sem etiqueta",
       "unlabeled_person": "Pessoa sem etiqueta"
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": "Juntar"
diff --git a/ui/src/extractedTranslations/ru/translation.json b/ui/src/extractedTranslations/ru/translation.json
index f9d33b6..3b590ba 100644
--- a/ui/src/extractedTranslations/ru/translation.json
+++ b/ui/src/extractedTranslations/ru/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Без метки",
       "unlabeled_person": "Человек без метки"
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": "Объединить"
diff --git a/ui/src/extractedTranslations/sv/translation.json b/ui/src/extractedTranslations/sv/translation.json
index 42bb322..444c8e8 100644
--- a/ui/src/extractedTranslations/sv/translation.json
+++ b/ui/src/extractedTranslations/sv/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "Omärkt",
       "unlabeled_person": null
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": null
diff --git a/ui/src/extractedTranslations/zh-CN/translation.json b/ui/src/extractedTranslations/zh-CN/translation.json
index ce9b9a4..c60569f 100644
--- a/ui/src/extractedTranslations/zh-CN/translation.json
+++ b/ui/src/extractedTranslations/zh-CN/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "未命名",
       "unlabeled_person": "未命名人物"
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": "合并"
diff --git a/ui/src/extractedTranslations/zh-HK/translation.json b/ui/src/extractedTranslations/zh-HK/translation.json
index 327d1e6..aa8fc83 100644
--- a/ui/src/extractedTranslations/zh-HK/translation.json
+++ b/ui/src/extractedTranslations/zh-HK/translation.json
@@ -66,6 +66,12 @@
       "unlabeled": "未命名",
       "unlabeled_person": "未命名人物"
     },
+    "action_label": {
+      "change_label": null,
+      "merge_face": null,
+      "detach_face": null,
+      "move_faces": null
+    },
     "modal": {
       "action": {
         "merge": "合併"
