From 34a06ac77b0d36ad63da9fa28ebc0978a9f6a528 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 20 Mar 2026 12:00:28 -0500 Subject: [PATCH] Tweaks (#22552) * add weblate to contributing docs * show vertex points in dialog only in motion search --- CONTRIBUTING.md | 11 ++++++ .../motion-search/MotionSearchROICanvas.tsx | 37 ++++++++++--------- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 150b85bcb..9cb575d37 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -122,6 +122,17 @@ docs/ # Documentation site migrations/ # Database migrations ``` +## Translations + +Frigate uses [Weblate](https://hosted.weblate.org/projects/frigate-nvr/) for managing language translations. If you'd like to help translate Frigate into your language: + +1. Visit the [Frigate project on Weblate](https://hosted.weblate.org/projects/frigate-nvr/). +2. Create an account or log in. +3. Browse the available languages and select the one you'd like to contribute to, or request a new language. +4. Translate strings directly in the Weblate interface — no code changes or pull requests needed. + +Translation contributions through Weblate are automatically synced to the repository. Please do not submit pull requests for translation changes — use Weblate instead so that translations are properly tracked and coordinated. + ## Resources - [Documentation](https://docs.frigate.video) diff --git a/web/src/views/motion-search/MotionSearchROICanvas.tsx b/web/src/views/motion-search/MotionSearchROICanvas.tsx index f393a9cfb..43fac7a48 100644 --- a/web/src/views/motion-search/MotionSearchROICanvas.tsx +++ b/web/src/views/motion-search/MotionSearchROICanvas.tsx @@ -372,24 +372,25 @@ export default function MotionSearchROICanvas({ /> )} - {/* Vertex points */} - {scaledPoints.map((point, index) => ( - handlePointDragMove(e, index)} - onMouseOver={(e) => handleMouseOverPoint(e, index)} - onMouseOut={(e) => handleMouseOutPoint(e, index)} - onContextMenu={(e) => handleContextMenu(e, index)} - /> - ))} + {/* Vertex points (only shown in interactive/dialog mode) */} + {isInteractive && + scaledPoints.map((point, index) => ( + handlePointDragMove(e, index)} + onMouseOver={(e) => handleMouseOverPoint(e, index)} + onMouseOut={(e) => handleMouseOutPoint(e, index)} + onContextMenu={(e) => handleContextMenu(e, index)} + /> + ))} )}