Change link text of footer backlinks

This commit is contained in:
Raphael Michel
2018-04-19 12:50:33 +02:00
parent a8321e8cd3
commit 62dfd7cef0
3 changed files with 9 additions and 8 deletions

View File

@@ -34,6 +34,6 @@
{% endcomment %}
{% with 'target="_blank" rel="noopener" href="'|add:pretixurl|add:'"'|safe as a_attr %}
{% blocktrans trimmed %}
powered by <a {{ a_attr }}>pretix</a>
<a {{ a_attr }}>event ticketing powered by pretix</a>
{% endblocktrans %}
{% endwith %}

View File

@@ -16,14 +16,14 @@
<h1>{% trans "Hello!" %}</h1>
<p>
{% with "href='http://pretix.eu'" as a_attr %}
{% blocktrans trimmed %}
This is a ticket presale system powered by <a {{ a_attr }}>pretix</a>.
{% endblocktrans %}
{% endwith %}
{% trans "There is nothing to see here yet." %}
</p>
<p>
{% trans "There is nothing to see here yet." %}
{% with "href='http://pretix.eu'" as a_attr %}
{% blocktrans trimmed %}
<a {{ a_attr }}>pretix your free and open source ticket sales software</a>.
{% endblocktrans %}
{% endwith %}
</p>
</div>
</body>

View File

@@ -23,7 +23,8 @@ var strings = {
'cart_exists': django.pgettext('widget', 'You currently have an active cart for this event. If you select more' +
' products, they will be added to your existing cart. Click on this message to continue checkout with your' +
' cart.'),
'poweredby': django.pgettext('widget', 'ticketing powered by <a href="https://pretix.eu" target="_blank" rel="noopener">pretix</a>'),
'poweredby': django.pgettext('widget', '<a href="https://pretix.eu" target="_blank" rel="noopener">event' +
' ticketing powered by pretix</a>'),
'redeem_voucher': django.pgettext('widget', 'Redeem a voucher'),
'redeem': django.pgettext('widget', 'Redeem'),
'voucher_code': django.pgettext('widget', 'Voucher code'),