Make Sonos action descriptions more UI- and translation-friendly (#137356)

This commit is contained in:
Norbert Rittel 2025-02-04 20:26:32 +01:00 committed by GitHub
parent 79a9f3f2c6
commit 94f6daa09c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@
"services": {
"snapshot": {
"name": "Snapshot",
"description": "Takes a snapshot of the media player.",
"description": "Takes a snapshot of a media player.",
"fields": {
"entity_id": {
"name": "Entity",
@ -95,13 +95,13 @@
},
"with_group": {
"name": "With group",
"description": "True or False. Also snapshot the group layout."
"description": "Whether the snapshot should include the group layout and the state of other speakers in the group."
}
}
},
"restore": {
"name": "Restore",
"description": "Restores a snapshot of the media player.",
"description": "Restores a snapshot of a media player.",
"fields": {
"entity_id": {
"name": "Entity",
@ -109,7 +109,7 @@
},
"with_group": {
"name": "[%key:component::sonos::services::snapshot::fields::with_group::name%]",
"description": "True or False. Also restore the group layout."
"description": "Whether the group layout and the state of other speakers in the group should also be restored."
}
}
},
@ -129,7 +129,7 @@
},
"play_queue": {
"name": "Play queue",
"description": "Start playing the queue from the first item.",
"description": "Starts playing the queue from the first item.",
"fields": {
"queue_position": {
"name": "Queue position",
@ -153,23 +153,23 @@
"fields": {
"alarm_id": {
"name": "Alarm ID",
"description": "ID for the alarm to be updated."
"description": "The ID of the alarm to be updated."
},
"time": {
"name": "Time",
"description": "Set time for the alarm."
"description": "The time for the alarm."
},
"volume": {
"name": "Volume",
"description": "Set alarm volume level."
"description": "The alarm volume level."
},
"enabled": {
"name": "Alarm enabled",
"description": "Enable or disable the alarm."
"description": "Whether or not to enable the alarm."
},
"include_linked_zones": {
"name": "Include linked zones",
"description": "Enable or disable including grouped rooms."
"description": "Whether the alarm also plays on grouped players."
}
}
},