UNPKG

@polar/plugin-routing

Version:

Routing plugin for POLAR that adds routing UI for routing services to the client.

108 lines (103 loc) 2.74 kB
import { Locale } from '@polar/lib-custom-types' export const resourcesDe = { plugins: { routing: { title: 'Routenplaner', button: { closeTitle: 'Routenplanung schließen', openTitle: 'Routenplanung öffnen', }, label: { aria: 'Durch Klicken in die Karte eine Koordinate als {{position}} auswählen.', add: 'Wegpunkt hinzufügen', remove: 'Wegpunkt entfernen', start: 'Startadresse', middle: 'Wegpunkt', end: 'Zieladresse', mode: 'Fortbewegungsart', preference: 'Bevorzugte Route', }, inputHint: 'Wählen Sie durch Klicken einen Punkt auf der Karte aus oder geben Sie eine Adresse ein.', resetButton: 'Zurücksetzen', travelMode: { car: 'Auto', hgv: 'LKW', bike: 'Fahrrad', walking: 'Zu Fuß', wheelchair: 'Rollstuhl', }, preference: { recommended: 'Empfohlen', fastest: 'Schnellste', shortest: 'Kürzeste', }, avoidRoutesTitle: 'Verkehrswege meiden', avoidRoutes: { highways: 'Autobahnen', tollways: 'Mautstraßen', ferries: 'Fähren', }, sendRequestButton: 'Absenden', routeDetails: 'Details zur Route', distance: 'Entfernung:', duration: 'Dauer:', }, }, } export const resourcesEn = { plugins: { routing: { title: 'Route Planner', button: { closeTitle: 'Hide routing tool', openTitle: 'Show rooting tool', }, label: { aria: 'Add a coordinate as {{position}} by clicking in the map.', add: 'Add waypoint', remove: 'Remove waypoint', start: 'Start Address', middle: 'Waypoint', end: 'Destination Address', mode: 'Travel Mode', preference: 'Preferred Route', }, inputHint: 'Click the map to choose a point or enter an Ad', resetButton: 'Reset', travelMode: { car: 'Car', hgv: 'Heavy Goods Vehicle', bike: 'Bike', walking: 'Walking', wheelchair: 'Wheelchair', }, preference: { recommended: 'Recommended', fastest: 'Fastest', shortest: 'Shortest', }, avoidRoutesTitle: 'Types of routes to avoid', avoidRoutes: { highways: 'Highways', tollways: 'Tollways', ferries: 'Ferries', }, sendRequestButton: 'Send', routeDetails: 'Route Details', distance: 'Distance:', duration: 'Duration:', }, }, } const locales: Locale[] = [ { type: 'de', resources: resourcesDe, }, { type: 'en', resources: resourcesEn, }, ] export default locales