Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 7, 2024
1 parent b1ea32e commit 3d0dd29
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/dash_cast/services.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
load_url:
name: DashCast
description: Send websites to Chromecasts
fields:
entity_id:
required: true
Expand All @@ -9,13 +7,11 @@ load_url:
integration: cast
domain: media_player
url:
description: Webpage URL
example: https://www.home-assistant.io/
required: true
selector:
text:
force:
description: Use this option if iframe blocking is enabled on the site
default: false
selector:
boolean:
22 changes: 22 additions & 0 deletions custom_components/dash_cast/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"services": {
"load_url": {
"name": "DashCast",
"description": "Send websites to Chromecasts",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Media player from Google Cast integration"
},
"url": {
"name": "URL",
"description": "Webpage URL"
},
"force": {
"name": "Force",
"description": "Use this option if iframe blocking is enabled on the site"
}
}
}
}
}

0 comments on commit 3d0dd29

Please sign in to comment.