Skip to content

Commit

Permalink
Add translations for YETI legend from API
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvdo committed Mar 16, 2021
1 parent 21ff8b0 commit 2edf904
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/yeti/YetiMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@
<ul>
<li v-for="(item, i) of mapLegend.items" :key="i">
<span class="legend-color" :style="'background:' + item.color" />
<span>{{ item.text['fr'] }}</span>
<!-- $gettext('Risky slopes') -->
<!-- $gettext('Risky slopes, increased risk due to orientation') -->
<!-- $gettext('Residual risk >1') -->
<!-- $gettext('Residual risk >1.3') -->
<!-- $gettext('Residual risk >1.5') -->
<span>{{ $gettext(item.text['en']) }}</span>
</li>
</ul>
<p class="is-size-6 is-italic">{{ mapLegend.comment['fr'] }}</p>
<!-- $gettext('From danger 3, consider the slopes which dominate the route') -->
<p class="is-size-6 is-italic">{{ $gettext(mapLegend.comment['en']) }}</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 2edf904

Please sign in to comment.