mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add translation context
This commit is contained in:
@@ -243,7 +243,7 @@
|
||||
<button class="btn btn-block btn-primary btn-lg" type="submit" id="btn-add-to-cart">
|
||||
{% if request.event.settings.redirect_to_checkout_directly %}
|
||||
{% if allfree %}
|
||||
<i class="fa fa-check"></i> {% trans "Register" %}
|
||||
<i class="fa fa-check"></i> {% trans "Register" context "free_tickets" %}
|
||||
{% else %}
|
||||
<i class="fa fa-shopping-cart"></i> {% trans "Proceed with checkout" %}
|
||||
{% endif %}
|
||||
|
||||
@@ -340,7 +340,7 @@
|
||||
<button class="btn btn-block btn-primary btn-lg" id="btn-add-to-cart" type="submit">
|
||||
{% if request.event.settings.redirect_to_checkout_directly %}
|
||||
{% if allfree %}
|
||||
<i class="fa fa-check"></i> {% trans "Register" %}
|
||||
<i class="fa fa-check"></i> {% trans "Register" context "free_tickets" %}
|
||||
{% else %}
|
||||
<i class="fa fa-shopping-cart"></i> {% trans "Proceed with checkout" %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user