Avoid to use an hash map in translations
This commit is contained in:
parent
03ebbb74fa
commit
91ab379718
10 changed files with 334 additions and 237 deletions
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
<label for="select-language">{{ tr.t(Sentence::RecipeLanguage) }}</label>
|
||||
<select id="select-language">
|
||||
{% for lang in Tr::available_languages() %}
|
||||
{% for lang in translation::available_languages() %}
|
||||
<option value="{{ lang.0 }}"
|
||||
{%+ if recipe.lang == lang.0 %}
|
||||
selected
|
||||
|
|
@ -86,6 +86,8 @@
|
|||
|
||||
<div id="hidden-templates">
|
||||
<div class="group">
|
||||
<div class="drag-handle"></div>
|
||||
|
||||
<label for="input-group-name">{{ tr.t(Sentence::RecipeGroupName) }}</label>
|
||||
<input class="input-group-name" type="text" />
|
||||
|
||||
|
|
@ -100,6 +102,8 @@
|
|||
</div>
|
||||
|
||||
<div class="step">
|
||||
<div class="drag-handle"></div>
|
||||
|
||||
<label for="text-area-step-action">{{ tr.t(Sentence::RecipeStepAction) }}</label>
|
||||
<textarea class="text-area-step-action"></textarea>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue