Avoid "lego translations" on the nothing currently featured strings

This commit sponsored by Vinzenz Vietzke.  Thank you!
This commit is contained in:
Christopher Allan Webber 2014-07-29 13:38:59 -05:00
parent 92ce9c0df9
commit 97650abd78

View File

@ -59,17 +59,19 @@
{%- elif request.user and request.user.has_privilege('featurer') %}
<div>
<h2>{% trans %}Nothing is currently featured.{% endtrans %}</h2>
{% trans %}If you would like to feature a
{% trans -%}
If you would like to feature a
piece of media, go to that media entry's homepage and click the button
that says{% endtrans %} <a class="button_action">{% trans %}Feature{% endtrans %}</a>.
{% trans %}You're seeing this page because you are a user capable of
that says <a class="button_action">Feature</a>.
{%- endtrans %}
{% trans featured_media_url=request.urlgen('manage-featured-media') -%}
You're seeing this page because you are a user capable of
featuring media, a regular user would see a blank page, so be sure to
have media featured as long as your instance has the 'archivalook'
plugin enabled. A more advanced tool to manage features can be found
in the{% endtrans %}
<a href="{{ request.urlgen(
'manage-featured-media') }}">
{% trans %}feature management panel.{% endtrans %}</a>
in the <a href="{{ featured_media_url }}">feature management panel.</a>
{%- endtrans %}
</a>
</div>
</div>
{%- endif %}