mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 11:56:46 +01:00
fix(web): Update prompt (#10237)
* update * update * update * npm run format:fix
This commit is contained in:
parent
9000ce4283
commit
c1a5ed3526
2 changed files with 4 additions and 2 deletions
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
if (selectedPeople.length >= 5) {
|
if (selectedPeople.length >= 5) {
|
||||||
notificationController.show({
|
notificationController.show({
|
||||||
message: 'You can only merge up to 5 faces at a time',
|
message: $t('merge_people_limit'),
|
||||||
type: NotificationType.Info,
|
type: NotificationType.Info,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
const handleMerge = async () => {
|
const handleMerge = async () => {
|
||||||
const isConfirm = await dialogController.show({
|
const isConfirm = await dialogController.show({
|
||||||
id: 'merge-people',
|
id: 'merge-people',
|
||||||
prompt: 'Do you want to merge these people?',
|
prompt: $t('merge_people_prompt'),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!isConfirm) {
|
if (!isConfirm) {
|
||||||
|
|
|
@ -615,6 +615,8 @@
|
||||||
"menu": "Menu",
|
"menu": "Menu",
|
||||||
"merge": "Merge",
|
"merge": "Merge",
|
||||||
"merge_people": "Merge people",
|
"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",
|
"merge_people_successfully": "Merge people successfully",
|
||||||
"minimize": "Minimize",
|
"minimize": "Minimize",
|
||||||
"minute": "Minute",
|
"minute": "Minute",
|
||||||
|
|
Loading…
Reference in a new issue