Commit 8a2f2b7 1 parent d7a9383 commit 8a2f2b7 Copy full SHA for 8a2f2b7
File tree 1 file changed +7
-4
lines changed
resources/js/components/forms/photo
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
<Dialog v-model:visible =" visible" pt:root:class =" border-none" modal :dismissable-mask =" true" >
3
3
<template #container =" { closeCallback } " >
4
4
<div class =" p-9 text-center text-muted-color" >
5
- <p class =" mb-5 text-sm/4 " >
5
+ <p class =" text-sm/8 " >
6
6
{{ question }}
7
+ <br />
8
+ <span class =" text-muted-color-emphasis"
9
+ ><i class =" text-warning-600 pi pi-exclamation-triangle mr-2" />Press Enter to confirm each tag.</span
10
+ >
7
11
</p >
8
12
<div class =" my-3 first:mt-0 last:mb-0" >
9
13
<AutoComplete
@@ -40,7 +44,6 @@ import { sprintf } from "sprintf-js";
40
44
import { useToast } from " primevue/usetoast" ;
41
45
import Button from " primevue/button" ;
42
46
import Dialog from " primevue/dialog" ;
43
- import { trans } from " laravel-vue-i18n" ;
44
47
import Checkbox from " primevue/checkbox" ;
45
48
import AutoComplete from " primevue/autocomplete" ;
46
49
@@ -60,9 +63,9 @@ const toast = useToast();
60
63
61
64
const question = computed (() => {
62
65
if (props .photo ) {
63
- return trans ( " lychee.PHOTO_NEW_TAGS " );
66
+ return sprintf ( " Enter your tags for this photo. " );
64
67
}
65
- return sprintf (trans ( " lychee.PHOTOS_NEW_TAGS " ) , props .photoIds ?.length );
68
+ return sprintf (" Enter your tags for all %d selected photos. Existing tags will be overwritten. " , props .photoIds ?.length );
66
69
});
67
70
68
71
const shallOverride = ref (false );
You can’t perform that action at this time.
0 commit comments