Update templates to fit the new translator

This commit is contained in:
Romain Neutron
2013-11-21 19:00:17 +01:00
parent e4c43b8622
commit 16c1930ca0
87 changed files with 361 additions and 317 deletions

View File

@@ -40,8 +40,8 @@
<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 %}
Received from {{ user_name }}
{% trans with {'%user_name%' : user_name} %}
Received from %user_name%
{% endtrans %}
</p>
</div>
@@ -65,8 +65,8 @@
~ Participant.getUser(app).get_display_name
~ '</a>' %}
{% endfor %}
{% trans %}
Sent for validation to {{ list_participants }}
{% trans with {'%list_participants%' : list_participants} %}
Sent for validation to %list_participants%
{% endtrans %}
</p>
</div>
@@ -83,7 +83,7 @@
{% elseif ElementsCount == 1 %}
{{ '1 record' | trans }}
{% else %}
{% trans %}{{ ElementsCount }} records{% endtrans %}
{% trans with {'%ElementsCount%' : ElementsCount} %}%ElementsCount% records{% endtrans %}
{% endif %}
</div>
</div>