Localize nutritional energy headings
This commit is contained in:
@ -108,7 +108,7 @@
|
||||
|
||||
<b-collapse id="id_nutrition_collapse" class="mt-2">
|
||||
<div class="card-body " v-if="recipe.nutrition">
|
||||
<label for="id_name"> {{ energy() }}</label>
|
||||
<label for="id_name"> {{ $t(energy()) }}</label>
|
||||
<input class="form-control" id="id_calories" v-model="recipe.nutrition.calories">
|
||||
|
||||
<label for="id_name"> {{ $t('Carbohydrates') }}</label>
|
||||
|
@ -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>
|
||||
|
@ -19,6 +19,7 @@
|
||||
"Fats": "Fette",
|
||||
"Carbohydrates": "Kohlenhydrate",
|
||||
"Calories": "Kalorien",
|
||||
"Energy": "",
|
||||
"Nutrition": "Nährwerte",
|
||||
"Keywords": "Stichwörter",
|
||||
"Books": "Bücher",
|
||||
|
@ -64,6 +64,7 @@
|
||||
"Fats": "Fats",
|
||||
"Carbohydrates": "Carbohydrates",
|
||||
"Calories": "Calories",
|
||||
"Energy": "Energy",
|
||||
"Nutrition": "Nutrition",
|
||||
"Date": "Date",
|
||||
"Share": "Share",
|
||||
|
@ -36,6 +36,7 @@
|
||||
"Fats": "Matières grasses",
|
||||
"Carbohydrates": "Glucides",
|
||||
"Calories": "Calories",
|
||||
"Energy": "",
|
||||
"Nutrition": "Informations nutritionnelles",
|
||||
"Date": "Date",
|
||||
"Share": "Partager",
|
||||
|
@ -34,6 +34,7 @@
|
||||
"Fats": "",
|
||||
"Carbohydrates": "",
|
||||
"Calories": "",
|
||||
"Energy": "",
|
||||
"Nutrition": "",
|
||||
"Date": "",
|
||||
"Share": "",
|
||||
|
@ -44,6 +44,7 @@
|
||||
"Fats": "Grassi",
|
||||
"Carbohydrates": "Carboidrati",
|
||||
"Calories": "Calorie",
|
||||
"Energy": "",
|
||||
"Nutrition": "Nutrienti",
|
||||
"Date": "Data",
|
||||
"Share": "Condividi",
|
||||
|
@ -17,6 +17,7 @@
|
||||
"Fats": "Vetten",
|
||||
"Carbohydrates": "Koolhydraten",
|
||||
"Calories": "Calorieën",
|
||||
"Energy": "",
|
||||
"Nutrition": "Voedingswaarde",
|
||||
"Date": "Datum",
|
||||
"Share": "Deel",
|
||||
|
@ -61,6 +61,7 @@
|
||||
"Fats": "Tłuszcze",
|
||||
"Carbohydrates": "Węglowodany",
|
||||
"Calories": "Kalorie",
|
||||
"Energy": "",
|
||||
"Nutrition": "Odżywianie",
|
||||
"Date": "Data",
|
||||
"Share": "Udostępnij",
|
||||
|
@ -64,6 +64,7 @@
|
||||
"Fats": "Жиры",
|
||||
"Carbohydrates": "Углеводы",
|
||||
"Calories": "Каллории",
|
||||
"Energy": "",
|
||||
"Nutrition": "Питательность",
|
||||
"Date": "Дата",
|
||||
"Share": "Поделиться",
|
||||
|
@ -17,6 +17,7 @@
|
||||
"Fats": "Fett",
|
||||
"Carbohydrates": "Kolhydrater",
|
||||
"Calories": "Kalorier",
|
||||
"Energy": "",
|
||||
"Nutrition": "Näringsinnehåll",
|
||||
"Date": "Datum",
|
||||
"Share": "Dela",
|
||||
|
@ -36,6 +36,7 @@
|
||||
"Fats": "脂肪",
|
||||
"Carbohydrates": "碳水化合物",
|
||||
"Calories": "卡路里",
|
||||
"Energy": "",
|
||||
"Nutrition": "营养",
|
||||
"Date": "日期",
|
||||
"Share": "分享",
|
||||
|
@ -36,6 +36,7 @@
|
||||
"Fats": "",
|
||||
"Carbohydrates": "",
|
||||
"Calories": "",
|
||||
"Energy": "",
|
||||
"Nutrition": "",
|
||||
"Date": "",
|
||||
"Share": "",
|
||||
|
Reference in New Issue
Block a user