mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 21:26:33 +00:00
Merge pull request #1565 from bookwyrm-social/translation-whitespace
Translation whitespace
This commit is contained in:
commit
f2b11c6ad1
12 changed files with 42 additions and 67 deletions
|
@ -36,7 +36,11 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>No potential members found for "{{ user_query }}"</p>
|
<p>
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
No potential members found for "{{ user_query }}"
|
||||||
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
{% block description %}
|
{% block description %}
|
||||||
|
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
accepted your invitation to join group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
accepted your invitation to join group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
{% elif related_status.status_type == 'Comment' %}
|
{% elif related_status.status_type == 'Comment' %}
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
|
|
||||||
liked your <a href="{{ related_path }}">comment on<em>{{ book_title }}</em></a>
|
liked your <a href="{{ related_path }}">comment on <em>{{ book_title }}</em></a>
|
||||||
|
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% elif related_status.status_type == 'Quotation' %}
|
{% elif related_status.status_type == 'Quotation' %}
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block description %}
|
{% block description %}
|
||||||
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
invited you to join the group <a href="{{ group_path }}">{{ group_name }}</a>
|
invited you to join the group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
<div class="row shrink">
|
<div class="row shrink">
|
||||||
{% include 'snippets/join_invitation_buttons.html' with group=notification.related_group %}
|
{% include 'snippets/join_invitation_buttons.html' with group=notification.related_group %}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{% load humanize %}
|
|
||||||
{% load bookwyrm_tags %}
|
{% load bookwyrm_tags %}
|
||||||
{% related_status notification as related_status %}
|
{% related_status notification as related_status %}
|
||||||
<div class="notification is-clickable {% if notification.id in unread %} is-primary{% endif %}" data-href="{% block primary_link %}{% endblock %}">
|
<div class="notification is-clickable {% if notification.id in unread %} is-primary{% endif %}" data-href="{% block primary_link %}{% endblock %}">
|
||||||
|
@ -10,10 +9,8 @@
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<p>
|
<p>
|
||||||
{% if notification.related_user %}
|
{% if notification.related_user %}
|
||||||
<a href="{{ notification.related_user.local_path }}">
|
<a href="{{ notification.related_user.local_path }}">{% include 'snippets/avatar.html' with user=notification.related_user %}
|
||||||
{% include 'snippets/avatar.html' with user=notification.related_user %}
|
{{ notification.related_user.display_name }}</a>
|
||||||
{{ notification.related_user.display_name }}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block description %}{% endblock %}
|
{% block description %}{% endblock %}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
{% block description %}
|
{% block description %}
|
||||||
|
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
has joined your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
has joined your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
{% block description %}
|
{% block description %}
|
||||||
|
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
has left your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
has left your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
{% block description %}
|
{% block description %}
|
||||||
{% if notification.related_user %}
|
{% if notification.related_user %}
|
||||||
|
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
has been removed from your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
has been removed from your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
You have been removed from the "<a href="{{ group_path }}">{{ group_name }}</a> group"
|
You have been removed from the "<a href="{{ group_path }}">{{ group_name }}</a>" group
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -13,15 +13,15 @@
|
||||||
|
|
||||||
{% block description %}
|
{% block description %}
|
||||||
{% if notification.notification_type == 'GROUP_PRIVACY' %}
|
{% if notification.notification_type == 'GROUP_PRIVACY' %}
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
has changed the privacy level for <a href="{{ group_path }}">{{ group_name }}</a>
|
has changed the privacy level for <a href="{{ group_path }}">{{ group_name }}</a>
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% elif notification.notification_type == 'GROUP_NAME' %}
|
{% elif notification.notification_type == 'GROUP_NAME' %}
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
has changed the name of <a href="{{ group_path }}">{{ group_name }}</a>
|
has changed the name of <a href="{{ group_path }}">{{ group_name }}</a>
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
||||||
has changed the description of <a href="{{ group_path }}">{{ group_name }}</a>
|
has changed the description of <a href="{{ group_path }}">{{ group_name }}</a>
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
<input type="hidden" name="group" value="{{ group.id }}">
|
<input type="hidden" name="group" value="{{ group.id }}">
|
||||||
<input type="hidden" name="user" value="{{ user.username }}">
|
<input type="hidden" name="user" value="{{ user.username }}">
|
||||||
<button id="submit_button" class="button is-small is-danger is-light is-hidden" type="submit" data-id="member_{{ member.id }}">
|
<button id="submit_button" class="button is-small is-danger is-light is-hidden" type="submit" data-id="member_{{ member.id }}">
|
||||||
{% blocktrans with username=user.localname %} Confirm {% endblocktrans %}
|
{% trans "Confirm" %}
|
||||||
</button>
|
</button>
|
||||||
<button id="hide_submit_button" data-controls="submit_button" class="button is-small" type="button" aria-pressed="false">
|
<button id="hide_submit_button" data-controls="submit_button" class="button is-small" type="button" aria-pressed="false">
|
||||||
{% blocktrans with username=user.localname %} Remove {% endblocktrans %}
|
{% trans "Remove" %}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
5
bw-dev
5
bw-dev
|
@ -105,11 +105,8 @@ case "$CMD" in
|
||||||
collectstatic)
|
collectstatic)
|
||||||
runweb python manage.py collectstatic --no-input
|
runweb python manage.py collectstatic --no-input
|
||||||
;;
|
;;
|
||||||
add_locale)
|
|
||||||
runweb django-admin makemessages --no-wrap --ignore=venv -l $@
|
|
||||||
;;
|
|
||||||
makemessages)
|
makemessages)
|
||||||
runweb django-admin makemessages --no-wrap --ignore=venv --all $@
|
runweb django-admin makemessages --no-wrap --ignore=venv -l en_US $@
|
||||||
;;
|
;;
|
||||||
compilemessages)
|
compilemessages)
|
||||||
runweb django-admin compilemessages --ignore venv $@
|
runweb django-admin compilemessages --ignore venv $@
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 0.0.1\n"
|
"Project-Id-Version: 0.0.1\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2021-10-22 17:47+0000\n"
|
"POT-Creation-Date: 2021-10-24 14:09+0000\n"
|
||||||
"PO-Revision-Date: 2021-02-28 17:19-0800\n"
|
"PO-Revision-Date: 2021-02-28 17:19-0800\n"
|
||||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||||
"Language-Team: English <LL@li.org>\n"
|
"Language-Team: English <LL@li.org>\n"
|
||||||
|
@ -549,6 +549,7 @@ msgstr ""
|
||||||
#: bookwyrm/templates/book/edit/edit_book.html:97
|
#: bookwyrm/templates/book/edit/edit_book.html:97
|
||||||
#: bookwyrm/templates/groups/members.html:16
|
#: bookwyrm/templates/groups/members.html:16
|
||||||
#: bookwyrm/templates/landing/password_reset.html:30
|
#: bookwyrm/templates/landing/password_reset.html:30
|
||||||
|
#: bookwyrm/templates/snippets/remove_from_group_button.html:16
|
||||||
msgid "Confirm"
|
msgid "Confirm"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1321,6 +1322,11 @@ msgid_plural "%(shared_books)s books on your shelves"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: bookwyrm/templates/groups/suggested_users.html:40
|
||||||
|
#, python-format
|
||||||
|
msgid "No potential members found for \"%(user_query)s\""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/groups/user_groups.html:15
|
#: bookwyrm/templates/groups/user_groups.html:15
|
||||||
msgid "Manager"
|
msgid "Manager"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1777,6 +1783,7 @@ msgid "Set"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/lists/list.html:92
|
#: bookwyrm/templates/lists/list.html:92
|
||||||
|
#: bookwyrm/templates/snippets/remove_from_group_button.html:19
|
||||||
#: bookwyrm/templates/snippets/shelf_selector.html:26
|
#: bookwyrm/templates/snippets/shelf_selector.html:26
|
||||||
msgid "Remove"
|
msgid "Remove"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1833,10 +1840,7 @@ msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/accept.html:16
|
#: bookwyrm/templates/notifications/items/accept.html:16
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "accepted your invitation to join group \"<a href=\"%(group_path)s\">%(group_name)s</a>\""
|
||||||
"\n"
|
|
||||||
" accepted your invitation to join group \"<a href=\"%(group_path)s\">%(group_name)s</a>\"\n"
|
|
||||||
" "
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/add.html:24
|
#: bookwyrm/templates/notifications/items/add.html:24
|
||||||
|
@ -1876,7 +1880,7 @@ msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/fav.html:25
|
#: bookwyrm/templates/notifications/items/fav.html:25
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "liked your <a href=\"%(related_path)s\">comment on<em>%(book_title)s</em></a>"
|
msgid "liked your <a href=\"%(related_path)s\">comment on <em>%(book_title)s</em></a>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/fav.html:31
|
#: bookwyrm/templates/notifications/items/fav.html:31
|
||||||
|
@ -1904,22 +1908,17 @@ msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/invite.html:15
|
#: bookwyrm/templates/notifications/items/invite.html:15
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "invited you to join the group <a href=\"%(group_path)s\">%(group_name)s</a>"
|
msgid "invited you to join the group \"<a href=\"%(group_path)s\">%(group_name)s</a>\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/join.html:16
|
#: bookwyrm/templates/notifications/items/join.html:16
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "has joined your group \"<a href=\"%(group_path)s\">%(group_name)s</a>\""
|
||||||
"\n"
|
|
||||||
"has joined your group \"<a href=\"%(group_path)s\">%(group_name)s</a>\"\n"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/leave.html:16
|
#: bookwyrm/templates/notifications/items/leave.html:16
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "has left your group \"<a href=\"%(group_path)s\">%(group_name)s</a>\""
|
||||||
"\n"
|
|
||||||
" has left your group \"<a href=\"%(group_path)s\">%(group_name)s</a>\"\n"
|
|
||||||
" "
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/mention.html:20
|
#: bookwyrm/templates/notifications/items/mention.html:20
|
||||||
|
@ -1944,17 +1943,12 @@ msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/remove.html:17
|
#: bookwyrm/templates/notifications/items/remove.html:17
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "has been removed from your group \"<a href=\"%(group_path)s\">%(group_name)s</a>\""
|
||||||
" \n"
|
|
||||||
"has been removed from your group \"<a href=\"%(group_path)s\">%(group_name)s</a>\"\n"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/remove.html:23
|
#: bookwyrm/templates/notifications/items/remove.html:23
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "You have been removed from the \"<a href=\"%(group_path)s\">%(group_name)s</a>\" group"
|
||||||
"\n"
|
|
||||||
" You have been removed from the \"<a href=\"%(group_path)s\">%(group_name)s</a> group\"\n"
|
|
||||||
" "
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/reply.html:21
|
#: bookwyrm/templates/notifications/items/reply.html:21
|
||||||
|
@ -1984,26 +1978,17 @@ msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/update.html:16
|
#: bookwyrm/templates/notifications/items/update.html:16
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "has changed the privacy level for <a href=\"%(group_path)s\">%(group_name)s</a>"
|
||||||
"\n"
|
|
||||||
" has changed the privacy level for <a href=\"%(group_path)s\">%(group_name)s</a>\n"
|
|
||||||
" "
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/update.html:20
|
#: bookwyrm/templates/notifications/items/update.html:20
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "has changed the name of <a href=\"%(group_path)s\">%(group_name)s</a>"
|
||||||
"\n"
|
|
||||||
" has changed the name of <a href=\"%(group_path)s\">%(group_name)s</a>\n"
|
|
||||||
" "
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/items/update.html:24
|
#: bookwyrm/templates/notifications/items/update.html:24
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid "has changed the description of <a href=\"%(group_path)s\">%(group_name)s</a>"
|
||||||
"\n"
|
|
||||||
" has changed the description of <a href=\"%(group_path)s\">%(group_name)s</a>\n"
|
|
||||||
" "
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/notifications/notifications_page.html:18
|
#: bookwyrm/templates/notifications/notifications_page.html:18
|
||||||
|
@ -3460,14 +3445,6 @@ msgstr ""
|
||||||
msgid "Sign Up"
|
msgid "Sign Up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: bookwyrm/templates/snippets/remove_from_group_button.html:16
|
|
||||||
msgid " Confirm "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: bookwyrm/templates/snippets/remove_from_group_button.html:19
|
|
||||||
msgid " Remove "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: bookwyrm/templates/snippets/report_button.html:6
|
#: bookwyrm/templates/snippets/report_button.html:6
|
||||||
msgid "Report"
|
msgid "Report"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
Loading…
Reference in a new issue