Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/heal/german category translation #405

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
* @emits highlightPolylineSections (via EventBus)
*/
showAllSections (extraKey) {
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'
}
}
Loading