mirror of
https://github.com/home-assistant/core.git
synced 2026-07-07 23:06:34 +01:00
dc1c52622e
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
206 lines
8.0 KiB
JSON
206 lines
8.0 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_location%]",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"permission_denied": "The Routes API is not enabled for this API key. Please see the setup instructions for detailed information.",
|
|
"timeout_connect": "[%key:common::config_flow::error::timeout_connect%]"
|
|
},
|
|
"step": {
|
|
"reconfigure": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]",
|
|
"destination": "[%key:component::google_travel_time::config::step::user::data::destination%]",
|
|
"origin": "[%key:component::google_travel_time::config::step::user::data::origin%]"
|
|
},
|
|
"description": "[%key:component::google_travel_time::config::step::user::description%]"
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]",
|
|
"destination": "Destination",
|
|
"name": "[%key:common::config_flow::data::name%]",
|
|
"origin": "Origin"
|
|
},
|
|
"description": "You can specify the origin and destination in the form of an address, latitude/longitude coordinates or an entity ID that provides this information in its state, an entity ID with latitude and longitude attributes, or a zone's friendly name (case-sensitive)"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"api_error": {
|
|
"message": "Google API error: {error}"
|
|
},
|
|
"permission_denied": {
|
|
"message": "[%key:component::google_travel_time::config::error::permission_denied%]"
|
|
}
|
|
},
|
|
"issues": {
|
|
"routes_api_disabled": {
|
|
"description": "Your Google Travel Time integration `{entry_title}` uses an API key which does not have the Routes API enabled.\n\n Please follow the instructions to [enable the API for your project]({enable_api_url}) and make sure your [API key restrictions]({api_key_restrictions_url}) allow access to the Routes API.\n\n After enabling the API this issue will be resolved automatically.",
|
|
"title": "The Routes API must be enabled"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"avoid": "Avoid",
|
|
"language": "[%key:common::config_flow::data::language%]",
|
|
"mode": "Travel mode",
|
|
"time": "Time",
|
|
"time_type": "Time type",
|
|
"traffic_model": "Traffic model",
|
|
"transit_mode": "Transit mode",
|
|
"transit_routing_preference": "Transit routing preference",
|
|
"units": "Units"
|
|
},
|
|
"description": "You can optionally specify either a departure time or arrival time in the form of a 24 hour time string like `08:00:00`"
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"avoid": {
|
|
"options": {
|
|
"ferries": "Ferries",
|
|
"highways": "Highways",
|
|
"indoor": "Indoor",
|
|
"none": "Avoid nothing",
|
|
"tolls": "Tolls"
|
|
}
|
|
},
|
|
"mode": {
|
|
"options": {
|
|
"bicycling": "Bicycling",
|
|
"driving": "Driving",
|
|
"transit": "Transit",
|
|
"walking": "Walking"
|
|
}
|
|
},
|
|
"time_type": {
|
|
"options": {
|
|
"arrival_time": "Arrival time",
|
|
"departure_time": "Departure time"
|
|
}
|
|
},
|
|
"traffic_model": {
|
|
"options": {
|
|
"best_guess": "Best guess",
|
|
"optimistic": "Optimistic",
|
|
"pessimistic": "Pessimistic"
|
|
}
|
|
},
|
|
"transit_mode": {
|
|
"options": {
|
|
"bus": "Bus",
|
|
"rail": "Rail",
|
|
"subway": "Subway",
|
|
"train": "Train",
|
|
"tram": "Tram"
|
|
}
|
|
},
|
|
"transit_routing_preference": {
|
|
"options": {
|
|
"fewer_transfers": "Fewer transfers",
|
|
"less_walking": "Less walking"
|
|
}
|
|
},
|
|
"units": {
|
|
"options": {
|
|
"imperial": "Imperial system",
|
|
"metric": "Metric system"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"get_transit_times": {
|
|
"description": "Retrieves route alternatives and travel times between two locations using public transit.",
|
|
"fields": {
|
|
"arrival_time": {
|
|
"description": "The desired arrival time.",
|
|
"name": "Arrival time"
|
|
},
|
|
"config_entry_id": {
|
|
"description": "[%key:component::google_travel_time::services::get_travel_times::fields::config_entry_id::description%]",
|
|
"name": "[%key:component::google_travel_time::services::get_travel_times::fields::config_entry_id::name%]"
|
|
},
|
|
"departure_time": {
|
|
"description": "[%key:component::google_travel_time::services::get_travel_times::fields::departure_time::description%]",
|
|
"name": "[%key:component::google_travel_time::services::get_travel_times::fields::departure_time::name%]"
|
|
},
|
|
"destination": {
|
|
"description": "[%key:component::google_travel_time::services::get_travel_times::fields::destination::description%]",
|
|
"name": "[%key:component::google_travel_time::config::step::user::data::destination%]"
|
|
},
|
|
"language": {
|
|
"description": "[%key:component::google_travel_time::services::get_travel_times::fields::language::description%]",
|
|
"name": "[%key:common::config_flow::data::language%]"
|
|
},
|
|
"origin": {
|
|
"description": "[%key:component::google_travel_time::services::get_travel_times::fields::origin::description%]",
|
|
"name": "[%key:component::google_travel_time::config::step::user::data::origin%]"
|
|
},
|
|
"transit_mode": {
|
|
"description": "The preferred transit mode.",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::transit_mode%]"
|
|
},
|
|
"transit_routing_preference": {
|
|
"description": "The transit routing preference.",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::transit_routing_preference%]"
|
|
},
|
|
"units": {
|
|
"description": "[%key:component::google_travel_time::services::get_travel_times::fields::units::description%]",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::units%]"
|
|
}
|
|
},
|
|
"name": "Get transit times"
|
|
},
|
|
"get_travel_times": {
|
|
"description": "Retrieves route alternatives and travel times between two locations.",
|
|
"fields": {
|
|
"avoid": {
|
|
"description": "Features to avoid when calculating the route.",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::avoid%]"
|
|
},
|
|
"config_entry_id": {
|
|
"description": "The config entry to use for this action.",
|
|
"name": "Config entry"
|
|
},
|
|
"departure_time": {
|
|
"description": "The desired departure time.",
|
|
"name": "Departure time"
|
|
},
|
|
"destination": {
|
|
"description": "The destination of the route.",
|
|
"name": "[%key:component::google_travel_time::config::step::user::data::destination%]"
|
|
},
|
|
"language": {
|
|
"description": "The language to use for the response.",
|
|
"name": "[%key:common::config_flow::data::language%]"
|
|
},
|
|
"mode": {
|
|
"description": "The mode of transportation.",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::mode%]"
|
|
},
|
|
"origin": {
|
|
"description": "The origin of the route.",
|
|
"name": "[%key:component::google_travel_time::config::step::user::data::origin%]"
|
|
},
|
|
"traffic_model": {
|
|
"description": "The traffic model to use when calculating driving routes.",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::traffic_model%]"
|
|
},
|
|
"units": {
|
|
"description": "Which unit system to use.",
|
|
"name": "[%key:component::google_travel_time::options::step::init::data::units%]"
|
|
}
|
|
},
|
|
"name": "Get travel times"
|
|
}
|
|
},
|
|
"title": "Google Maps Travel Time"
|
|
}
|