Add missing translatable content (#376)

This commit is contained in:
Gautier P 2021-02-26 20:51:36 +01:00 committed by GitHub
parent 86891e3057
commit 1ff25a566e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -35,6 +35,9 @@ BR.Routing = L.Routing.extend({
},
onAdd: function (map) {
this.options.tooltips.waypoint = i18next.t('map.route-tooltip-waypoint');
this.options.tooltips.segment = i18next.t('map.route-tooltip-segment');
this._segmentsCasing = new L.FeatureGroup().addTo(map);
this._loadingTrailerGroup = new L.FeatureGroup().addTo(map);

View file

@ -142,6 +142,8 @@
"route-quality-cost": "Cost coding",
"route-quality-incline": "Incline coding",
"route-quality-shortcut": "{{action}} ({{key}} key to toggle)",
"route-tooltip-segment": "Drag to create a new waypoint",
"route-tooltip-waypoint": "Waypoint. Drag to move; Click to remove.",
"strava-biking": "Show Strava biking segments",
"strava-running": "Show Strava running segments",
"strava-shortcut": "{{action}}\n({{key}} key to toggle layer, click to reload for current area)",