1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-18 05:10:07 -07:00

Translate form submit button

This commit is contained in:
Unknown 2017-06-02 12:03:24 +02:00
parent d81eef8bea
commit b97d9fd8b5
3 changed files with 5 additions and 2 deletions

View File

@ -132,4 +132,7 @@ part:
molds: Molds of part molds: Molds of part
prints: Prints prints: Prints
form:
search.submit: Search
meta.description: Web catalogue of LEGO<sup>®</sup> parts for 3D printing meta.description: Web catalogue of LEGO<sup>®</sup> parts for 3D printing

View File

@ -22,7 +22,7 @@
</div> </div>
{{ form_row(form.category) }} {{ form_row(form.category) }}
<div class="field"> <div class="field">
<input class="ui fluid submit green button" type="submit" value="Search"/> <input class="ui fluid submit green button" type="submit" value="{{ 'form.search.submit' | trans }}"/>
</div> </div>
{{ form_end(form) }} {{ form_end(form) }}
</div> </div>

View File

@ -30,7 +30,7 @@
{{ form_rest(form) }} {{ form_rest(form) }}
<div class="field"> <div class="field">
<input class="ui fluid submit green button" type="submit" value="{{ 'form.search'|trans({},'messages') }}"/> <input class="ui fluid submit green button" type="submit" value="{{ 'form.search.submit' | trans }}"/>
</div> </div>
{{ form_end(form) }} {{ form_end(form) }}
</div> </div>