Localize nutritional energy headings

This commit is contained in:
xeals
2021-10-25 17:30:43 +11:00
parent 15eec9d373
commit 6dfd3ae1d7
13 changed files with 13 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<div class="row">
<div class="col-6">
<i class="fas fa-fire fa-fw text-primary"></i> {{ energy() }}
<i class="fas fa-fire fa-fw text-primary"></i> {{ $t(energy()) }}
</div>
<div class="col-6">
<span v-html="calculateEnergy(recipe.nutrition.calories)"></span>