Use symfony translator

This commit is contained in:
Romain Neutron
2013-11-25 09:07:16 +01:00
parent 71df6e96a3
commit 2ba164701d
325 changed files with 1946 additions and 2145 deletions

View File

@@ -40,9 +40,7 @@
<div class="PNB10">
<p>
{% set user_name = '<a tooltipsrc="' ~ path('prod_tooltip_user', { 'usr_id' : Basket.getPusher(app).get_id() }) ~ '" href="/user/' ~ Basket.getPusher(app).get_id() ~ '/" class="UserTips">' ~ Basket.getPusher(app).get_display_name() ~ '</a>' %}
{% trans with {'%user_name%' : user_name} %}
Received from %user_name%
{% endtrans %}
{% trans with {'%user_name%' : user_name} %}Received from %user_name%{% endtrans %}
</p>
</div>
</div>
@@ -65,9 +63,7 @@
~ Participant.getUser(app).get_display_name
~ '</a>' %}
{% endfor %}
{% trans with {'%list_participants%' : list_participants} %}
Sent for validation to %list_participants%
{% endtrans %}
{% trans with {'%list_participants%' : list_participants} %}Sent for validation to %list_participants%{% endtrans %}
</p>
</div>
</div>