diff --git a/web/src/lib/components/faces-page/merge-face-selector.svelte b/web/src/lib/components/faces-page/merge-face-selector.svelte index abbd1bf354..6166c38caa 100644 --- a/web/src/lib/components/faces-page/merge-face-selector.svelte +++ b/web/src/lib/components/faces-page/merge-face-selector.svelte @@ -55,7 +55,7 @@ if (selectedPeople.length >= 5) { notificationController.show({ - message: 'You can only merge up to 5 faces at a time', + message: $t('merge_people_limit'), type: NotificationType.Info, }); return; @@ -67,7 +67,7 @@ const handleMerge = async () => { const isConfirm = await dialogController.show({ id: 'merge-people', - prompt: 'Do you want to merge these people?', + prompt: $t('merge_people_prompt'), }); if (!isConfirm) { diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.json index e6a2b9a8d7..26c82d9852 100644 --- a/web/src/lib/i18n/en.json +++ b/web/src/lib/i18n/en.json @@ -615,6 +615,8 @@ "menu": "Menu", "merge": "Merge", "merge_people": "Merge people", + "merge_people_limit": "You can only merge up to 5 faces at a time", + "merge_people_prompt": "Do you want to merge these people? This action is irreversible.", "merge_people_successfully": "Merge people successfully", "minimize": "Minimize", "minute": "Minute",