Rename Services to Actions in plugins (#33843)

This commit is contained in:
Franck Nijhof 2024-07-17 10:29:52 +02:00 committed by GitHub
parent 2602651bdc
commit 369670927d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,8 +53,8 @@ module Jekyll
# Custom title
title = options[:title]
elsif @redirect == "developer_call_service"
# Developer service call
title = "Call Service"
# Developer actions
title = "Perform action"
title = "`#{options[:service]}`" if options.include? :service
elsif DEFAULT_TITLES.include?(@redirect)
# Lookup defaults
@ -96,7 +96,7 @@ module Jekyll
"config_zwave_js" => "Z-Wave JS Configuration",
"config" => "Settings",
"developer_events" => "Events",
"developer_services" => "Services",
"developer_services" => "Actions",
"developer_states" => "States",
"developer_template" => "Templates",
"energy" => "Energy",
@ -104,7 +104,7 @@ module Jekyll
"info" => "Information",
"supervisor_info" => "Supervisor Information",
"supervisor_backups" => "Backups",
"integrations" => "Devices & Services",
"integrations" => "Devices & services",
}
def parse_options(input, context)