Small fixes for translation

This commit is contained in:
Mouse Reeve 2021-03-02 09:25:45 -08:00
parent 2c2d7c4694
commit 01df4ad321
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
</div> </div>
<div class="card-footer has-background-white-bis"> <div class="card-footer has-background-white-bis">
<div class="card-footer-item"> <div class="card-footer-item">
<p>{% trans "Added by" %} {% include 'snippets/username.html' with user=item.user %}</p> <p>{% blocktrans with username=item.user.display_name user_path=user.local_path %}Added by <a href="{{ user_path }}">{{ username }}</a>{% endblocktrans %}</p>
</div> </div>
{% if list.user == request.user or list.curation == 'open' and item.user == request.user %} {% if list.user == request.user or list.curation == 'open' and item.user == request.user %}
<form name="add-book" method="post" action="{% url 'list-remove-book' list.id %}" class="card-footer-item"> <form name="add-book" method="post" action="{% url 'list-remove-book' list.id %}" class="card-footer-item">

View file

@ -14,7 +14,7 @@
<form class="dropdown-item pt-0 pb-0" name="delete-{{status.id}}" action="/delete-status/{{ status.id }}" method="post"> <form class="dropdown-item pt-0 pb-0" name="delete-{{status.id}}" action="/delete-status/{{ status.id }}" method="post">
{% csrf_token %} {% csrf_token %}
<button class="button is-danger is-light is-fullwidth is-small" type="submit"> <button class="button is-danger is-light is-fullwidth is-small" type="submit">
{% trans "Delete post" %} {% trans "Delete status" %}
</button> </button>
</form> </form>
</li> </li>