mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Rename Services to Actions in plugins (#33843)
This commit is contained in:
parent
2602651bdc
commit
369670927d
@ -53,8 +53,8 @@ module Jekyll
|
|||||||
# Custom title
|
# Custom title
|
||||||
title = options[:title]
|
title = options[:title]
|
||||||
elsif @redirect == "developer_call_service"
|
elsif @redirect == "developer_call_service"
|
||||||
# Developer service call
|
# Developer actions
|
||||||
title = "Call Service"
|
title = "Perform action"
|
||||||
title = "`#{options[:service]}`" if options.include? :service
|
title = "`#{options[:service]}`" if options.include? :service
|
||||||
elsif DEFAULT_TITLES.include?(@redirect)
|
elsif DEFAULT_TITLES.include?(@redirect)
|
||||||
# Lookup defaults
|
# Lookup defaults
|
||||||
@ -96,7 +96,7 @@ module Jekyll
|
|||||||
"config_zwave_js" => "Z-Wave JS Configuration",
|
"config_zwave_js" => "Z-Wave JS Configuration",
|
||||||
"config" => "Settings",
|
"config" => "Settings",
|
||||||
"developer_events" => "Events",
|
"developer_events" => "Events",
|
||||||
"developer_services" => "Services",
|
"developer_services" => "Actions",
|
||||||
"developer_states" => "States",
|
"developer_states" => "States",
|
||||||
"developer_template" => "Templates",
|
"developer_template" => "Templates",
|
||||||
"energy" => "Energy",
|
"energy" => "Energy",
|
||||||
@ -104,7 +104,7 @@ module Jekyll
|
|||||||
"info" => "Information",
|
"info" => "Information",
|
||||||
"supervisor_info" => "Supervisor Information",
|
"supervisor_info" => "Supervisor Information",
|
||||||
"supervisor_backups" => "Backups",
|
"supervisor_backups" => "Backups",
|
||||||
"integrations" => "Devices & Services",
|
"integrations" => "Devices & services",
|
||||||
}
|
}
|
||||||
|
|
||||||
def parse_options(input, context)
|
def parse_options(input, context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user