mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +00:00
feat(map): amap as map api provider and display template
This commit is contained in:
@@ -174,6 +174,18 @@ const admin: TranslationStrings = {
|
||||
'admin.weatherKeyHint': 'For weather data. Free at openweathermap.org',
|
||||
'admin.unsplashKey': 'Unsplash API Key',
|
||||
'admin.unsplashKeyHint': 'For image search. Free at unsplash.com/developers',
|
||||
'admin.amapKey': 'Amap (高德地图) API Key',
|
||||
'admin.amapKeyHint':
|
||||
'For place search inside mainland China, where Google is unreachable and OpenStreetMap coverage is thin. Needs a "Web 服务" (web service) key, not a JS API key. Get one at console.amap.com.',
|
||||
'admin.placesProvider.title': 'Place search provider',
|
||||
'admin.placesProvider.subtitle':
|
||||
'Which service answers place search, autocomplete and details. Automatic uses Google when a Google key is configured, then Amap, then OpenStreetMap.',
|
||||
'admin.placesProvider.auto': 'Automatic',
|
||||
'admin.placesProvider.google': 'Google Places',
|
||||
'admin.placesProvider.amap': 'Amap (高德地图)',
|
||||
'admin.placesProvider.openstreetmap': 'OpenStreetMap',
|
||||
'admin.placesProvider.missingKey': 'The selected provider has no API key configured, so place search falls back to OpenStreetMap.',
|
||||
'admin.placesProvider.saved': 'Place search provider saved',
|
||||
'admin.validateKey': 'Test',
|
||||
'admin.keyValid': 'Connected',
|
||||
'admin.keyInvalid': 'Invalid',
|
||||
|
||||
@@ -93,6 +93,9 @@ const places: TranslationStrings = {
|
||||
'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.osmActive': 'Using OpenStreetMap. A Google API key adds ratings and opening hours.',
|
||||
'places.osmActiveAmap': 'Using OpenStreetMap. An Amap (高德地图) API key adds ratings and opening hours.',
|
||||
'places.osmActiveAny': 'Using OpenStreetMap. A Google or Amap (高德地图) API key adds ratings and opening hours.',
|
||||
'places.details.title': 'Place details',
|
||||
'places.details.empty': 'Pick a result to see more',
|
||||
'places.details.loading': 'Loading details...',
|
||||
@@ -105,6 +108,10 @@ const places: TranslationStrings = {
|
||||
'places.details.adoptBlocked': 'Clear the description field first',
|
||||
'places.details.facts': 'Good to know',
|
||||
'places.details.nothing': 'Nothing found for this place.',
|
||||
'places.details.noKeyTitle': 'More detail is available',
|
||||
'places.details.noKeyHint': 'Without a Google API key this instance can only use free sources. Ask your TREK administrator to add one for ratings, opening hours and photos.',
|
||||
'places.details.noKeyHintAmap': 'Without an Amap (高德地图) API key this instance can only use free sources. Ask your TREK administrator to add one for ratings and opening hours.',
|
||||
'places.details.noKeyHintAny': 'Without a Google or Amap (高德地图) API key this instance can only use free sources. Ask your TREK administrator to add one for ratings and opening hours.',
|
||||
'places.details.aboutBrand': 'About the chain',
|
||||
'places.details.aboutBrandNote': 'This describes the chain, not this branch.',
|
||||
'places.details.fact.rating': 'Rating',
|
||||
|
||||
Reference in New Issue
Block a user