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);