From 75be8628ae5d690c3f49f1afa2420a36c5360b5d Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Tue, 10 Mar 2026 16:02:56 +0100 Subject: [PATCH] Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 20.5% (96 of 467 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 8.6% (94 of 1084 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 7.2% (34 of 467 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 65.2% (15 of 23 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 3.1% (34 of 1084 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 71.3% (653 of 915 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 82.8% (140 of 169 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 54.5% (12 of 22 strings) Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 52.0% (13 of 25 strings) Co-authored-by: GuoQing Liu <842607283@qq.com> Co-authored-by: Hosted Weblate Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-cameras/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-global/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-groups/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/config-validation/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-exports/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-settings/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/frigate-nvr/views-system/zh_Hans/ Translation: Frigate NVR/Config - Cameras Translation: Frigate NVR/Config - Global Translation: Frigate NVR/Config - Groups Translation: Frigate NVR/Config - Validation Translation: Frigate NVR/views-exports Translation: Frigate NVR/views-settings Translation: Frigate NVR/views-system --- web/public/locales/zh-CN/views/exports.json | 6 + web/public/locales/zh-CN/views/settings.json | 9 +- web/public/locales/zh-CN/views/system.json | 10 +- .../locales/zh-Hans/config/validation.json | 19 +- .../locales/zh_Hans/config/cameras.json | 197 ++++++++++++++++- web/public/locales/zh_Hans/config/global.json | 201 +++++++++++++++++- web/public/locales/zh_Hans/config/groups.json | 44 +++- 7 files changed, 478 insertions(+), 8 deletions(-) diff --git a/web/public/locales/zh-CN/views/exports.json b/web/public/locales/zh-CN/views/exports.json index 3270dc4e5..9cd4248db 100644 --- a/web/public/locales/zh-CN/views/exports.json +++ b/web/public/locales/zh-CN/views/exports.json @@ -19,5 +19,11 @@ "downloadVideo": "下载视频", "editName": "编辑名称", "deleteExport": "删除导出" + }, + "headings": { + "uncategorizedExports": "未分类导出项" + }, + "caseDialog": { + "nameLabel": "片段名称" } } diff --git a/web/public/locales/zh-CN/views/settings.json b/web/public/locales/zh-CN/views/settings.json index f4dd6108e..c5b2340a7 100644 --- a/web/public/locales/zh-CN/views/settings.json +++ b/web/public/locales/zh-CN/views/settings.json @@ -7,12 +7,14 @@ "masksAndZones": "遮罩和区域编辑器 - Frigate", "motionTuner": "画面变动调整 - Frigate", "object": "调试 - Frigate", - "general": "页面设置 - Frigate", + "general": "配置文件设置 - Frigate", "frigatePlus": "Frigate+ 设置 - Frigate", "notifications": "通知设置 - Frigate", "enrichments": "增强功能设置 - Frigate", "cameraManagement": "管理摄像头 - Frigate", - "cameraReview": "摄像头核查设置 - Frigate" + "cameraReview": "摄像头核查设置 - Frigate", + "globalConfig": "全局配置 - Frigate", + "cameraConfig": "摄像头配置 - Frigate" }, "menu": { "ui": "界面设置", @@ -28,7 +30,8 @@ "triggers": "触发器", "roles": "权限组", "cameraManagement": "管理", - "cameraReview": "核查" + "cameraReview": "核查", + "globalDetect": "目标检测" }, "dialog": { "unsavedChanges": { diff --git a/web/public/locales/zh-CN/views/system.json b/web/public/locales/zh-CN/views/system.json index 4d06a16bf..abe341f68 100644 --- a/web/public/locales/zh-CN/views/system.json +++ b/web/public/locales/zh-CN/views/system.json @@ -7,7 +7,8 @@ "logs": { "frigate": "Frigate 日志 - Frigate", "go2rtc": "Go2RTC 日志 - Frigate", - "nginx": "Nginx 日志 - Frigate" + "nginx": "Nginx 日志 - Frigate", + "websocket": "消息日志 - Frigate" } }, "title": "系统", @@ -33,6 +34,13 @@ "fetchingLogsFailed": "获取日志出错:{{errorMessage}}", "whileStreamingLogs": "流式传输日志时出错:{{errorMessage}}" } + }, + "websocket": { + "label": "消息", + "pause": "暂停", + "filter": { + "lpr": "车牌识别" + } } }, "general": { diff --git a/web/public/locales/zh-Hans/config/validation.json b/web/public/locales/zh-Hans/config/validation.json index 0967ef424..02316a882 100644 --- a/web/public/locales/zh-Hans/config/validation.json +++ b/web/public/locales/zh-Hans/config/validation.json @@ -1 +1,18 @@ -{} +{ + "minimum": "必须至少为 {{limit}}", + "maximum": "最大值不能超过 {{limit}}", + "exclusiveMinimum": "必须大于 {{limit}}", + "exclusiveMaximum": "必须小于 {{limit}}", + "minLength": "长度至少为 {{limit}} 个字符", + "maxLength": "长度最多为 {{limit}} 个字符", + "minItems": "至少包含 {{limit}} 项", + "maxItems": "最多包含 {{limit}} 项", + "pattern": "格式无效", + "required": "此字段为必填项", + "type": "值类型无效", + "ffmpeg": { + "inputs": { + "detectRequired": "必须至少有一个输入流分配为“检测”功能。" + } + } +} diff --git a/web/public/locales/zh_Hans/config/cameras.json b/web/public/locales/zh_Hans/config/cameras.json index 0967ef424..55728feb3 100644 --- a/web/public/locales/zh_Hans/config/cameras.json +++ b/web/public/locales/zh_Hans/config/cameras.json @@ -1 +1,196 @@ -{} +{ + "label": "摄像头配置", + "name": { + "label": "摄像头名称", + "description": "必须填写摄像头名称" + }, + "friendly_name": { + "label": "别名", + "description": "摄像头别名将用于展示在页面中" + }, + "enabled": { + "label": "开启", + "description": "开启" + }, + "audio": { + "label": "音频事件", + "description": "此摄像头的音频事件检测设置。", + "enabled": { + "label": "开启音频检测", + "description": "开启或禁用此摄像头的音频事件检测。" + }, + "max_not_heard": { + "label": "最大未检测到声音时长" + }, + "num_threads": { + "label": "检测线程数", + "description": "用于音频检测处理的线程数量。" + } + }, + "audio_transcription": { + "label": "音频转录", + "description": "用于事件记录与实时字幕的语音转文字及翻译设置。", + "enabled": { + "label": "开启转录", + "description": "开启或关闭手动触发的音频事件转写。" + }, + "enabled_in_config": { + "label": "原始转写状态" + }, + "live_enabled": { + "label": "实时监控转写", + "description": "在接收到音频时开启实时监控持续转写。" + } + }, + "birdseye": { + "label": "鸟瞰图", + "description": "将多路摄像头画面合并为统一布局的鸟瞰合成视图设置。", + "enabled": { + "label": "开启鸟瞰图", + "description": "开启或关闭鸟瞰图功能。" + }, + "mode": { + "label": "追踪模式", + "description": "鸟瞰视图的摄像头显示模式:目标检测、画面变动侦测、持续显示。" + }, + "order": { + "label": "排序位置", + "description": "用于控制摄像头在鸟瞰视图布局中排序位置的数值。" + } + }, + "detect": { + "label": "目标检测", + "description": "用于运行目标检测、初始化追踪器的检测模块设置。", + "enabled": { + "label": "开启检测", + "description": "开启或关闭该摄像头的目标检测。如需运行目标追踪,必须先开启检测。" + }, + "height": { + "label": "检测画面高度", + "description": "用于配置检测流的画面高度(像素);留空则使用原始视频流分辨率。" + }, + "width": { + "label": "检测画面宽度", + "description": "用于配置检测流的画面宽度(像素);留空则使用原始视频流分辨率。" + }, + "fps": { + "label": "检测帧率", + "description": "检测时希望使用的帧率;数值越低,CPU 占用越小(推荐值为 5,仅在追踪极高速运动的目标时才设置更高数值,最高不建议超过 10)。" + }, + "min_initialized": { + "label": "最小初始化帧数", + "description": "创建追踪目标前,需要连续检测到目标的次数。数值越大,错误触发的追踪越少。默认值为帧率除以 2。" + }, + "max_disappeared": { + "label": "最大消失帧数", + "description": "追踪目标在连续多少帧未被检测到时,将被判定为已消失。" + }, + "stationary": { + "label": "静止目标配置", + "description": "用于检测和管理长时间静止目标的相关设置。", + "interval": { + "label": "静止间隔", + "description": "设置每隔多少帧执行一次检测,用于确认目标是否处于静止状态。" + }, + "threshold": { + "label": "静止阈值", + "description": "目标需要连续多少帧位置不变,才会被标记为静止状态。" + }, + "max_frames": { + "label": "最大帧数", + "description": "限制静止目标最大追踪时长(以帧数为单位),超过将会停止追踪。", + "default": { + "label": "默认最大帧数", + "description": "停止追踪前,用于追踪静止目标的默认最大帧数。" + }, + "objects": { + "label": "目标最大帧数", + "description": "可对不同类型目标分别设置静止追踪的最大帧数(覆盖全局设置)。" + } + }, + "classifier": { + "label": "开启视觉分类器", + "description": "使用视觉分类器,即使检测框有轻微抖动,也能准确判断物体是真的静止。" + } + }, + "annotation_offset": { + "label": "标记偏移量", + "description": "检测标记的时间偏移量(毫秒),用于让时间轴上的检测框与录像画面更精准对齐;可设置为正数或负数。" + } + }, + "face_recognition": { + "label": "人脸识别", + "description": "该摄像头的人脸检测与识别设置。", + "enabled": { + "label": "开启人脸识别", + "description": "开启或关闭人脸识别。" + }, + "min_area": { + "label": "最小人脸大小", + "description": "需要尝试进行人脸识别的人脸检测框最小大小(像素)。" + } + }, + "ffmpeg": { + "label": "FFmpeg", + "description": "FFmpeg 编解码相关设置,包含可执行文件路径、命令行参数、硬件加速选项,以及按不同功能划分的输出参数。", + "path": { + "label": "FFmpeg 路径", + "description": "要使用的 FFmpeg 可执行文件路径,或版本别名(如 \"5.0\" 或 \"7.0\")。" + }, + "global_args": { + "label": "FFmpeg 全局参数", + "description": "传递给 FFmpeg 进程的全局参数。" + }, + "hwaccel_args": { + "label": "硬件加速参数", + "description": "用于 FFmpeg 的硬件加速参数。建议使用对应硬件厂商的预设配置。" + }, + "input_args": { + "label": "输入参数", + "description": "应用于 FFmpeg 输入视频流的输入参数。" + }, + "output_args": { + "label": "输出参数", + "description": "用于不同 FFmpeg 功能(如检测、录制)的默认输出参数。", + "detect": { + "label": "检测输出参数", + "description": "检测功能视频流的默认输出参数。" + }, + "record": { + "label": "录制输出参数", + "description": "录制功能视频流的默认输出参数。" + } + }, + "retry_interval": { + "label": "FFmpeg 重试时间", + "description": "摄像头视频流异常断开后,重新连接前的等待时间。默认为 10 秒。" + }, + "apple_compatibility": { + "label": "Apple 兼容性", + "description": "录制 H.265 视频时启用 HEVC 标记,以提升对 Apple 设备播放的兼容性。" + }, + "gpu": { + "label": "GPU 索引", + "description": "在启用硬件加速时,默认使用的 GPU 索引。" + }, + "inputs": { + "label": "摄像头输入视频流", + "description": "该摄像头的所有输入流配置列表(包含路径和功能)。", + "path": { + "label": "输入路径", + "description": "摄像头输入视频流的地址或路径。" + }, + "roles": { + "label": "输入流功能", + "description": "定义该视频流的功能。" + }, + "global_args": { + "label": "FFmpeg 全局参数", + "description": "该输入视频流使用的 FFmpeg 全局通用参数。" + }, + "hwaccel_args": { + "label": "硬件加速参数" + } + } + } +} diff --git a/web/public/locales/zh_Hans/config/global.json b/web/public/locales/zh_Hans/config/global.json index 0967ef424..72bbef482 100644 --- a/web/public/locales/zh_Hans/config/global.json +++ b/web/public/locales/zh_Hans/config/global.json @@ -1 +1,200 @@ -{} +{ + "version": { + "label": "当前配置版本", + "description": "用于标识当前生效配置的版本号(数字或字符串均可),帮助识别配置迁移或格式是否发生变更。" + }, + "safe_mode": { + "label": "安全模式", + "description": "启用后,Frigate 将以安全模式启动,将会关闭部分功能,以便排查问题。" + }, + "environment_vars": { + "label": "环境变量", + "description": "用于在 Home Assistant OS 中为 Frigate 进程设置的环境变量。非 HAOS 用户不能使用该配置项,而必须使用 Docker 的环境变量配置。" + }, + "logger": { + "label": "日志", + "description": "控制默认日志详细程度,以及各组件的日志级别覆盖。", + "default": { + "label": "日志等级", + "description": "默认全局日志详细程度(调试、信息、警告、错误)。" + }, + "logs": { + "label": "单进程日志级别", + "description": "按组件覆盖日志级别配置,用于提高或降低特定模块的日志详细程度。" + } + }, + "audio": { + "label": "音频事件", + "enabled": { + "label": "开启音频检测" + }, + "max_not_heard": { + "label": "最大未检测到声音时长" + }, + "num_threads": { + "label": "检测线程数", + "description": "用于音频检测处理的线程数量。" + } + }, + "auth": { + "cookie_secure": { + "label": "安全 Cookie 标志" + } + }, + "audio_transcription": { + "label": "音频转录", + "description": "用于事件记录与实时字幕的语音转文字及翻译设置。", + "live_enabled": { + "label": "实时监控转写", + "description": "在接收到音频时开启实时监控持续转写。" + } + }, + "birdseye": { + "label": "鸟瞰图", + "description": "将多路摄像头画面合并为统一布局的鸟瞰合成视图设置。", + "enabled": { + "label": "开启鸟瞰图", + "description": "开启或关闭鸟瞰图功能。" + }, + "mode": { + "label": "追踪模式", + "description": "鸟瞰视图的摄像头显示模式:目标检测、画面变动侦测、持续显示。" + }, + "order": { + "label": "排序位置", + "description": "用于控制摄像头在鸟瞰视图布局中排序位置的数值。" + } + }, + "detect": { + "label": "目标检测", + "description": "用于运行目标检测、初始化追踪器的检测模块设置。", + "enabled": { + "label": "开启检测" + }, + "height": { + "label": "检测画面高度", + "description": "用于配置检测流的画面高度(像素);留空则使用原始视频流分辨率。" + }, + "width": { + "label": "检测画面宽度", + "description": "用于配置检测流的画面宽度(像素);留空则使用原始视频流分辨率。" + }, + "fps": { + "label": "检测帧率", + "description": "检测时希望使用的帧率;数值越低,CPU 占用越小(推荐值为 5,仅在追踪极高速运动的目标时才设置更高数值,最高不建议超过 10)。" + }, + "min_initialized": { + "label": "最小初始化帧数", + "description": "创建追踪目标前,需要连续检测到目标的次数。数值越大,错误触发的追踪越少。默认值为帧率除以 2。" + }, + "max_disappeared": { + "label": "最大消失帧数", + "description": "追踪目标在连续多少帧未被检测到时,将被判定为已消失。" + }, + "stationary": { + "label": "静止目标配置", + "description": "用于检测和管理长时间静止目标的相关设置。", + "interval": { + "label": "静止间隔", + "description": "设置每隔多少帧执行一次检测,用于确认目标是否处于静止状态。" + }, + "threshold": { + "label": "静止阈值", + "description": "目标需要连续多少帧位置不变,才会被标记为静止状态。" + }, + "max_frames": { + "label": "最大帧数", + "description": "限制静止目标最大追踪时长(以帧数为单位),超过将会停止追踪。", + "default": { + "label": "默认最大帧数", + "description": "停止追踪前,用于追踪静止目标的默认最大帧数。" + }, + "objects": { + "label": "目标最大帧数", + "description": "可对不同类型目标分别设置静止追踪的最大帧数(覆盖全局设置)。" + } + }, + "classifier": { + "label": "开启视觉分类器", + "description": "使用视觉分类器,即使检测框有轻微抖动,也能准确判断物体是真的静止。" + } + }, + "annotation_offset": { + "label": "标记偏移量", + "description": "检测标记的时间偏移量(毫秒),用于让时间轴上的检测框与录像画面更精准对齐;可设置为正数或负数。" + } + }, + "face_recognition": { + "label": "人脸识别", + "enabled": { + "label": "开启人脸识别" + }, + "min_area": { + "label": "最小人脸大小", + "description": "需要尝试进行人脸识别的人脸检测框最小大小(像素)。" + } + }, + "ffmpeg": { + "label": "FFmpeg", + "description": "FFmpeg 编解码相关设置,包含可执行文件路径、命令行参数、硬件加速选项,以及按不同功能划分的输出参数。", + "path": { + "label": "FFmpeg 路径", + "description": "要使用的 FFmpeg 可执行文件路径,或版本别名(如 \"5.0\" 或 \"7.0\")。" + }, + "global_args": { + "label": "FFmpeg 全局参数", + "description": "传递给 FFmpeg 进程的全局参数。" + }, + "hwaccel_args": { + "label": "硬件加速参数", + "description": "用于 FFmpeg 的硬件加速参数。建议使用对应硬件厂商的预设配置。" + }, + "input_args": { + "label": "输入参数", + "description": "应用于 FFmpeg 输入视频流的输入参数。" + }, + "output_args": { + "label": "输出参数", + "description": "用于不同 FFmpeg 功能(如检测、录制)的默认输出参数。", + "detect": { + "label": "检测输出参数", + "description": "检测功能视频流的默认输出参数。" + }, + "record": { + "label": "录制输出参数", + "description": "录制功能视频流的默认输出参数。" + } + }, + "retry_interval": { + "label": "FFmpeg 重试时间", + "description": "摄像头视频流异常断开后,重新连接前的等待时间。默认为 10 秒。" + }, + "apple_compatibility": { + "label": "Apple 兼容性", + "description": "录制 H.265 视频时启用 HEVC 标记,以提升对 Apple 设备播放的兼容性。" + }, + "gpu": { + "label": "GPU 索引", + "description": "在启用硬件加速时,默认使用的 GPU 索引。" + }, + "inputs": { + "label": "摄像头输入视频流", + "description": "该摄像头的所有输入流配置列表(包含路径和功能)。", + "path": { + "label": "输入路径", + "description": "摄像头输入视频流的地址或路径。" + }, + "roles": { + "label": "输入流功能", + "description": "定义该视频流的功能。" + }, + "global_args": { + "label": "FFmpeg 全局参数", + "description": "该输入视频流使用的 FFmpeg 全局通用参数。" + }, + "hwaccel_args": { + "label": "硬件加速参数" + } + } + } +} diff --git a/web/public/locales/zh_Hans/config/groups.json b/web/public/locales/zh_Hans/config/groups.json index 0967ef424..9654242de 100644 --- a/web/public/locales/zh_Hans/config/groups.json +++ b/web/public/locales/zh_Hans/config/groups.json @@ -1 +1,43 @@ -{} +{ + "audio": { + "global": { + "detection": "全局检测器", + "sensitivity": "全局灵敏度" + }, + "cameras": { + "detection": "检测器", + "sensitivity": "灵敏度" + } + }, + "timestamp_style": { + "global": { + "appearance": "全局样式" + }, + "cameras": { + "appearance": "样式" + } + }, + "motion": { + "global": { + "sensitivity": "全局灵敏度", + "algorithm": "全局算法" + }, + "cameras": { + "sensitivity": "灵敏度", + "algorithm": "算法" + } + }, + "snapshots": { + "global": { + "display": "全局显示" + }, + "cameras": { + "display": "显示" + } + }, + "record": { + "global": { + "retention": "全局分辨率" + } + } +}