Fix missing string literals for translations.

This commit is contained in:
Sebastian Markgraf
2020-11-06 17:24:20 +01:00
parent a754002f4e
commit 2f038edf8c

View File

@@ -217,7 +217,7 @@
<table class="table table-sm">
<tr>
<td style="padding-top: 8px!important; ">
<b>{% trans Calories %}</b>
<b>{% trans 'Calories' %}</b>
</td>
<td style="text-align: right">{{ recipe.nutrition.calories|floatformat:2 }}</td>
<td>kcal</td>
@@ -225,7 +225,7 @@
<tr>
<tr>
<td style="padding-top: 8px!important; ">
<b>{% trans Carbohydrates %}</b>
<b>{% trans 'Carbohydrates' %}</b>
</td>
<td style="text-align: right">{{ recipe.nutrition.carbohydrates|floatformat:2 }}</td>
<td>g</td>
@@ -233,7 +233,7 @@
<tr>
<tr>
<td style="padding-top: 8px!important; ">
<b>{% trans Fats %}</b>
<b>{% trans 'Fats' %}</b>
</td>
<td style="text-align: right">{{ recipe.nutrition.fats|floatformat:2 }}</td>
<td>g</td>
@@ -241,7 +241,7 @@
<tr>
<tr>
<td style="padding-top: 8px!important; ">
<b>{% trans Proteins %}</b>
<b>{% trans 'Proteins' %}</b>
</td>
<td style="text-align: right">{{ recipe.nutrition.proteins|floatformat:2 }}</td>
<td>g</td>