Files
TREK/shared/src/i18n/en/places.ts
T
Maurice e12ae950df feat(places): send a search to Google, once or always
Since 4.3.0 the TREK index and OpenStreetMap answer every search first and
Google is only asked when they find nothing, so a list with the wrong place
on it never reached Google, whatever key the instance had, and the provider
choice only decided who fills the empty case.

Two ways to change that, both only where Google holds the key slot. Under a
result list that did not come from Google, one quiet line sends the same
query to Google Places alone (`provider: 'google'` on the search contract,
the MCP search tool takes it too). And beside the key, an admin switch
"Search with Google only" hands every search and every suggestion to Google
and asks nothing of the index or OpenStreetMap; off by default, read by the
search after the keyed provider so an install without a key, or one on Amap
or OpenStreetMap, is untouched. The panel says so beside the switch.

Both shells share the one rule for when the line is offered (placeSource),
and the wiki names both switches.
2026-09-21 22:14:44 +02:00

139 lines
6.9 KiB
TypeScript

import type { TranslationStrings } from '../types';
const places: TranslationStrings = {
'places.addPlace': 'Add Place/Activity',
'places.addToSelectedDay': 'Add to the open day',
'places.addPlaceShort': 'New place',
'places.addToDayShort': 'To day',
'places.importFile': 'Import file',
'places.trackIndicator': 'Track / route',
'places.sidebarDrop': 'Drop to import',
'places.importFileHint':
'Import .gpx, .kml or .kmz files from tools like Google My Maps, Google Earth, or a GPS tracker.',
'places.importFileDropHere': 'Click to select a file or drag and drop here',
'places.importFileDropActive': 'Drop file to select',
'places.importFileUnsupported': 'Unsupported file type. Use .gpx, .kml or .kmz.',
'places.importFileTooLarge': 'File is too large. Maximum upload size is {maxMb} MB.',
'places.importFileError': 'Import failed',
'places.importAllSkipped': 'All places were already in the trip.',
'places.gpxImported': '{count} places imported from GPX',
'places.gpxImportTypes': 'What do you want to import?',
'places.gpxImportWaypoints': 'Waypoints',
'places.gpxImportRoutes': 'Routes',
'places.gpxImportTracks': 'Tracks (with path geometry)',
'places.gpxImportNoneSelected': 'Select at least one type to import.',
'places.kmlImportTypes': 'What do you want to import?',
'places.kmlImportPoints': 'Points (Placemarks)',
'places.kmlImportPaths': 'Paths (LineStrings)',
'places.kmlImportNoneSelected': 'Select at least one type to import.',
'places.selectionCount': '{count} selected',
'places.deleteSelected': 'Delete selected',
'places.changeCategory': 'Change category',
'places.categoryChanged': '{count} places updated',
'places.kmlKmzImported': '{count} places imported from KMZ/KML',
'places.urlResolved': 'Place imported from URL',
'places.importList': 'List Import',
'places.kmlKmzSummaryValues': 'Placemarks: {total} • Imported: {created} • Skipped: {skipped}',
'places.importGoogleList': 'Google List',
'places.importNaverList': 'Naver List',
'places.googleListHint': 'Paste a shared Google Maps list link to import all places.',
'places.googleDirHint': 'A directions link works too: its stops become places, in driving order.',
'places.googleListImported': '{count} places imported from "{list}"',
'places.googleListError': 'Failed to import Google Maps list',
'places.naverListHint': 'Paste a shared Naver Maps list link to import all places.',
'places.naverListImported': '{count} places imported from "{list}"',
'places.naverListError': 'Failed to import Naver Maps list',
'places.viewDetails': 'View Details',
'places.assignToDay': 'Add to which day?',
'places.all': 'All',
'places.unplanned': 'Unplanned',
'places.planned': 'Planned',
/** Shown under the filter tabs while an open day narrows both the list and the map. */
'places.dayScoped': 'Showing the open day only',
'places.dayScopedClear': 'Show the whole trip',
'places.filterTracks': 'Tracks',
'places.filterByRating': 'Filter by rating',
'places.yourRating': 'Your rating',
'places.notRated': 'Not rated yet',
'places.search': 'Search places...',
'places.allCategories': 'All Categories',
'places.categoriesSelected': 'categories',
'places.clearFilter': 'Clear filter',
'places.count': '{count} places',
'places.countSingular': '1 place',
'places.allPlanned': 'All places are planned',
'places.noneFound': 'No places found',
'places.editPlace': 'Edit Place',
'places.formName': 'Name',
'places.formNamePlaceholder': 'e.g. Eiffel Tower',
'places.formDescription': 'Description',
'places.formDescriptionPlaceholder': 'Short description...',
'places.formAddress': 'Address',
'places.formAddressPlaceholder': 'Street, City, Country',
'places.formLat': 'Latitude (e.g. 48.8566)',
'places.formLng': 'Longitude (e.g. 2.3522)',
'places.formCategory': 'Category',
'places.noCategory': 'No Category',
'places.newCategory': 'New category',
'places.categoryNamePlaceholder': 'Category name',
'places.formTime': 'Time',
'places.startTime': 'Start',
'places.endTime': 'End',
'places.endTimeBeforeStart': 'End time is before start time',
'places.timeCollision': 'Time overlap with:',
'places.formWebsite': 'Website',
'places.formNotes': 'Notes',
'places.formNotesPlaceholder': 'Personal notes...',
'places.assignmentNotes': 'Notes for this day',
'places.assignmentNotesPlaceholder': 'Notes for this place on this day only...',
'places.formReservation': 'Reservation',
'places.reservationNotesPlaceholder': 'Reservation notes, confirmation number...',
'places.mapsSearchPlaceholder': 'Search places...',
'places.mapsSearchError': 'Place search failed.',
'places.searchGoogleInstead': 'Not the right place? Search Google instead',
'places.loadingDetails': 'Loading place details…',
'places.osmHint':
'Using OpenStreetMap search (no photos, opening hours, or ratings). Add a Google API key in settings for full details.',
'places.source.amap': 'Amap',
'places.details.title': 'Place details',
'places.details.empty': 'Pick a result to see more',
'places.details.loading': 'Loading details...',
'places.details.error': 'Details could not be loaded.',
'places.details.disabled': 'Enrichment is switched off by the administrator.',
'places.details.noPhotos': 'No pictures found for this place.',
'places.details.pickImage': 'Pick a picture',
'places.details.description': 'Description',
'places.details.adopt': 'Use this text',
'places.details.adoptBlocked': 'Clear the description field first',
'places.details.facts': 'Good to know',
'places.details.nothing': 'Nothing found for this place.',
'places.details.aboutBrand': 'About the chain',
'places.details.aboutBrandNote': 'This describes the chain, not this branch.',
'places.details.fact.rating': 'Rating',
'places.details.fact.cuisine': 'Cuisine',
'places.details.fact.openingHours': 'Opening hours',
'places.details.fact.menu': 'Menu',
'places.details.fact.outdoorSeating': 'Outdoor seating',
'places.details.fact.takeaway': 'Takeaway',
'places.details.fact.delivery': 'Delivery',
'places.details.fact.wheelchair': 'Step-free access',
'places.details.fact.vegetarian': 'Vegetarian',
'places.details.fact.vegan': 'Vegan',
'places.details.fact.internetAccess': 'Wi-Fi',
'places.categoryCreateError': 'Failed to create category',
'places.nameRequired': 'Please enter a name',
'places.saveError': 'Failed to save',
'places.createExpenseHint': 'Saves the place, then opens the Costs editor.',
'places.duplicateExists': "'{name}' is already in this trip.",
'places.addAnyway': 'Add anyway',
'places.enrichOnImport': 'Enrich places via Google',
'places.enrichOnImportHint':
'Look up each imported place to fill in photos, address and contact details. Uses your Google Maps key.',
'places.uploadImage': 'Upload image',
'places.changeImage': 'Change image',
'places.removeImage': 'Remove image',
'places.imageUploadError': 'Could not upload image',
'places.imageRemoveError': 'Could not remove image',
};
export default places;