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",
|
"filterInformation": "Filter information",
|
||||||
"filterActive": "Filters active"
|
"filterActive": "Filters active"
|
||||||
},
|
},
|
||||||
|
"trackedObjectId": "Tracked Object ID",
|
||||||
"filter": {
|
"filter": {
|
||||||
"label": {
|
"label": {
|
||||||
"cameras": "Cameras",
|
"cameras": "Cameras",
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
"filterInformation": "筛选信息",
|
"filterInformation": "筛选信息",
|
||||||
"filterActive": "筛选器已激活"
|
"filterActive": "筛选器已激活"
|
||||||
},
|
},
|
||||||
|
"trackedObjectId": "跟踪对象 ID",
|
||||||
"filter": {
|
"filter": {
|
||||||
"label": {
|
"label": {
|
||||||
"cameras": "摄像机",
|
"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"
|
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"
|
{filterType === "event_id"
|
||||||
? "Tracked Object ID"
|
? t("trackedObjectId")
|
||||||
: filterType === "is_submitted"
|
: filterType === "is_submitted"
|
||||||
? "Submitted to Frigate+"
|
? t("features.submittedToFrigatePlus.label", {
|
||||||
|
ns: "components/filter",
|
||||||
|
})
|
||||||
: t("filter.label." + filterType)}
|
: t("filter.label." + filterType)}
|
||||||
: {formatFilterValues(filterType, filterValues)}
|
: {formatFilterValues(filterType, filterValues)}
|
||||||
<button
|
<button
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user