mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
Add count translation
This commit is contained in:
parent
fd0b967d51
commit
db67fad5af
@ -43,6 +43,7 @@
|
|||||||
"adjustAnnotationSettings": "Adjust annotation settings",
|
"adjustAnnotationSettings": "Adjust annotation settings",
|
||||||
"scrollViewTips": "Scroll to view the significant moments of this object's lifecycle.",
|
"scrollViewTips": "Scroll to view the significant moments of this object's lifecycle.",
|
||||||
"autoTrackingTips": "Bounding box positions will be inaccurate for autotracking cameras.",
|
"autoTrackingTips": "Bounding box positions will be inaccurate for autotracking cameras.",
|
||||||
|
"count": "{{first}} of {{second}}",
|
||||||
"lifecycleItemDesc": {
|
"lifecycleItemDesc": {
|
||||||
"visible": "{{label}} detected",
|
"visible": "{{label}} detected",
|
||||||
"entered_zone": "{{label}} entered {{zones}}",
|
"entered_zone": "{{label}} entered {{zones}}",
|
||||||
|
|||||||
@ -525,7 +525,10 @@ export default function ObjectLifecycle({
|
|||||||
{t("objectLifecycle.scrollViewTips")}
|
{t("objectLifecycle.scrollViewTips")}
|
||||||
</div>
|
</div>
|
||||||
<div className="min-w-20 text-right text-sm text-muted-foreground">
|
<div className="min-w-20 text-right text-sm text-muted-foreground">
|
||||||
{current + 1} of {eventSequence.length}
|
{t("objectLifecycle.count", {
|
||||||
|
first: current + 1,
|
||||||
|
second: eventSequence.length,
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{config?.cameras[event.camera]?.onvif.autotracking.enabled_in_config && (
|
{config?.cameras[event.camera]?.onvif.autotracking.enabled_in_config && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user