[go: nahoru, domu]

Skip to content

Commit

Permalink
fix(web): Update prompt (immich-app#10237)
Browse files Browse the repository at this point in the history
* update

* update

* update

* npm run format:fix
  • Loading branch information
aviv926 committed Jun 17, 2024
1 parent 9000ce4 commit c1a5ed3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/lib/components/faces-page/merge-face-selector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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) {
Expand Down
2 changes: 2 additions & 0 deletions web/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c1a5ed3

Please sign in to comment.