File tree Expand file tree Collapse file tree
plugins/Routing/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,8 +281,6 @@ export const mapConfiguration = {
281281 } ,
282282 } ,
283283 addressSearch : {
284- addLoading : 'plugin/loadingIndicator/addLoadingKey' ,
285- removeLoading : 'plugin/loadingIndicator/removeLoadingKey' ,
286284 searchMethods : [
287285 {
288286 queryParameters : {
Original file line number Diff line number Diff line change 132132 v-if =" showSteps && Object.keys(searchResponseData).length !== 0"
133133 class =" details-container"
134134 >
135- Duration:
135+ {{ $t('common:plugins.routing.duration') }}
136136 {{ formatDuration(searchResponseTotalValues[0].duration) }}   ;
137- Distance: {{ formatDistance(searchResponseTotalValues[0].distance) }}
137+ {{ $t('common:plugins.routing.distance') }}
138+ {{ formatDistance(searchResponseTotalValues[0].distance) }}
138139 <v-list
139140 v-for =" (step, i) in searchResponseSegments"
140141 :key =" i"
146147 {{ step['instruction'] }}
147148 </v-list-item-title >
148149 <v-list-item-subtitle >
149- Distance: {{ formatDistance(step['distance']) }}, Duration:
150+ {{ $t('common:plugins.routing.distance') }}
151+ {{ formatDistance(step['distance']) }},
152+ {{ $t('common:plugins.routing.duration') }}
150153 {{ formatDuration(step['duration']) }}
151154 </v-list-item-subtitle >
152155 </v-list-item-content >
@@ -396,7 +399,7 @@ export default Vue.extend({
396399 },
397400 formatDistance(distance ) {
398401 if (distance >= 1000 ) {
399- return ` ${(distance / 1000 ).toFixed (1 )}km `
402+ return ` ${(distance / 1000 ).toFixed (1 )} km `
400403 }
401404 return ` ${distance } m `
402405 },
You can’t perform that action at this time.
0 commit comments