mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-14 19:12:08 +03:00
i18n
This commit is contained in:
parent
672796845b
commit
dedc26a866
@ -18,11 +18,9 @@
|
|||||||
"aria": "Select events",
|
"aria": "Select events",
|
||||||
"noFoundForTimePeriod": "No events found for this time period."
|
"noFoundForTimePeriod": "No events found for this time period."
|
||||||
},
|
},
|
||||||
"activity": {
|
"detail": {
|
||||||
"noActivitiesFound": "No activities found",
|
"noDataFound": "No detail data to review",
|
||||||
"activitiesCount_one": "{{count}} activity",
|
"aria": "Toggle detail view"
|
||||||
"activitiesCount_other": "{{count}} activities",
|
|
||||||
"object": "Object"
|
|
||||||
},
|
},
|
||||||
"objectTrack": {
|
"objectTrack": {
|
||||||
"trackedPoint": "Tracked point",
|
"trackedPoint": "Tracked point",
|
||||||
|
|||||||
@ -169,7 +169,7 @@ export default function DetailStream({
|
|||||||
<div className="space-y-2 p-4">
|
<div className="space-y-2 p-4">
|
||||||
{reviewItems?.length === 0 ? (
|
{reviewItems?.length === 0 ? (
|
||||||
<div className="py-8 text-center text-muted-foreground">
|
<div className="py-8 text-center text-muted-foreground">
|
||||||
{t("activity.noActivitiesFound")}
|
{t("detail.noDataFound")}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
reviewItems?.map((review: ReviewSegment) => {
|
reviewItems?.map((review: ReviewSegment) => {
|
||||||
@ -427,7 +427,7 @@ function EventCollapsible({
|
|||||||
<button
|
<button
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
className="rounded bg-muted px-2 py-1 text-xs"
|
className="rounded bg-muted px-2 py-1 text-xs"
|
||||||
aria-label={t("activity.details")}
|
aria-label={t("detail.aria")}
|
||||||
>
|
>
|
||||||
{open ? (
|
{open ? (
|
||||||
<LuChevronUp className="size-3" />
|
<LuChevronUp className="size-3" />
|
||||||
@ -522,7 +522,7 @@ function ObjectTimeline({
|
|||||||
if (!timeline || timeline.length === 0) {
|
if (!timeline || timeline.length === 0) {
|
||||||
return (
|
return (
|
||||||
<div className="py-2 text-sm text-muted-foreground">
|
<div className="py-2 text-sm text-muted-foreground">
|
||||||
No timeline entries
|
No object detail data available.
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@ export default function EventMenu({
|
|||||||
: `${apiHost}api/events/${event.id}/thumbnail.webp`
|
: `${apiHost}api/events/${event.id}/thumbnail.webp`
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t("button.download", { ns: "common" })}
|
{t("itemMenu.downloadSnapshot.label")}
|
||||||
</a>
|
</a>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
|
|
||||||
|
|||||||
@ -965,6 +965,7 @@ function Timeline({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
|
"relative",
|
||||||
isDesktop
|
isDesktop
|
||||||
? `${timelineType == "timeline" ? "w-[100px]" : timelineType == "detail" ? "w-[30%]" : "w-60"} no-scrollbar overflow-y-auto`
|
? `${timelineType == "timeline" ? "w-[100px]" : timelineType == "detail" ? "w-[30%]" : "w-60"} no-scrollbar overflow-y-auto`
|
||||||
: `overflow-hidden portrait:flex-grow ${timelineType == "timeline" ? "landscape:w-[100px]" : timelineType == "detail" ? "flex-1" : "landscape:w-[175px]"} `,
|
: `overflow-hidden portrait:flex-grow ${timelineType == "timeline" ? "landscape:w-[100px]" : timelineType == "detail" ? "flex-1" : "landscape:w-[175px]"} `,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user