mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
chore: add inputWithTags i18n
This commit is contained in:
parent
be2a0130bc
commit
e5a7324231
@ -9,6 +9,7 @@
|
||||
"filterInformation": "Filter information",
|
||||
"filterActive": "Filters active"
|
||||
},
|
||||
"trackedObjectId": "Tracked Object ID",
|
||||
"filter": {
|
||||
"label": {
|
||||
"cameras": "Cameras",
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
"filterInformation": "筛选信息",
|
||||
"filterActive": "筛选器已激活"
|
||||
},
|
||||
"trackedObjectId": "跟踪对象 ID",
|
||||
"filter": {
|
||||
"label": {
|
||||
"cameras": "摄像机",
|
||||
|
||||
@ -824,9 +824,11 @@ export default function InputWithTags({
|
||||
className="inline-flex items-center whitespace-nowrap rounded-full bg-green-100 px-2 py-0.5 text-sm capitalize text-green-800"
|
||||
>
|
||||
{filterType === "event_id"
|
||||
? "Tracked Object ID"
|
||||
? t("trackedObjectId")
|
||||
: filterType === "is_submitted"
|
||||
? "Submitted to Frigate+"
|
||||
? t("features.submittedToFrigatePlus.label", {
|
||||
ns: "components/filter",
|
||||
})
|
||||
: t("filter.label." + filterType)}
|
||||
: {formatFilterValues(filterType, filterValues)}
|
||||
<button
|
||||
|
||||
Loading…
Reference in New Issue
Block a user