From 97650abd784ba4c2ce902e7d00f7e007479c870f Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 29 Jul 2014 13:38:59 -0500 Subject: [PATCH] Avoid "lego translations" on the nothing currently featured strings This commit sponsored by Vinzenz Vietzke. Thank you! --- .../archivalook/templates/archivalook/root.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/mediagoblin/plugins/archivalook/templates/archivalook/root.html b/mediagoblin/plugins/archivalook/templates/archivalook/root.html index 78876f83..4dbd0f9e 100644 --- a/mediagoblin/plugins/archivalook/templates/archivalook/root.html +++ b/mediagoblin/plugins/archivalook/templates/archivalook/root.html @@ -59,17 +59,19 @@ {%- elif request.user and request.user.has_privilege('featurer') %}

{% trans %}Nothing is currently featured.{% endtrans %}

- {% 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 %} {% trans %}Feature{% endtrans %}. - {% trans %}You're seeing this page because you are a user capable of + that says Feature. + {%- 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 %} - - {% trans %}feature management panel.{% endtrans %} + in the feature management panel. + {%- endtrans %} +
{%- endif %} -- 2.25.1