mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 08:35:21 +03:00
improve frigate+ button title grammar
This commit is contained in:
parent
3dfe073885
commit
6818246058
@ -655,7 +655,9 @@ function ObjectSnapshotTab({
|
|||||||
onSubmitToPlus(false);
|
onSubmitToPlus(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
This is a {search?.label}
|
This is{" "}
|
||||||
|
{/^[aeiou]/i.test(search?.label || "") ? "an" : "a"}{" "}
|
||||||
|
{search?.label}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
className="text-white"
|
className="text-white"
|
||||||
@ -666,7 +668,9 @@ function ObjectSnapshotTab({
|
|||||||
onSubmitToPlus(true);
|
onSubmitToPlus(true);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
This is not a {search?.label}
|
This is not{" "}
|
||||||
|
{/^[aeiou]/i.test(search?.label || "") ? "an" : "a"}{" "}
|
||||||
|
{search?.label}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -144,7 +144,8 @@ export function FrigatePlusDialog({
|
|||||||
onSubmitToPlus(false);
|
onSubmitToPlus(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
This is a {upload?.label}
|
This is {/^[aeiou]/i.test(upload?.label || "") ? "an" : "a"}{" "}
|
||||||
|
{upload?.label}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
className="text-white"
|
className="text-white"
|
||||||
@ -155,7 +156,8 @@ export function FrigatePlusDialog({
|
|||||||
onSubmitToPlus(true);
|
onSubmitToPlus(true);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
This is not a {upload?.label}
|
This is not {/^[aeiou]/i.test(upload?.label || "") ? "an" : "a"}{" "}
|
||||||
|
{upload?.label}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user