Skip to content
Snippets Groups Projects
Commit 7e56ed5c authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Fix translation with interpoliation. The used method does not work for me.

parent 5550b192
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
<p>{% trans %}Hi, this is the status page of SimpleSAMLphp. Here you can see if your session is timed out, how long it lasts until it times out and all the attributes that are attached to your session.{% endtrans %}</p>
{% if remaining %}
<p>{{ 'Your session is valid for %SECONDS% seconds from now.'|trans({'%SECONDS%': remaining}) }}</p>
<p>{% trans %}Your session is valid for {{ remaining }} seconds from now.{% endtrans %}</p>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment