mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
fix(places): say where a result came from, and stop asking questions in the form
Six changes to the place picker and the card behind it, all of them about a panel saying less and meaning more. The TREK place index has no switch in the admin panel any more. It decides whether a search leaves the instance at all, which is a property of the deployment rather than a taste: an operator pins TREK_PLACES_ENABLED=false in their compose file, and it cannot be turned off from a browser by whoever holds an admin account that day. The switch never shipped, so nothing to migrate. The standing "Using OpenStreetMap" notice above the search box is gone. It was a sentence about configuration in the middle of a form about a place, and it answered a question nobody asked while leaving the real one open. Each result now carries a small mark instead: TREK, OpenStreetMap or Google. It sits on the row rather than above the list, because a list can be two indexes interleaved and a heading could only name one of them. The saved-places filters open across the full width of the row. Two of them sit side by side, only one can be open at a time, and list names were being cut at about ten characters for no reason. Three empty states use the mascot the rest of TREK uses. The place details panel no longer tells the reader to go and ask an administrator for a Google key, the saved-places list and the road trip rail no longer explain themselves in two lines of grey text. That needed one new mood, `sad`: `sleepy` reads as falling asleep, which is a different thing from finding nothing. The Kind of stop field is out of the place form. It is a road trip concept, and the road trip view already sets it from the stop's own number, where the choice is next to what it changes.
This commit is contained in:
@@ -93,10 +93,6 @@ const admin: TranslationStrings = {
|
||||
'admin.googleCaveat.badge': 'Nicht empfohlen',
|
||||
'admin.googleCaveat.body':
|
||||
'TREK ist quelloffen und wir sind hier nicht neutral. Bewertungen und Fotos gewöhnlicher Läden gibt es in dieser Größenordnung nur bei Google, und genau das ist ein Monopol. Das Feld steht hier, weil es keine Alternative gibt, nicht weil wir es empfehlen. Jede Abfrage geht dann an Google.',
|
||||
'admin.trekApi.toggleLabel':
|
||||
'TREK-Ortsindex',
|
||||
'admin.trekApi.offNote':
|
||||
'Ausgeschaltet. Die Ortssuche nutzt OpenStreetMap und, sofern ein Schlüssel hinterlegt ist, Google.',
|
||||
'admin.trekApi.tagline':
|
||||
'TREKs eigener Ortsindex. Suchen ohne Google-Schlüssel, ohne Kontingent und ohne dass jemand mitzählt.',
|
||||
'admin.trekApi.factPlaces':
|
||||
|
||||
@@ -87,7 +87,6 @@ const places: TranslationStrings = {
|
||||
'places.loadingDetails': 'Ortsdetails werden geladen…',
|
||||
'places.osmHint':
|
||||
'OpenStreetMap-Suche aktiv (ohne Bilder, Öffnungszeiten, Bewertungen). Für erweiterte Daten Google API Key in den Einstellungen hinterlegen.',
|
||||
'places.osmActive': 'OpenStreetMap wird genutzt. Ein Google-API-Key ergänzt Bewertungen und Öffnungszeiten.',
|
||||
'places.details.title': 'Ortsdetails',
|
||||
'places.details.empty': 'Wähle ein Suchergebnis, um Bilder und eine Beschreibung zu sehen.',
|
||||
'places.details.loading': 'Details werden geladen...',
|
||||
@@ -100,8 +99,6 @@ const places: TranslationStrings = {
|
||||
'places.details.adoptBlocked': 'Erst das Beschreibungsfeld leeren',
|
||||
'places.details.facts': 'Gut zu wissen',
|
||||
'places.details.nothing': 'Zu diesem Ort wurde nichts gefunden.',
|
||||
'places.details.noKeyTitle': 'Mehr Details möglich',
|
||||
'places.details.noKeyHint': 'Ohne Google-API-Key nutzt diese Instanz nur freie Quellen. Wende dich an deine TREK-Administration, um Bewertungen, Öffnungszeiten und Fotos freizuschalten.',
|
||||
'places.details.aboutBrand': 'Über die Kette',
|
||||
'places.details.aboutBrandNote': 'Beschreibt die Kette, nicht diese Filiale.',
|
||||
'places.details.fact.rating': 'Bewertung',
|
||||
|
||||
@@ -7,7 +7,6 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.title': 'Roadtrip',
|
||||
'roadtrip.subtitle': 'Stopps, Fahrzeiten und Ankunftszeiten dieser Reise',
|
||||
'roadtrip.empty.title': 'Noch keine Route',
|
||||
'roadtrip.empty.body': 'Ordne einem Tag Orte zu oder lege eine Autofahrt mit Stopps an — die Route erscheint dann hier.',
|
||||
'roadtrip.stops.label': 'Stopps unterwegs',
|
||||
'roadtrip.stops.remove': 'Stopp entfernen',
|
||||
'roadtrip.poi.title': 'Entlang der Route',
|
||||
@@ -31,7 +30,6 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.limit.range': '{distance} seit dem letzten Tanken',
|
||||
'roadtrip.limit.none': 'Keine gesetzt',
|
||||
'roadtrip.stop.none': 'Ein Ziel',
|
||||
'roadtrip.stop.kindHelp': 'Ein Halt unterwegs wird auf der Fahrt gezeichnet und nicht mitgezählt.',
|
||||
'roadtrip.stay.mode.pause': 'Pause',
|
||||
'roadtrip.stay.mode.night': 'Übernachten',
|
||||
'roadtrip.stay.checkOutDay': 'Abreise am',
|
||||
|
||||
Reference in New Issue
Block a user