mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Update templates to fit the new translator
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user