fix: Improve en strings (#2431)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:12 -07:00
committed by dermotduffy
parent e2cceb55c8
commit a1202e8b8f
2 changed files with 21 additions and 21 deletions
+18 -18
View File
@@ -27,7 +27,7 @@
}, },
"config": { "config": {
"cameras": { "cameras": {
"always_error_if_entity_unavailable": "Always treat entity unavailability as error", "always_error_if_entity_unavailable": "Always treat entity unavailability as an error",
"camera_entity": "Camera Entity", "camera_entity": "Camera Entity",
"capabilities": { "capabilities": {
"capabilities": { "capabilities": {
@@ -109,8 +109,8 @@
"editor_label": "Camera engine options" "editor_label": "Camera engine options"
}, },
"frigate": { "frigate": {
"camera_name": "Frigate camera name (Autodetected from entity)", "camera_name": "Frigate camera name (autodetected from entity)",
"client_id": "Frigate client id (For >1 Frigate server)", "client_id": "Frigate client id (for >1 Frigate server)",
"editor_label": "Frigate options", "editor_label": "Frigate options",
"labels": "Frigate labels/object filters", "labels": "Frigate labels/object filters",
"url": "Frigate server URL", "url": "Frigate server URL",
@@ -129,11 +129,11 @@
"stream": "go2rtc stream name", "stream": "go2rtc stream name",
"url": "go2rtc URL" "url": "go2rtc URL"
}, },
"icon": "Icon for this camera (Autodetected from entity)", "icon": "Icon for this camera (autodetected from entity)",
"id": "Unique ID for this camera in this card", "id": "Unique ID for this camera in this card",
"image": { "image": {
"editor_label": "Image Options", "editor_label": "Image Options",
"refresh_seconds": "Number of seconds after which to refresh live image (0=never)", "refresh_seconds": "Seconds between live image refreshes (0=never)",
"url": "Image URL to use instead of camera entity snapshot" "url": "Image URL to use instead of camera entity snapshot"
}, },
"live_provider": "Live view provider for this camera", "live_provider": "Live view provider for this camera",
@@ -186,7 +186,7 @@
}, },
"url": "Reolink UI URL" "url": "Reolink UI URL"
}, },
"title": "Title for this camera (Autodetected from entity)", "title": "Title for this camera (autodetected from entity)",
"triggers": { "triggers": {
"editor_label": "Trigger options", "editor_label": "Trigger options",
"entities": "Trigger from other entities", "entities": "Trigger from other entities",
@@ -234,7 +234,7 @@
}, },
"thumbnails": { "thumbnails": {
"editor_label": "Thumbnails", "editor_label": "Thumbnails",
"events_media_type": "Whether to show event thumbnails of clips or snapshots", "events_media_type": "Events media type shown in thumbnails",
"media_type": "What to show thumbnails of", "media_type": "What to show thumbnails of",
"mode": "Thumbnails mode", "mode": "Thumbnails mode",
"modes": { "modes": {
@@ -306,7 +306,7 @@
"proxy": { "proxy": {
"editor_label": "Image proxying" "editor_label": "Image proxying"
}, },
"refresh_seconds": "Number of seconds after which to refresh (0=never)", "refresh_seconds": "Seconds between refreshes (0=never)",
"url": "Static image URL" "url": "Static image URL"
}, },
"media_action_conditions": { "media_action_conditions": {
@@ -349,15 +349,15 @@
} }
}, },
"timeline": { "timeline": {
"clustering_threshold": "The count of events at which they are clustered (0=no clustering)", "clustering_threshold": "Number of events before clustering (0=no clustering)",
"events_media_type": "The events media the timeline displays", "events_media_type": "Events media type shown on the timeline",
"show_recordings": "Show recordings", "show_recordings": "Show recordings",
"style": "Timeline style", "style": "Timeline style",
"styles": { "styles": {
"ribbon": "Events on a single ribbon", "ribbon": "Events on a single ribbon",
"stack": "Stacked & clustered events" "stack": "Stacked & clustered events"
}, },
"window_seconds": "The default length of the timeline view in seconds" "window_seconds": "Default timeline window length in seconds"
} }
}, },
"dimensions": { "dimensions": {
@@ -426,10 +426,10 @@
"lazy_unload": "Live cameras are lazily unloaded", "lazy_unload": "Live cameras are lazily unloaded",
"microphone": { "microphone": {
"always_connected": "Always keep the microphone connected", "always_connected": "Always keep the microphone connected",
"disconnect_seconds": "Seconds after which to disconnect microphone (0=never)", "disconnect_seconds": "Seconds before disconnecting microphone (0=never)",
"editor_label": "Microphone", "editor_label": "Microphone",
"enabled": "Microphone enabled", "enabled": "Microphone enabled",
"mute_after_microphone_mute_seconds": "Seconds after microphone mute to mute inbound audio" "mute_after_microphone_mute_seconds": "Seconds after microphone mute before muting inbound audio"
}, },
"preload": "Preload live view in the background", "preload": "Preload live view in the background",
"show_image_during_load": "Show still image while the live stream is loading", "show_image_during_load": "Show still image while the live stream is loading",
@@ -525,7 +525,7 @@
} }
}, },
"overrides": { "overrides": {
"info": "This card configuration has manually specified overrides configured which may override values shown in the visual editor, please consult the code editor to view/modify these overrides" "info": "This card has manually specified overrides that may override values shown in the visual editor. Consult the code editor to view or modify them"
}, },
"performance": { "performance": {
"features": { "features": {
@@ -541,7 +541,7 @@
"box_shadow": "Shadows", "box_shadow": "Shadows",
"editor_label": "Style Options" "editor_label": "Style Options"
}, },
"warning": "This card is in low profile mode so defaults have changed to optimize performance" "warning": "This card is in low profile mode, so defaults have changed to optimize performance"
}, },
"profiles": { "profiles": {
"casting": "Casting", "casting": "Casting",
@@ -600,7 +600,7 @@
} }
}, },
"dim": "Dim when no interaction", "dim": "Dim when no interaction",
"interaction_seconds": "Seconds after user action to remain interacted with (0=never)", "interaction_seconds": "Seconds of inactivity before interaction state ends (0=never)",
"keyboard_shortcuts": { "keyboard_shortcuts": {
"editor_label": "Keyboard shortcuts", "editor_label": "Keyboard shortcuts",
"enabled": "Keyboard shortcuts enabled", "enabled": "Keyboard shortcuts enabled",
@@ -751,7 +751,7 @@
"failed_retain": "Could not retain event", "failed_retain": "Could not retain event",
"failed_sign": "Could not sign Home Assistant URL", "failed_sign": "Could not sign Home Assistant URL",
"fetching_diagnostics": "Fetching diagnostics", "fetching_diagnostics": "Fetching diagnostics",
"image_load_error": "The image could not be loaded", "image_load_error": "Could not load image",
"invalid_configuration": "Invalid configuration", "invalid_configuration": "Invalid configuration",
"invalid_configuration_no_hint": "No location hint available (bad or missing type?)", "invalid_configuration_no_hint": "No location hint available (bad or missing type?)",
"invalid_configuration_override": "Invalid override configuration", "invalid_configuration_override": "Invalid override configuration",
@@ -853,7 +853,7 @@
"in_progress": "In Progress", "in_progress": "In Progress",
"info": "Info", "info": "Info",
"no_thumbnail": "No thumbnail available", "no_thumbnail": "No thumbnail available",
"retain_indefinitely": "Media will be indefinitely retained", "retain_indefinitely": "Retain media indefinitely",
"score": "Score", "score": "Score",
"seek": "Seek", "seek": "Seek",
"start": "Start", "start": "Start",
@@ -431,7 +431,7 @@ describe('MediaDetailsController', () => {
expect(cardAPI.getNotificationManager().setNotification).not.toHaveBeenCalled(); expect(cardAPI.getNotificationManager().setNotification).not.toHaveBeenCalled();
// 2. Favorite control // 2. Favorite control
expect(controls?.[1].tooltip).toBe('Media will be indefinitely retained'); expect(controls?.[1].tooltip).toBe('Retain media indefinitely');
expect(controls?.[1].dismiss).toBe(false); expect(controls?.[1].dismiss).toBe(false);
await executeControlAction(controls[1], cardAPI); await executeControlAction(controls[1], cardAPI);
expect(cardAPI.getNotificationManager().setNotification).toHaveBeenCalled(); expect(cardAPI.getNotificationManager().setNotification).toHaveBeenCalled();