mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-24 23:44:43 +03:00
feat: add i18n (translation/localization) (#16877)
* Translation module init * Add more i18n keys * fix: fix string wrong * refactor: use namespace translation file * chore: add more translation key * fix: fix some page name error * refactor: change Trans tag for t function * chore: fix some key not work * chore: fix SearchFilterDialog i18n key error Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * chore: fix en i18n file filter missing some keys * chore: add some i18n keys * chore: add more i18n keys again * feat: add search page i18n * feat: add explore model i18n keys * Update web/src/components/menu/GeneralSettings.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/components/menu/GeneralSettings.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/components/menu/GeneralSettings.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * feat: add more live i18n keys * feat: add more search setting i18n keys * fix: remove some comment * fix: fix some setting page url error * Update web/src/views/settings/SearchSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * fix: add system missing keys * fix: update password update i18n keys * chore: remove outdate translation.json file * fix: fix exploreSettings error * chore: add object setting i18n keys * Update web/src/views/recording/RecordingView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/public/locales/en/components/filter.json Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/components/overlay/ExportDialog.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * feat: add more i18n keys * fix: fix motionDetectionTuner html node * feat: add more page i18n keys * fix: cameraStream i18n keys error * feat: add Player i18n keys * feat: add more toast i18n keys * feat: change explore setting name * feat: add more document title i18n keys * feat: add more search i18n keys * fix: fix accessDenied i18n keys error * chore: add objectType i18n * chore: add inputWithTags i18n * chore: add SearchFilterDialog i18n * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * chore: add some missing i18n keys * chore: remove most import { t } from "i18next"; --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
db541abed4
commit
d34533981f
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"documentTitle": "Live - Frigate",
|
||||
"documentTitle.withCamera": "{{camera}} - Live - Frigate",
|
||||
"lowBandwidthMode": "Low-bandwidth Mode",
|
||||
"twoWayTalk": {
|
||||
"enable": "Enable Two Way Talk",
|
||||
"disable": "Disable Two Way Talk"
|
||||
},
|
||||
"cameraAudio": {
|
||||
"enable": "Enable Camera Audio",
|
||||
"disable": "Disable Camera Audio"
|
||||
},
|
||||
"ptz": {
|
||||
"move": {
|
||||
"clickMove": {
|
||||
"label": "Click in the frame to center the camera",
|
||||
"enable": "Enable click to move",
|
||||
"disable": "Disable click to move"
|
||||
},
|
||||
"left": {
|
||||
"label": "Move PTZ camera to the left"
|
||||
},
|
||||
"up": {
|
||||
"label": "Move PTZ camera up"
|
||||
},
|
||||
"down": {
|
||||
"label": "Move PTZ camera down"
|
||||
},
|
||||
"right": {
|
||||
"label": "Move PTZ camera to the right"
|
||||
}
|
||||
},
|
||||
"zoom": {
|
||||
"in": {
|
||||
"label": "Zoom PTZ camera in"
|
||||
},
|
||||
"out": {
|
||||
"label": "Zoom PTZ camera out"
|
||||
}
|
||||
},
|
||||
"frame": {
|
||||
"center": {
|
||||
"label": "Click in the frame to center the PTZ camera"
|
||||
}
|
||||
},
|
||||
"presets": "PTZ camera presets"
|
||||
},
|
||||
"camera": {
|
||||
"enable": "Enable Camera",
|
||||
"disable": "Disable Camera"
|
||||
},
|
||||
"muteCameras": {
|
||||
"enable": "Mute All Cameras",
|
||||
"disable": "Unmute All Cameras"
|
||||
},
|
||||
"detect": {
|
||||
"enable": "Enable Detect",
|
||||
"disable": "Disable Detect"
|
||||
},
|
||||
"recording": {
|
||||
"enable": "Enable Recording",
|
||||
"disable": "Disable Recording"
|
||||
},
|
||||
"snapshots": {
|
||||
"enable": "Enable Snapshots",
|
||||
"disable": "Disable Snapshots"
|
||||
},
|
||||
"audioDetect": {
|
||||
"enable": "Enable Audio Detect",
|
||||
"disable": "Disable Audio Detect"
|
||||
},
|
||||
"autotracking": {
|
||||
"enable": "Enable Autotracking",
|
||||
"disable": "Disable Autotracking"
|
||||
},
|
||||
"streamStats": {
|
||||
"enable": "Show Stream Stats",
|
||||
"disable": "Hide Stream Stats"
|
||||
},
|
||||
"manualRecording": {
|
||||
"title": "On-Demand Recording",
|
||||
"tips": "Start a manual event based on this camera's recording retention settings.",
|
||||
"playInBackground": {
|
||||
"label": "Play in background",
|
||||
"desc": "Enable this option to continue streaming when the player is hidden."
|
||||
},
|
||||
"showStats": {
|
||||
"label": "Show Stats",
|
||||
"desc": "Enable this option to show stream statistics as an overlay on the camera feed."
|
||||
},
|
||||
"debugView": "Debug View",
|
||||
"start": "Start on-demand recording",
|
||||
"started": "Started manual on-demand recording.",
|
||||
"failedToStart": "Failed to start manual on-demand recording.",
|
||||
"recordDisabledTips": "Since recording is disabled or restricted in the config for this camera, only a snapshot will be saved.",
|
||||
"end": "End on-demand recording",
|
||||
"ended": "Ended manual on-demand recording.",
|
||||
"failedToEnd": "Failed to end manual on-demand recording."
|
||||
},
|
||||
"streamingSettings": "Streaming Settings",
|
||||
"notifications": "Notifications",
|
||||
"audio": "Audio",
|
||||
"suspend:": {
|
||||
"forTime": "Suspend for: "
|
||||
},
|
||||
"stream": {
|
||||
"title": "Stream",
|
||||
"audio": {
|
||||
"tips": "Audio must be output from your camera and configured in go2rtc for this stream.",
|
||||
"tips.documentation": "Read the documentation ",
|
||||
"available": "Audio is available for this stream",
|
||||
"unavailable": "Audio is not available for this stream"
|
||||
},
|
||||
"twoWayTalk": {
|
||||
"tips": "Your device must suppport 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"
|
||||
},
|
||||
"lowBandwidth": {
|
||||
"tips": "Live view is in low-bandwidth mode due to buffering or stream errors.",
|
||||
"resetStream": "Reset stream"
|
||||
},
|
||||
"playInBackground": {
|
||||
"label": "Play in background",
|
||||
"tips": "Enable this option to continue streaming when the player is hidden."
|
||||
}
|
||||
},
|
||||
"cameraSettings": {
|
||||
"title": "{{camera}} Settings",
|
||||
"cameraEnabled": "Camera Enabled",
|
||||
"objectDetection": "Object Detection",
|
||||
"recording": "Recording",
|
||||
"snapshots": "Snapshots",
|
||||
"audioDetection": "Audio Detection",
|
||||
"autotracking": "Autotracking"
|
||||
},
|
||||
"history": {
|
||||
"label": "Show historical footage"
|
||||
},
|
||||
"effectiveRetainMode": {
|
||||
"modes": {
|
||||
"all": "All",
|
||||
"motion": "Motion",
|
||||
"active_objects": "Active Objects"
|
||||
},
|
||||
"notAllTips": "Your {{source}} recording retention configuration is set to <code>mode: {{effectiveRetainMode}}</code>, so this on-demand recording will only keep segments with {{effectiveRetainModeName}}."
|
||||
},
|
||||
"editLayout": {
|
||||
"label": "Edit Layout",
|
||||
"group.label": "Edit Camera Group",
|
||||
"exitEdit": "Exit Editing"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user