add translation strings

- add logic when default shelves used
- add trans strings in a few spots they were missing
This commit is contained in:
Hugh Rundle
2021-12-01 20:07:52 +11:00
parent ad6c860951
commit 2602ae42b0
6 changed files with 30 additions and 10 deletions

View File

@ -18,7 +18,7 @@
</p>
<form name="directory" method="POST" action="{% url 'directory' %}">
{% csrf_token %}
<button class="button is-primary" type="submit">Join Directory</button>
<button class="button is-primary" type="submit">{% trans "Join Directory" %}</button>
<p class="help">
{% url 'prefs-profile' as path %}
{% blocktrans with path=path %}You can opt-out at any time in your <a href="{{ path }}">profile settings.</a>{% endblocktrans %}
@ -28,7 +28,7 @@
<div class="column is-narrow">
{% trans "Dismiss message" as button_text %}
<button type="button" class="delete set-display" data-id="hide_join_directory" data-value="true">
<span>Dismiss message</span>
<span>{% trans "Dismiss message" %}</span>
</button>
</div>
</div></div>