mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 10:44:23 +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:
@@ -138,10 +138,6 @@ const admin: TranslationStrings = {
|
||||
'admin.googleCaveat.badge': 'Δεν συνιστάται',
|
||||
'admin.googleCaveat.body':
|
||||
'Το TREK είναι ανοιχτού κώδικα και εδώ δεν είμαστε ουδέτεροι. Σε αυτή την κλίμακα, βαθμολογίες και φωτογραφίες συνηθισμένων καταστημάτων υπάρχουν μόνο στη Google, και αυτό είναι μονοπώλιο. Το πεδίο υπάρχει ελλείψει εναλλακτικής, όχι επειδή το συνιστούμε. Τότε κάθε αναζήτηση πηγαίνει στη Google.',
|
||||
'admin.trekApi.toggleLabel':
|
||||
'Ευρετήριο τοποθεσιών TREK',
|
||||
'admin.trekApi.offNote':
|
||||
'Απενεργοποιημένο. Η αναζήτηση τοποθεσιών χρησιμοποιεί το OpenStreetMap και το Google όπου έχει οριστεί κλειδί.',
|
||||
'admin.trekApi.tagline':
|
||||
'Το δικό του ευρετήριο τόπων του TREK. Αναζήτηση χωρίς κλειδί Google, χωρίς όριο και χωρίς να μετράει κανείς τις αναζητήσεις σας.',
|
||||
'admin.trekApi.factPlaces':
|
||||
|
||||
@@ -87,7 +87,6 @@ const places: TranslationStrings = {
|
||||
'places.loadingDetails': 'Φόρτωση λεπτομερειών μέρους…',
|
||||
'places.osmHint':
|
||||
'Χρήση αναζήτησης OpenStreetMap (χωρίς φωτογραφίες, ώρες λειτουργίας ή αξιολογήσεις). Προσθέστε ένα κλειδί Google API στις ρυθμίσεις για πλήρεις λεπτομέρειες.',
|
||||
'places.osmActive': 'Χρησιμοποιείται το OpenStreetMap. Ένα κλειδί Google API προσθέτει αξιολογήσεις και ωράρια.',
|
||||
'places.details.title': 'Λεπτομέρειες τοποθεσίας',
|
||||
'places.details.empty': 'Διάλεξε ένα αποτέλεσμα για να δεις εικόνες και περιγραφή.',
|
||||
'places.details.loading': 'Φόρτωση λεπτομερειών...',
|
||||
@@ -100,8 +99,6 @@ const places: TranslationStrings = {
|
||||
'places.details.adoptBlocked': 'Άδειασε πρώτα το πεδίο περιγραφής',
|
||||
'places.details.facts': 'Καλό να ξέρεις',
|
||||
'places.details.nothing': 'Δεν βρέθηκε τίποτα για αυτήν την τοποθεσία.',
|
||||
'places.details.noKeyTitle': 'Διατίθενται περισσότερες λεπτομέρειες',
|
||||
'places.details.noKeyHint': 'Χωρίς κλειδί Google API, αυτή η εγκατάσταση χρησιμοποιεί μόνο ελεύθερες πηγές. Ζητήστε από τον διαχειριστή TREK να προσθέσει ένα για βαθμολογίες, ώρες λειτουργίας και φωτογραφίες.',
|
||||
'places.details.aboutBrand': 'Σχετικά με την αλυσίδα',
|
||||
'places.details.aboutBrandNote': 'Περιγράφει την αλυσίδα, όχι αυτό το κατάστημα.',
|
||||
'places.details.fact.rating': 'Βαθμολογία',
|
||||
|
||||
@@ -7,7 +7,6 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.title': 'Οδικό ταξίδι',
|
||||
'roadtrip.subtitle': 'Στάσεις, χρόνοι οδήγησης και ώρες άφιξης αυτού του ταξιδιού',
|
||||
'roadtrip.empty.title': 'Δεν υπάρχει διαδρομή ακόμη',
|
||||
'roadtrip.empty.body': 'Προσθέστε τοποθεσίες σε μια ημέρα ή μια κράτηση αυτοκινήτου με στάσεις και η διαδρομή θα εμφανιστεί εδώ.',
|
||||
'roadtrip.stops.label': 'Στάσεις στη διαδρομή',
|
||||
'roadtrip.stops.remove': 'Αφαίρεση στάσης',
|
||||
'roadtrip.poi.title': 'Κατά μήκος της διαδρομής',
|
||||
@@ -31,7 +30,6 @@ const roadtrip: TranslationStrings = {
|
||||
'roadtrip.limit.range': '{distance} από τον τελευταίο ανεφοδιασμό',
|
||||
'roadtrip.limit.none': 'Δεν έχουν οριστεί',
|
||||
'roadtrip.stop.none': 'Προορισμός',
|
||||
'roadtrip.stop.kindHelp': 'Μια στάση στον δρόμο σχεδιάζεται πάνω στη διαδρομή και δεν προσμετράται.',
|
||||
'roadtrip.stay.mode.pause': 'Στάση',
|
||||
'roadtrip.stay.mode.night': 'Διανυκτέρευση',
|
||||
'roadtrip.stay.checkOutDay': 'Αναχώρηση',
|
||||
|
||||
Reference in New Issue
Block a user