mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
chore: add object setting i18n keys
This commit is contained in:
parent
a5bd4b8550
commit
a726b40b78
@ -246,7 +246,10 @@
|
||||
"title": "Object Shape Filter Drawing",
|
||||
"desc": "Draw a rectangle on the image to view area and ratio details",
|
||||
"tips": "Enable this option to draw a rectangle on the camera image to show its area and ratio. These values can then be used to set object shape filter parameters in your config.",
|
||||
"document": "Read the documentation "
|
||||
"document": "Read the documentation ",
|
||||
"score": "Score",
|
||||
"ratio": "Ratio",
|
||||
"area": "Area"
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
|
||||
@ -246,7 +246,10 @@
|
||||
"title": "允许绘制“对象形状过滤器”",
|
||||
"desc": "在图像上绘制矩形,以查看区域和比例详细信息。",
|
||||
"tips": "启用此选项,能够在摄像头图像上绘制矩形,将显示其区域和比例。然后,您可以使用这些值在配置中设置对象形状过滤器参数。",
|
||||
"document": "阅读文档(英文)"
|
||||
"document": "阅读文档(英文)",
|
||||
"score": "分数",
|
||||
"ratio": "比例",
|
||||
"area": "区域"
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
|
||||
@ -373,7 +373,7 @@ function ObjectList({ cameraConfig, objects }: ObjectListProps) {
|
||||
<div className="text-md mr-2 w-1/3">
|
||||
<div className="flex flex-col items-end justify-end">
|
||||
<p className="mb-1.5 text-sm text-primary-variant">
|
||||
Score
|
||||
{t("debug.objectShapeFilterDrawing.score")}
|
||||
</p>
|
||||
{obj.score
|
||||
? (obj.score * 100).toFixed(1).toString()
|
||||
@ -384,7 +384,7 @@ function ObjectList({ cameraConfig, objects }: ObjectListProps) {
|
||||
<div className="text-md mr-2 w-1/3">
|
||||
<div className="flex flex-col items-end justify-end">
|
||||
<p className="mb-1.5 text-sm text-primary-variant">
|
||||
Ratio
|
||||
{t("debug.objectShapeFilterDrawing.ratio")}
|
||||
</p>
|
||||
{obj.ratio ? obj.ratio.toFixed(2).toString() : "-"}
|
||||
</div>
|
||||
@ -392,7 +392,7 @@ function ObjectList({ cameraConfig, objects }: ObjectListProps) {
|
||||
<div className="text-md mr-2 w-1/3">
|
||||
<div className="flex flex-col items-end justify-end">
|
||||
<p className="mb-1.5 text-sm text-primary-variant">
|
||||
Area
|
||||
{t("debug.objectShapeFilterDrawing.area")}
|
||||
</p>
|
||||
{obj.area ? (
|
||||
<>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user