From 95131541c5815f9289cf276818b76ba4ef07faf5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 22 Aug 2025 17:19:00 -0500 Subject: [PATCH] Consolidate documentation i18n keys (#19714) * Consolidate documentation i18n keys * individual translations --- web/public/locales/bg/common.json | 4 ++- web/public/locales/ca/common.json | 3 ++- web/public/locales/cs/common.json | 4 ++- web/public/locales/da/common.json | 3 ++- web/public/locales/de/common.json | 1 + web/public/locales/el/common.json | 3 ++- web/public/locales/en/common.json | 3 ++- web/public/locales/en/components/camera.json | 3 +-- web/public/locales/en/components/dialog.json | 3 +-- web/public/locales/en/views/explore.json | 4 +-- web/public/locales/en/views/faceLibrary.json | 1 - web/public/locales/en/views/live.json | 4 +-- web/public/locales/en/views/settings.json | 22 +++++----------- web/public/locales/en/views/system.json | 3 +-- web/public/locales/es/common.json | 3 ++- web/public/locales/fi/common.json | 3 ++- web/public/locales/fr/common.json | 1 + web/public/locales/gl/common.json | 3 ++- web/public/locales/he/common.json | 3 ++- web/public/locales/hu/common.json | 3 ++- web/public/locales/id/common.json | 3 ++- web/public/locales/it/common.json | 3 ++- web/public/locales/ja/common.json | 3 ++- web/public/locales/ko/common.json | 4 ++- web/public/locales/lt/common.json | 3 ++- web/public/locales/nb-NO/common.json | 3 ++- web/public/locales/nl/common.json | 3 ++- web/public/locales/pl/common.json | 3 ++- web/public/locales/pt-BR/common.json | 4 ++- web/public/locales/pt/common.json | 3 ++- web/public/locales/ro/common.json | 3 ++- web/public/locales/ru/common.json | 4 ++- web/public/locales/sk/common.json | 3 ++- web/public/locales/sl/common.json | 3 ++- web/public/locales/sr/common.json | 3 ++- web/public/locales/sv/common.json | 3 ++- web/public/locales/th/common.json | 3 ++- web/public/locales/tr/common.json | 3 ++- web/public/locales/uk/common.json | 3 ++- web/public/locales/ur/common.json | 3 ++- web/public/locales/vi/common.json | 3 ++- web/public/locales/yue-Hant/common.json | 3 ++- web/public/locales/zh-CN/common.json | 3 ++- web/public/locales/zh-Hant/common.json | 3 ++- .../overlay/detail/AnnotationSettingsPane.tsx | 4 +-- .../overlay/detail/FaceCreateWizardDialog.tsx | 2 +- .../settings/CameraStreamingDialog.tsx | 6 ++--- .../settings/MotionMaskEditPane.tsx | 4 +-- web/src/components/settings/ZoneEditPane.tsx | 2 +- web/src/pages/Explore.tsx | 4 +-- web/src/views/live/LiveCameraView.tsx | 25 ++++++++----------- web/src/views/settings/CameraSettingsView.tsx | 4 +-- .../settings/EnrichmentsSettingsView.tsx | 10 +++----- .../settings/FrigatePlusSettingsView.tsx | 2 +- web/src/views/settings/MasksAndZonesView.tsx | 10 +++----- web/src/views/settings/MotionTunerView.tsx | 2 +- .../settings/NotificationsSettingsView.tsx | 6 ++--- web/src/views/settings/ObjectSettingsView.tsx | 2 +- web/src/views/system/StorageMetrics.tsx | 2 +- 59 files changed, 121 insertions(+), 116 deletions(-) diff --git a/web/public/locales/bg/common.json b/web/public/locales/bg/common.json index 8c55198850..e69813950c 100644 --- a/web/public/locales/bg/common.json +++ b/web/public/locales/bg/common.json @@ -106,5 +106,7 @@ }, "label": { "back": "Върни се" - } + }, + "selectItem": "Избери {{item}}", + "readTheDocumentation": "Прочетете документацията" } diff --git a/web/public/locales/ca/common.json b/web/public/locales/ca/common.json index c981fd7166..7c11a81391 100644 --- a/web/public/locales/ca/common.json +++ b/web/public/locales/ca/common.json @@ -261,5 +261,6 @@ "title": "404", "desc": "Pàgina no trobada" }, - "selectItem": "Selecciona {{item}}" + "selectItem": "Selecciona {{item}}", + "readTheDocumentation": "Llegir la documentació" } diff --git a/web/public/locales/cs/common.json b/web/public/locales/cs/common.json index 08cff4992c..4b728603d3 100644 --- a/web/public/locales/cs/common.json +++ b/web/public/locales/cs/common.json @@ -261,5 +261,7 @@ "admin": "Správce", "viewer": "Divák", "desc": "Správci mají plný přístup ke všem funkcím v uživatelském rozhraní Frigate. Diváci jsou omezeni na sledování kamer, položek přehledu a historických záznamů v UI." - } + }, + "selectItem": "Vybrat {{item}}", + "readTheDocumentation": "Přečtěte si dokumentaci" } diff --git a/web/public/locales/da/common.json b/web/public/locales/da/common.json index b0bbd3d5f8..7625631c2c 100644 --- a/web/public/locales/da/common.json +++ b/web/public/locales/da/common.json @@ -254,5 +254,6 @@ "title": "404", "desc": "Side ikke fundet" }, - "selectItem": "Vælg {{item}}" + "selectItem": "Vælg {{item}}", + "readTheDocumentation": "Læs dokumentationen" } diff --git a/web/public/locales/de/common.json b/web/public/locales/de/common.json index b74bdbdde9..5eff842210 100644 --- a/web/public/locales/de/common.json +++ b/web/public/locales/de/common.json @@ -268,6 +268,7 @@ "documentTitle": "Nicht gefunden - Frigate" }, "selectItem": "Wähle {{item}}", + "readTheDocumentation": "Dokumentation lesen", "accessDenied": { "desc": "Du hast keine Berechtigung diese Seite anzuzeigen.", "documentTitle": "Zugang verweigert - Frigate", diff --git a/web/public/locales/el/common.json b/web/public/locales/el/common.json index d521af9a06..b404d9429a 100644 --- a/web/public/locales/el/common.json +++ b/web/public/locales/el/common.json @@ -4,5 +4,6 @@ "untilForRestart": "Μέχρι να γίνει επανεκίννηση του Frigate.", "untilRestart": "Μέχρι να γίνει επανεκκίνηση", "justNow": "Μόλις τώρα" - } + }, + "readTheDocumentation": "Διαβάστε την τεκμηρίωση" } diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json index 86304fff30..c22a9227d1 100644 --- a/web/public/locales/en/common.json +++ b/web/public/locales/en/common.json @@ -262,5 +262,6 @@ "title": "404", "desc": "Page not found" }, - "selectItem": "Select {{item}}" + "selectItem": "Select {{item}}", + "readTheDocumentation": "Read the documentation" } diff --git a/web/public/locales/en/components/camera.json b/web/public/locales/en/components/camera.json index 10513a7291..1ac9cc5135 100644 --- a/web/public/locales/en/components/camera.json +++ b/web/public/locales/en/components/camera.json @@ -35,8 +35,7 @@ "audioIsUnavailable": "Audio is unavailable for this stream", "audio": { "tips": { - "title": "Audio must be output from your camera and configured in go2rtc for this stream.", - "document": "Read the documentation " + "title": "Audio must be output from your camera and configured in go2rtc for this stream." } }, "stream": "Stream", diff --git a/web/public/locales/en/components/dialog.json b/web/public/locales/en/components/dialog.json index 02ab43c4ce..a64dbf5948 100644 --- a/web/public/locales/en/components/dialog.json +++ b/web/public/locales/en/components/dialog.json @@ -69,8 +69,7 @@ "restreaming": { "disabled": "Restreaming is not enabled for this camera.", "desc": { - "title": "Set up go2rtc for additional live view options and audio for this camera.", - "readTheDocumentation": "Read the documentation" + "title": "Set up go2rtc for additional live view options and audio for this camera." } }, "showStats": { diff --git a/web/public/locales/en/views/explore.json b/web/public/locales/en/views/explore.json index 3e5e753d9a..f35cfdc1d9 100644 --- a/web/public/locales/en/views/explore.json +++ b/web/public/locales/en/views/explore.json @@ -24,8 +24,7 @@ "textTokenizer": "Text tokenizer" }, "tips": { - "context": "You may want to reindex the embeddings of your tracked objects once the models are downloaded.", - "documentation": "Read the documentation" + "context": "You may want to reindex the embeddings of your tracked objects once the models are downloaded." }, "error": "An error has occurred. Check Frigate logs." } @@ -73,7 +72,6 @@ "offset": { "label": "Annotation Offset", "desc": "This data comes from your camera's detect feed but is overlayed on images from the the record feed. It is unlikely that the two streams are perfectly in sync. As a result, the bounding box and the footage will not line up perfectly. However, the annotation_offset field can be used to adjust this.", - "documentation": "Read the documentation ", "millisecondsToOffset": "Milliseconds to offset detect annotations by. Default: 0", "tips": "TIP: Imagine there is an event clip with a person walking from left to right. If the event timeline bounding box is consistently to the left of the person then the value should be decreased. Similarly, if a person is walking from left to right and the bounding box is consistently ahead of the person then the value should be increased.", "toast": { diff --git a/web/public/locales/en/views/faceLibrary.json b/web/public/locales/en/views/faceLibrary.json index e734ca9740..7bd60f95af 100644 --- a/web/public/locales/en/views/faceLibrary.json +++ b/web/public/locales/en/views/faceLibrary.json @@ -71,7 +71,6 @@ }, "nofaces": "No faces available", "pixels": "{{area}}px", - "readTheDocs": "Read the documentation", "trainFaceAs": "Train Face as:", "trainFace": "Train Face", "toast": { diff --git a/web/public/locales/en/views/live.json b/web/public/locales/en/views/live.json index 2af3992968..f20fc51189 100644 --- a/web/public/locales/en/views/live.json +++ b/web/public/locales/en/views/live.json @@ -119,15 +119,13 @@ "title": "Stream", "audio": { "tips": { - "title": "Audio must be output from your camera and configured in go2rtc for this stream.", - "documentation": "Read the documentation " + "title": "Audio must be output from your camera and configured in go2rtc for this stream." }, "available": "Audio is available for this stream", "unavailable": "Audio is not available for this stream" }, "twoWayTalk": { "tips": "Your device must support the feature and WebRTC must be configured for two-way talk.", - "tips.documentation": "Read the documentation ", "available": "Two-way talk is available for this stream", "unavailable": "Two-way talk is unavailable for this stream" }, diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json index 516ddf9f20..38c66f6304 100644 --- a/web/public/locales/en/views/settings.json +++ b/web/public/locales/en/views/settings.json @@ -92,7 +92,6 @@ "semanticSearch": { "title": "Semantic Search", "desc": "Semantic Search in Frigate allows you to find tracked objects within your review items using either the image itself, a user-defined text description, or an automatically generated one.", - "readTheDocumentation": "Read the Documentation", "reindexNow": { "label": "Reindex Now", "desc": "Reindexing will regenerate embeddings for all tracked object. This process runs in the background and may max out your CPU and take a fair amount of time depending on the number of tracked objects you have.", @@ -119,7 +118,6 @@ "faceRecognition": { "title": "Face Recognition", "desc": "Face recognition allows people to be assigned names and when their face is recognized Frigate will assign the person's name as a sub label. This information is included in the UI, filters, as well as in notifications.", - "readTheDocumentation": "Read the Documentation", "modelSize": { "label": "Model Size", "desc": "The size of the model used for face recognition.", @@ -135,8 +133,7 @@ }, "licensePlateRecognition": { "title": "License Plate Recognition", - "desc": "Frigate can recognize license plates on vehicles and automatically add the detected characters to the recognized_license_plate field or a known name as a sub_label to objects that are of type car. A common use case may be to read the license plates of cars pulling into a driveway or cars passing by on a street.", - "readTheDocumentation": "Read the Documentation" + "desc": "Frigate can recognize license plates on vehicles and automatically add the detected characters to the recognized_license_plate field or a known name as a sub_label to objects that are of type car. A common use case may be to read the license plates of cars pulling into a driveway or cars passing by on a street." }, "restart_required": "Restart required (Enrichments settings changed)", "toast": { @@ -167,7 +164,7 @@ "reviewClassification": { "title": "Review Classification", "desc": "Frigate categorizes review items as Alerts and Detections. By default, all person and car objects are considered Alerts. You can refine categorization of your review items by configuring required zones for them.", - "readTheDocumentation": "Read the Documentation", + "noDefinedZones": "No zones are defined for this camera.", "objectAlertsTips": "All {{alertsLabels}} objects on {{cameraName}} will be shown as Alerts.", "zoneObjectAlertsTips": "All {{alertsLabels}} objects detected in {{zone}} on {{cameraName}} will be shown as Alerts.", @@ -313,7 +310,6 @@ "speedEstimation": { "title": "Speed Estimation", "desc": "Enable speed estimation for objects in this zone. The zone must have exactly 4 points.", - "docs": "Read the documentation", "lineADistance": "Line A distance ({{unit}})", "lineBDistance": "Line B distance ({{unit}})", "lineCDistance": "Line C distance ({{unit}})", @@ -343,16 +339,14 @@ "add": "New Motion Mask", "edit": "Edit Motion Mask", "context": { - "title": "Motion masks are used to prevent unwanted types of motion from triggering detection (example: tree branches, camera timestamps). Motion masks should be used very sparingly, over-masking will make it more difficult for objects to be tracked.", - "documentation": "Read the documentation" + "title": "Motion masks are used to prevent unwanted types of motion from triggering detection (example: tree branches, camera timestamps). Motion masks should be used very sparingly, over-masking will make it more difficult for objects to be tracked." }, "point_one": "{{count}} point", "point_other": "{{count}} points", "clickDrawPolygon": "Click to draw a polygon on the image.", "polygonAreaTooLarge": { "title": "The motion mask is covering {{polygonArea}}% of the camera frame. Large motion masks are not recommended.", - "tips": "Motion masks do not prevent objects from being detected. You should use a required zone instead.", - "documentation": "Read the documentation" + "tips": "Motion masks do not prevent objects from being detected. You should use a required zone instead." }, "toast": { "success": { @@ -456,7 +450,6 @@ "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 ", "score": "Score", "ratio": "Ratio", "area": "Area" @@ -563,13 +556,11 @@ "title": "Notifications", "notificationSettings": { "title": "Notification Settings", - "desc": "Frigate can natively send push notifications to your device when it is running in the browser or installed as a PWA.", - "documentation": "Read the Documentation" + "desc": "Frigate can natively send push notifications to your device when it is running in the browser or installed as a PWA." }, "notificationUnavailable": { "title": "Notifications Unavailable", - "desc": "Web push notifications require a secure context (https://…). This is a browser limitation. Access Frigate securely to use notifications.", - "documentation": "Read the Documentation" + "desc": "Web push notifications require a secure context (https://…). This is a browser limitation. Access Frigate securely to use notifications." }, "globalSettings": { "title": "Global Settings", @@ -626,7 +617,6 @@ "snapshotConfig": { "title": "Snapshot Configuration", "desc": "Submitting to Frigate+ requires both snapshots and clean_copy snapshots to be enabled in your config.", - "documentation": "Read the documentation", "cleanCopyWarning": "Some cameras have snapshots enabled but have the clean copy disabled. You need to enable clean_copy in your snapshot config to be able to submit images from these cameras to Frigate+.", "table": { "camera": "Camera", diff --git a/web/public/locales/en/views/system.json b/web/public/locales/en/views/system.json index c03d10652b..1357000c97 100644 --- a/web/public/locales/en/views/system.json +++ b/web/public/locales/en/views/system.json @@ -93,8 +93,7 @@ }, "shm": { "title": "SHM (shared memory) allocation", - "warning": "The current SHM size of {{total}}MB is too small. Increase it to at least {{min_shm}}MB.", - "readTheDocumentation": "Read the documentation" + "warning": "The current SHM size of {{total}}MB is too small. Increase it to at least {{min_shm}}MB." }, "cameraStorage": { "title": "Camera Storage", diff --git a/web/public/locales/es/common.json b/web/public/locales/es/common.json index aacfb79a21..7d34c85219 100644 --- a/web/public/locales/es/common.json +++ b/web/public/locales/es/common.json @@ -278,5 +278,6 @@ "title": "404", "desc": "Página no encontrada" }, - "selectItem": "Seleccionar {{item}}" + "selectItem": "Seleccionar {{item}}", + "readTheDocumentation": "Leer la documentación" } diff --git a/web/public/locales/fi/common.json b/web/public/locales/fi/common.json index f76eb0e67f..4c749676af 100644 --- a/web/public/locales/fi/common.json +++ b/web/public/locales/fi/common.json @@ -168,5 +168,6 @@ "length": { "feet": "jalka" } - } + }, + "readTheDocumentation": "Lue dokumentaatio" } diff --git a/web/public/locales/fr/common.json b/web/public/locales/fr/common.json index c62f0398b2..960dd1d0d8 100644 --- a/web/public/locales/fr/common.json +++ b/web/public/locales/fr/common.json @@ -262,6 +262,7 @@ "desc": "Page non trouvée" }, "selectItem": "Sélectionner {{item}}", + "readTheDocumentation": "Lire la documentation", "accessDenied": { "title": "Accès refusé", "documentTitle": "Accès refusé - Frigate", diff --git a/web/public/locales/gl/common.json b/web/public/locales/gl/common.json index 1443cce355..61b9ce58fd 100644 --- a/web/public/locales/gl/common.json +++ b/web/public/locales/gl/common.json @@ -9,5 +9,6 @@ "today": "Hoxe", "untilRestart": "Ata o reinicio", "ago": "Fai {{timeAgo}}" - } + }, + "readTheDocumentation": "Ler a documentación" } diff --git a/web/public/locales/he/common.json b/web/public/locales/he/common.json index e6c1d632fa..4a89aba19d 100644 --- a/web/public/locales/he/common.json +++ b/web/public/locales/he/common.json @@ -261,5 +261,6 @@ "title": "404", "desc": "דף לא נמצא" }, - "selectItem": "בחירה:{{item}}" + "selectItem": "בחירה:{{item}}", + "readTheDocumentation": "קרא את התיעוד" } diff --git a/web/public/locales/hu/common.json b/web/public/locales/hu/common.json index 91c7aaeda1..f75193fd15 100644 --- a/web/public/locales/hu/common.json +++ b/web/public/locales/hu/common.json @@ -262,5 +262,6 @@ }, "label": { "back": "Vissza" - } + }, + "readTheDocumentation": "Olvassa el a dokumentációt" } diff --git a/web/public/locales/id/common.json b/web/public/locales/id/common.json index afe3a285c8..9072354dce 100644 --- a/web/public/locales/id/common.json +++ b/web/public/locales/id/common.json @@ -10,5 +10,6 @@ "last7": "7 hari terakhir", "last14": "14 hari terakhir", "last30": "30 hari terakhir" - } + }, + "readTheDocumentation": "Baca dokumentasi" } diff --git a/web/public/locales/it/common.json b/web/public/locales/it/common.json index 925019ac5c..f4ee9086f3 100644 --- a/web/public/locales/it/common.json +++ b/web/public/locales/it/common.json @@ -279,5 +279,6 @@ "title": "Salva" } }, - "selectItem": "Seleziona {{item}}" + "selectItem": "Seleziona {{item}}", + "readTheDocumentation": "Leggi la documentazione" } diff --git a/web/public/locales/ja/common.json b/web/public/locales/ja/common.json index 44b1d2b514..bf06ac831a 100644 --- a/web/public/locales/ja/common.json +++ b/web/public/locales/ja/common.json @@ -3,5 +3,6 @@ "untilForRestart": "Frigateが再起動するまで.", "untilRestart": "再起動まで", "untilForTime": "{{time}} まで" - } + }, + "readTheDocumentation": "ドキュメントを読む" } diff --git a/web/public/locales/ko/common.json b/web/public/locales/ko/common.json index 0967ef424b..0baf54f2ad 100644 --- a/web/public/locales/ko/common.json +++ b/web/public/locales/ko/common.json @@ -1 +1,3 @@ -{} +{ + "readTheDocumentation": "문서 읽기" +} diff --git a/web/public/locales/lt/common.json b/web/public/locales/lt/common.json index 1dcdd27c05..936cb217a3 100644 --- a/web/public/locales/lt/common.json +++ b/web/public/locales/lt/common.json @@ -269,5 +269,6 @@ "title": "404", "desc": "Puslapis nerastas" }, - "selectItem": "Pasirinkti {{item}}" + "selectItem": "Pasirinkti {{item}}", + "readTheDocumentation": "Skaityti dokumentaciją" } diff --git a/web/public/locales/nb-NO/common.json b/web/public/locales/nb-NO/common.json index 3b24cad1eb..af3d8b7b72 100644 --- a/web/public/locales/nb-NO/common.json +++ b/web/public/locales/nb-NO/common.json @@ -272,5 +272,6 @@ "title": "404", "desc": "Siden ble ikke funnet" }, - "selectItem": "Velg {{item}}" + "selectItem": "Velg {{item}}", + "readTheDocumentation": "Se dokumentasjonen" } diff --git a/web/public/locales/nl/common.json b/web/public/locales/nl/common.json index 8a9b297073..166dee4b57 100644 --- a/web/public/locales/nl/common.json +++ b/web/public/locales/nl/common.json @@ -272,5 +272,6 @@ "title": "404", "documentTitle": "Niet gevonden - Frigate" }, - "selectItem": "Selecteer {{item}}" + "selectItem": "Selecteer {{item}}", + "readTheDocumentation": "Lees de documentatie" } diff --git a/web/public/locales/pl/common.json b/web/public/locales/pl/common.json index 1285fea98e..058c74733e 100644 --- a/web/public/locales/pl/common.json +++ b/web/public/locales/pl/common.json @@ -279,5 +279,6 @@ }, "title": "Zapisz" } - } + }, + "readTheDocumentation": "Przeczytaj dokumentację" } diff --git a/web/public/locales/pt-BR/common.json b/web/public/locales/pt-BR/common.json index 15ee13ae6b..d187f82fa8 100644 --- a/web/public/locales/pt-BR/common.json +++ b/web/public/locales/pt-BR/common.json @@ -269,5 +269,7 @@ "documentTitle": "Não Encontrado - Frigate", "title": "404", "desc": "Página não encontrada" - } + }, + "selectItem": "Selecionar {{item}}", + "readTheDocumentation": "Leia a documentação" } diff --git a/web/public/locales/pt/common.json b/web/public/locales/pt/common.json index 2dbb1f5590..69d301472f 100644 --- a/web/public/locales/pt/common.json +++ b/web/public/locales/pt/common.json @@ -279,5 +279,6 @@ "desc": "Página não encontrada", "title": "404" }, - "selectItem": "Selecionar {{item}}" + "selectItem": "Selecionar {{item}}", + "readTheDocumentation": "Leia a documentação" } diff --git a/web/public/locales/ro/common.json b/web/public/locales/ro/common.json index 01ddb3d4f2..1e36296f66 100644 --- a/web/public/locales/ro/common.json +++ b/web/public/locales/ro/common.json @@ -269,5 +269,6 @@ "documentTitle": "Nu a fost găsit - Frigate", "title": "404", "desc": "Pagină negăsită" - } + }, + "readTheDocumentation": "Citește documentația" } diff --git a/web/public/locales/ru/common.json b/web/public/locales/ru/common.json index 6d2f866dcd..ee4a0df107 100644 --- a/web/public/locales/ru/common.json +++ b/web/public/locales/ru/common.json @@ -279,5 +279,7 @@ "admin": "Администратор", "viewer": "Наблюдатель", "desc": "Администраторы имеют полный доступ ко всем функциям в интерфейсе Frigate. Наблюдатели ограничены просмотром камер, элементов просмотра и архивных записей." - } + }, + "selectItem": "Выбрать {{item}}", + "readTheDocumentation": "Читать документацию" } diff --git a/web/public/locales/sk/common.json b/web/public/locales/sk/common.json index e4cc624462..195b513920 100644 --- a/web/public/locales/sk/common.json +++ b/web/public/locales/sk/common.json @@ -85,5 +85,6 @@ "speed": { "mph": "mph" } - } + }, + "readTheDocumentation": "Prečítajte si dokumentáciu" } diff --git a/web/public/locales/sl/common.json b/web/public/locales/sl/common.json index 8713c5a64a..4468781f53 100644 --- a/web/public/locales/sl/common.json +++ b/web/public/locales/sl/common.json @@ -269,5 +269,6 @@ "documentTitle": "Ni Najdeno - Frigate", "title": "404", "desc": "Stran ni najdena" - } + }, + "readTheDocumentation": "Preberite dokumentacijo" } diff --git a/web/public/locales/sr/common.json b/web/public/locales/sr/common.json index a68b332486..06557f2ecd 100644 --- a/web/public/locales/sr/common.json +++ b/web/public/locales/sr/common.json @@ -27,5 +27,6 @@ "year_few": "2,3,4,22,23,24,32,33,34,42,...", "year_other": "", "mo": "{{time}}mes" - } + }, + "readTheDocumentation": "Прочитајте документацију" } diff --git a/web/public/locales/sv/common.json b/web/public/locales/sv/common.json index a220db5856..842ff46049 100644 --- a/web/public/locales/sv/common.json +++ b/web/public/locales/sv/common.json @@ -253,5 +253,6 @@ "meters": "meter" } }, - "selectItem": "Välj {{item}}" + "selectItem": "Välj {{item}}", + "readTheDocumentation": "Läs dokumentationen" } diff --git a/web/public/locales/th/common.json b/web/public/locales/th/common.json index c7044976d0..b920787973 100644 --- a/web/public/locales/th/common.json +++ b/web/public/locales/th/common.json @@ -246,5 +246,6 @@ "feet": "ฟุต", "meters": "เมตร" } - } + }, + "readTheDocumentation": "อ่านเอกสาร" } diff --git a/web/public/locales/tr/common.json b/web/public/locales/tr/common.json index e12ec3b759..ebb4f9b1e9 100644 --- a/web/public/locales/tr/common.json +++ b/web/public/locales/tr/common.json @@ -272,5 +272,6 @@ "viewer": "Görüntüleyici", "admin": "Yönetici", "desc": "Yöneticiler Frigate arayüzündeki bütün özelliklere tam erişim sahibidir. Görüntüleyiciler ise yalnızca kameraları, eski görüntüleri ve inceleme öğelerini görüntülemekle sınırlıdır." - } + }, + "readTheDocumentation": "Dökümantasyonu oku" } diff --git a/web/public/locales/uk/common.json b/web/public/locales/uk/common.json index c84d8a25e4..70f97181c0 100644 --- a/web/public/locales/uk/common.json +++ b/web/public/locales/uk/common.json @@ -270,5 +270,6 @@ "desc": "Сторінка не знайдена", "title": "404" }, - "selectItem": "Вибрати {{item}}" + "selectItem": "Вибрати {{item}}", + "readTheDocumentation": "Прочитати документацію" } diff --git a/web/public/locales/ur/common.json b/web/public/locales/ur/common.json index dbf35b3b6c..37ff068c53 100644 --- a/web/public/locales/ur/common.json +++ b/web/public/locales/ur/common.json @@ -34,5 +34,6 @@ "month_other": "{{time}} مہینے", "hour_one": "{{time}} گھنٹہ", "hour_other": "{{time}} گھنٹے" - } + }, + "readTheDocumentation": "دستاویز پڑھیں" } diff --git a/web/public/locales/vi/common.json b/web/public/locales/vi/common.json index af34c5ee34..e99a2b975d 100644 --- a/web/public/locales/vi/common.json +++ b/web/public/locales/vi/common.json @@ -257,5 +257,6 @@ "title": "Không tìm thấy", "desc": "Trang bạn đang tìm không tồn tại" }, - "selectItem": "Chọn mục {{item}}" + "selectItem": "Chọn mục {{item}}", + "readTheDocumentation": "Đọc tài liệu" } diff --git a/web/public/locales/yue-Hant/common.json b/web/public/locales/yue-Hant/common.json index 03f4f89b4e..60bb2a2c6e 100644 --- a/web/public/locales/yue-Hant/common.json +++ b/web/public/locales/yue-Hant/common.json @@ -248,5 +248,6 @@ "documentTitle": "找不到頁面 - Frigate", "desc": "找不到頁面", "title": "404" - } + }, + "readTheDocumentation": "閱讀文件" } diff --git a/web/public/locales/zh-CN/common.json b/web/public/locales/zh-CN/common.json index 934382ba99..2c028bcb29 100644 --- a/web/public/locales/zh-CN/common.json +++ b/web/public/locales/zh-CN/common.json @@ -265,5 +265,6 @@ "title": "404", "desc": "页面未找到" }, - "selectItem": "选择 {{item}}" + "selectItem": "选择 {{item}}", + "readTheDocumentation": "阅读文档" } diff --git a/web/public/locales/zh-Hant/common.json b/web/public/locales/zh-Hant/common.json index acc7a0a084..41659ba919 100644 --- a/web/public/locales/zh-Hant/common.json +++ b/web/public/locales/zh-Hant/common.json @@ -247,5 +247,6 @@ "title": "404", "desc": "找不到頁面" }, - "selectItem": "選擇 {{item}}" + "selectItem": "選擇 {{item}}", + "readTheDocumentation": "閱讀文件" } diff --git a/web/src/components/overlay/detail/AnnotationSettingsPane.tsx b/web/src/components/overlay/detail/AnnotationSettingsPane.tsx index f71c2d6ba3..9e92bc0112 100644 --- a/web/src/components/overlay/detail/AnnotationSettingsPane.tsx +++ b/web/src/components/overlay/detail/AnnotationSettingsPane.tsx @@ -187,9 +187,7 @@ export function AnnotationSettingsPane({ rel="noopener noreferrer" className="inline" > - {t( - "objectLifecycle.annotationSettings.offset.documentation", - )} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/components/overlay/detail/FaceCreateWizardDialog.tsx b/web/src/components/overlay/detail/FaceCreateWizardDialog.tsx index 9207ce02f0..3ed512303d 100644 --- a/web/src/components/overlay/detail/FaceCreateWizardDialog.tsx +++ b/web/src/components/overlay/detail/FaceCreateWizardDialog.tsx @@ -161,7 +161,7 @@ export default function CreateFaceWizardDialog({ rel="noopener noreferrer" className="inline" > - {t("readTheDocs")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/components/settings/CameraStreamingDialog.tsx b/web/src/components/settings/CameraStreamingDialog.tsx index 0f070ce5f6..0e39af83ac 100644 --- a/web/src/components/settings/CameraStreamingDialog.tsx +++ b/web/src/components/settings/CameraStreamingDialog.tsx @@ -228,9 +228,7 @@ export function CameraStreamingDialog({ rel="noopener noreferrer" className="inline" > - {t("streaming.restreaming.desc.readTheDocumentation", { - ns: "components/dialog", - })} + {t("readTheDocumentation", { ns: "common" })} @@ -289,7 +287,7 @@ export function CameraStreamingDialog({ rel="noopener noreferrer" className="inline" > - {t("group.camera.setting.audio.tips.document")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/components/settings/MotionMaskEditPane.tsx b/web/src/components/settings/MotionMaskEditPane.tsx index b59005d0b8..ddb78c8779 100644 --- a/web/src/components/settings/MotionMaskEditPane.tsx +++ b/web/src/components/settings/MotionMaskEditPane.tsx @@ -257,7 +257,7 @@ export default function MotionMaskEditPane({ rel="noopener noreferrer" className="inline" > - {t("masksAndZones.motionMasks.context.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })} @@ -303,7 +303,7 @@ export default function MotionMaskEditPane({ rel="noopener noreferrer" className="my-3 block" > - {t("masksAndZones.motionMasks.polygonAreaTooLarge.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })}{" "} diff --git a/web/src/components/settings/ZoneEditPane.tsx b/web/src/components/settings/ZoneEditPane.tsx index 17029728b6..67f5f690a3 100644 --- a/web/src/components/settings/ZoneEditPane.tsx +++ b/web/src/components/settings/ZoneEditPane.tsx @@ -687,7 +687,7 @@ export default function ZoneEditPane({ rel="noopener noreferrer" className="inline" > - {t("masksAndZones.zones.speedEstimation.docs")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/pages/Explore.tsx b/web/src/pages/Explore.tsx index b6a4a43e55..9acc066bae 100644 --- a/web/src/pages/Explore.tsx +++ b/web/src/pages/Explore.tsx @@ -482,9 +482,7 @@ export default function Explore() { rel="noopener noreferrer" className="inline" > - {t( - "exploreIsUnavailable.downloadingModels.tips.documentation", - )}{" "} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx index 69d4a26f43..b4d099dd78 100644 --- a/web/src/views/live/LiveCameraView.tsx +++ b/web/src/views/live/LiveCameraView.tsx @@ -1379,12 +1379,7 @@ function FrigateCameraFeatures({ rel="noopener noreferrer" className="inline" > - {t( - "streaming.restreaming.desc.readTheDocumentation", - { - ns: "components/dialog", - }, - )} + {t("readTheDocumentation", { ns: "common" })} @@ -1457,7 +1452,9 @@ function FrigateCameraFeatures({ rel="noopener noreferrer" className="inline" > - {t("stream.audio.tips.documentation")} + {t("readTheDocumentation", { + ns: "common", + })} @@ -1500,9 +1497,9 @@ function FrigateCameraFeatures({ rel="noopener noreferrer" className="inline" > - {t( - "stream.twoWayTalk.tips.documentation", - )} + {t("readTheDocumentation", { + ns: "common", + })} @@ -1717,9 +1714,7 @@ function FrigateCameraFeatures({ rel="noopener noreferrer" className="inline" > - {t("streaming.restreaming.desc.readTheDocumentation", { - ns: "components/dialog", - })} + {t("readTheDocumentation", { ns: "common" })} @@ -1788,7 +1783,7 @@ function FrigateCameraFeatures({ rel="noopener noreferrer" className="inline" > - {t("stream.audio.tips.documentation")} + {t("readTheDocumentation", { ns: "common" })} @@ -1831,7 +1826,7 @@ function FrigateCameraFeatures({ rel="noopener noreferrer" className="inline" > - {t("stream.twoWayTalk.tips.documentation")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/settings/CameraSettingsView.tsx b/web/src/views/settings/CameraSettingsView.tsx index 61f327c6e6..41bb15bef8 100644 --- a/web/src/views/settings/CameraSettingsView.tsx +++ b/web/src/views/settings/CameraSettingsView.tsx @@ -508,9 +508,7 @@ export default function CameraSettingsView({ rel="noopener noreferrer" className="inline" > - - camera.reviewClassification.readTheDocumentation - {" "} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/settings/EnrichmentsSettingsView.tsx b/web/src/views/settings/EnrichmentsSettingsView.tsx index 2f00b3f2c8..a2a8359690 100644 --- a/web/src/views/settings/EnrichmentsSettingsView.tsx +++ b/web/src/views/settings/EnrichmentsSettingsView.tsx @@ -263,7 +263,7 @@ export default function EnrichmentsSettingsView({ rel="noopener noreferrer" className="inline" > - {t("enrichments.semanticSearch.readTheDocumentation")} + {t("readTheDocumentation", { ns: "common" })} @@ -409,7 +409,7 @@ export default function EnrichmentsSettingsView({ rel="noopener noreferrer" className="inline" > - {t("enrichments.faceRecognition.readTheDocumentation")} + {t("readTheDocumentation", { ns: "common" })} @@ -512,9 +512,7 @@ export default function EnrichmentsSettingsView({ rel="noopener noreferrer" className="inline" > - {t( - "enrichments.licensePlateRecognition.readTheDocumentation", - )} + {t("readTheDocumentation", { ns: "common" })} @@ -558,7 +556,7 @@ export default function EnrichmentsSettingsView({ rel="noopener noreferrer" className="inline" > - {t("enrichments.semanticSearch.readTheDocumentation")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/settings/FrigatePlusSettingsView.tsx b/web/src/views/settings/FrigatePlusSettingsView.tsx index e721aa13ce..bcf7434e6c 100644 --- a/web/src/views/settings/FrigatePlusSettingsView.tsx +++ b/web/src/views/settings/FrigatePlusSettingsView.tsx @@ -458,7 +458,7 @@ export default function FrigatePlusSettingsView({ rel="noopener noreferrer" className="inline" > - {t("frigatePlus.snapshotConfig.documentation")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/settings/MasksAndZonesView.tsx b/web/src/views/settings/MasksAndZonesView.tsx index c9ba9971e6..320fe09941 100644 --- a/web/src/views/settings/MasksAndZonesView.tsx +++ b/web/src/views/settings/MasksAndZonesView.tsx @@ -506,7 +506,7 @@ export default function MasksAndZonesView({ rel="noopener noreferrer" className="inline" > - {t("masksAndZones.zones.desc.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })} @@ -574,9 +574,7 @@ export default function MasksAndZonesView({ rel="noopener noreferrer" className="inline" > - {t( - "masksAndZones.motionMasks.desc.documentation", - )}{" "} + {t("readTheDocumentation", { ns: "common" })} @@ -646,9 +644,7 @@ export default function MasksAndZonesView({ rel="noopener noreferrer" className="inline" > - {t( - "masksAndZones.objectMasks.desc.documentation", - )}{" "} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/settings/MotionTunerView.tsx b/web/src/views/settings/MotionTunerView.tsx index ec75298eb2..152de774fe 100644 --- a/web/src/views/settings/MotionTunerView.tsx +++ b/web/src/views/settings/MotionTunerView.tsx @@ -205,7 +205,7 @@ export default function MotionTunerView({ rel="noopener noreferrer" className="inline" > - {t("motionDetectionTuner.desc.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/settings/NotificationsSettingsView.tsx b/web/src/views/settings/NotificationsSettingsView.tsx index ab0241e248..e5027cd8ed 100644 --- a/web/src/views/settings/NotificationsSettingsView.tsx +++ b/web/src/views/settings/NotificationsSettingsView.tsx @@ -341,7 +341,7 @@ export default function NotificationView({ rel="noopener noreferrer" className="inline" > - {t("notification.notificationSettings.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })} @@ -363,7 +363,7 @@ export default function NotificationView({ rel="noopener noreferrer" className="inline" > - {t("notification.notificationUnavailable.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })}{" "} @@ -396,7 +396,7 @@ export default function NotificationView({ rel="noopener noreferrer" className="inline" > - {t("notification.notificationSettings.documentation")}{" "} + {t("readTheDocumentation", { ns: "common" })}{" "} diff --git a/web/src/views/settings/ObjectSettingsView.tsx b/web/src/views/settings/ObjectSettingsView.tsx index d1f77e3ac0..bd47b01bc3 100644 --- a/web/src/views/settings/ObjectSettingsView.tsx +++ b/web/src/views/settings/ObjectSettingsView.tsx @@ -275,7 +275,7 @@ export default function ObjectSettingsView({ rel="noopener noreferrer" className="inline" > - {t("debug.objectShapeFilterDrawing.document")} + {t("readTheDocumentation", { ns: "common" })} diff --git a/web/src/views/system/StorageMetrics.tsx b/web/src/views/system/StorageMetrics.tsx index 050badce2c..b91e66986c 100644 --- a/web/src/views/system/StorageMetrics.tsx +++ b/web/src/views/system/StorageMetrics.tsx @@ -178,7 +178,7 @@ export default function StorageMetrics({ rel="noopener noreferrer" className="inline" > - {t("storage.shm.readTheDocumentation")} + {t("readTheDocumentation", { ns: "common" })}