Wording consistency and locales compiled for getting started views

This commit is contained in:
Mouse Reeve
2021-04-01 12:23:13 -07:00
parent 3b725fab63
commit f949d08034
12 changed files with 1016 additions and 502 deletions

View File

@ -8,7 +8,7 @@
<div class="control">
<input type="text" name="query" value="{{ request.GET.query }}" class="input" placeholder="{% trans 'Search for a book' %}" aria-label="{% trans 'Search for a book' %}">
{% if request.GET.query and not book_results %}
<p class="help">{% blocktrans %}Sorry, books were found. You can add books when you start using {{ site_name }}{% endblocktrans %}</p>
<p class="help">{% blocktrans with query=request.GET.query %}No books found for "{{ query }}"{% endblocktrans %}. {% blocktrans %}You can add books when you start using {{ site_name }}.{% endblocktrans %}</p>
{% endif %}
</div>
<div class="control">

View File

@ -23,7 +23,7 @@
<ul>
{% url 'get-started-profile' as url %}
<li {% if request.path in url %}class="is-active"{% endif %}>
<a {% if request.path in url %}aria-current="page"{% endif %} href="{{ url }}">{% trans "Create profile" %}</a>
<a {% if request.path in url %}aria-current="page"{% endif %} href="{{ url }}">{% trans "Create your profile" %}</a>
</li>
{% url 'get-started-books' as url %}
<li {% if request.path in url %}class="is-active"{% endif %}>

View File

@ -3,7 +3,7 @@
{% block panel %}
<div class="block">
<h2 class="title is-4">{% trans "A little bit about you" %}</h2>
<h2 class="title is-4">{% trans "Create your profile" %}</h2>
{% if form.non_field_errors %}
<p class="notification is-danger">{{ form.non_field_errors }}</p>
{% endif %}

View File

@ -10,7 +10,7 @@
<div class="control">
<input type="text" name="query" value="{{ request.GET.query }}" class="input" placeholder="{% trans 'Search for a user' %}" aria-label="{% trans 'Search for a user' %}">
{% if request.GET.query and not user_results %}
<p class="help">{% trans "Sorry, no users were found" %}</p>
<p class="help">{% blocktrans with query=request.GET.query %}No users found for "{{ query }}"{% endblocktrans %}</p>
{% endif %}
</div>
<div class="control">