Skip to content

Commit

Permalink
fix(heal): add german translations for heal categories
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRefrigerator committed Jul 12, 2024
1 parent f06877a commit eea5826
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
*/
showAllSections (extraKey) {
this.$store.commit('extraHighlight', {key: extraKey, value: 'all', index: 0})
const sectionTitle = this.$t('global.' + extraKey).toLowerCase()
const sectionTitle = this.$t('global.' + extraKey)
const highlightData = { extraKey: extraKey, sectionTitle, sections: [] }

let index = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="snack-highlighted-content">
<v-btn class="snack-highlighted-close" right flat @click.stop="removeHighlightedSegments()"> <v-icon large :title="$t('global.close')" color="black" >close</v-icon> </v-btn>
<span class="highlight-intro">
{{$t('mapView.highlighting')}} {{ extraInfo.sectionTitle }}:
{{ extraInfo.sectionTitle }}:
</span>
<span class="section-highlighted" :style="highlightedSectionStyle(polyline.color)" :key="sectionKey" v-for="(polyline, sectionKey) in highlightedPolylines">{{polyline.label}}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/translations/en-us/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ export default {
traildifficulty: 'Trail difficulty',
osmid: 'OSM ID',
countryinfo: 'Country info',
csv: 'Heat Stress' // HEAL api
csv: 'Heat stress' // HEAL api
}
}
5 changes: 4 additions & 1 deletion src/resources/i18n/ors-dictionary.i18n.de-de.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export default {
tunnel: 'Tunnel',
paved_road: 'Befestigte Straße',
ford: 'Furt',
no_data: 'Keine Daten'
no_data: 'Keine Daten',
low: 'Niedrig',
moderate: 'Mittel',
high: 'Hoch'
}
}
5 changes: 4 additions & 1 deletion src/resources/i18n/ors-dictionary.i18n.en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export default {
tunnel: 'Tunnel',
paved_road: 'Paved road',
ford: 'Ford',
no_data: 'No data'
no_data: 'No data',
low: 'Low',
moderate: 'Moderate',
high: 'High'
}
}

0 comments on commit eea5826

Please sign in to comment.