mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-14 10:42:49 +03:00
add last time to active notices
This commit is contained in:
@@ -35,8 +35,8 @@
|
|||||||
"showAll": "Show all again",
|
"showAll": "Show all again",
|
||||||
"showAllTitle": "Show all hidden notices?",
|
"showAllTitle": "Show all hidden notices?",
|
||||||
"showAllDesc": "Every acknowledged and muted notice returns to the Notices list, including config and stream checks.",
|
"showAllDesc": "Every acknowledged and muted notice returns to the Notices list, including config and stream checks.",
|
||||||
"firstSeen_one": "First seen {{time}}",
|
"occurred_one": "Occurred {{time}}",
|
||||||
"firstSeen_other": "First seen {{time}} · {{count}} times",
|
"occurred_other": "Last occurred {{lastTime}} · {{count}} times since {{time}}",
|
||||||
"acknowledgedAt": "Acknowledged {{time}}",
|
"acknowledgedAt": "Acknowledged {{time}}",
|
||||||
"mutedAt": "Muted {{time}}",
|
"mutedAt": "Muted {{time}}",
|
||||||
"filter": {
|
"filter": {
|
||||||
|
|||||||
@@ -118,9 +118,10 @@ export function useHealthProblems(
|
|||||||
ns: "views/system",
|
ns: "views/system",
|
||||||
time: formatTime(notice.acknowledged_at),
|
time: formatTime(notice.acknowledged_at),
|
||||||
})
|
})
|
||||||
: t("health.notices.firstSeen", {
|
: t("health.notices.occurred", {
|
||||||
ns: "views/system",
|
ns: "views/system",
|
||||||
time: formatTime(notice.first_seen),
|
time: formatTime(notice.first_seen),
|
||||||
|
lastTime: formatTime(notice.last_seen),
|
||||||
count: notice.count,
|
count: notice.count,
|
||||||
}),
|
}),
|
||||||
link: external ? undefined : link,
|
link: external ? undefined : link,
|
||||||
|
|||||||
Reference in New Issue
Block a user