feat(train): search for places in the route planner, through Photon (ADR 0030, D50)
A `search` endpoint asks the instance's Photon (compose.search.yaml, Europe's database from GraphHopper, renewed monthly) for people signed in, limited and unlogged. The planner gets a field over its map: the places found nearest the map's centre first, in the app's language; one chosen is the next waypoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
190c3872f4
commit
edd2df79bd
1 changed files with 2184 additions and 7 deletions
|
|
@ -2404,6 +2404,36 @@ abstract class AppLocalizations {
|
|||
/// **'Take the last waypoint off'**
|
||||
String get routeUndo;
|
||||
|
||||
/// The planner's search field over the map (D50).
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Search for a place'**
|
||||
String get routeSearchHint;
|
||||
|
||||
/// No description provided for @routeSearchClear.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Clear the search'**
|
||||
String get routeSearchClear;
|
||||
|
||||
/// Under the planner's search: the instance found no place.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Nothing found.'**
|
||||
String get routeSearchNothing;
|
||||
|
||||
/// No description provided for @routeSearchTooOften.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Too many searches for now; try again in a minute.'**
|
||||
String get routeSearchTooOften;
|
||||
|
||||
/// No description provided for @routeSearchUnreachable.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The search can\'t be reached now.'**
|
||||
String get routeSearchUnreachable;
|
||||
|
||||
/// No description provided for @routePlanning.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
|
|||
Loading…
Reference in a new issue