Merge pull request #1100 from bookwyrm-social/announcements

Announcements
This commit is contained in:
Mouse Reeve 2021-05-20 14:13:37 -07:00 committed by GitHub
commit b7ea3e5e6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 1954 additions and 808 deletions

View file

@ -2,7 +2,6 @@
from django.contrib import admin from django.contrib import admin
from bookwyrm import models from bookwyrm import models
admin.site.register(models.SiteSettings)
admin.site.register(models.User) admin.site.register(models.User)
admin.site.register(models.FederatedServer) admin.site.register(models.FederatedServer)
admin.site.register(models.Connector) admin.site.register(models.Connector)

View file

@ -4,4 +4,7 @@ from bookwyrm import models
def site_settings(request): # pylint: disable=unused-argument def site_settings(request): # pylint: disable=unused-argument
"""include the custom info about the site""" """include the custom info about the site"""
return {"site": models.SiteSettings.objects.get()} return {
"site": models.SiteSettings.objects.get(),
"active_announcements": models.Announcement.active_announcements(),
}

View file

@ -269,6 +269,12 @@ class SiteForm(CustomForm):
exclude = [] exclude = []
class AnnouncementForm(CustomForm):
class Meta:
model = models.Announcement
exclude = ["remote_id"]
class ListForm(CustomForm): class ListForm(CustomForm):
class Meta: class Meta:
model = models.List model = models.List

View file

@ -0,0 +1,56 @@
# Generated by Django 3.2 on 2021-05-20 19:34
import bookwyrm.models.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("bookwyrm", "0074_auto_20210511_1829"),
]
operations = [
migrations.CreateModel(
name="Announcement",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created_date", models.DateTimeField(auto_now_add=True)),
("updated_date", models.DateTimeField(auto_now=True)),
(
"remote_id",
bookwyrm.models.fields.RemoteIdField(
max_length=255,
null=True,
validators=[bookwyrm.models.fields.validate_remote_id],
),
),
("preview", models.CharField(max_length=255)),
("content", models.TextField(blank=True, null=True)),
("event_date", models.DateTimeField(blank=True, null=True)),
("start_date", models.DateTimeField(blank=True, null=True)),
("end_date", models.DateTimeField(blank=True, null=True)),
("active", models.BooleanField(default=True)),
(
"user",
models.ForeignKey(
on_delete=django.db.models.deletion.PROTECT,
to=settings.AUTH_USER_MODEL,
),
),
],
options={
"abstract": False,
},
),
]

View file

@ -25,6 +25,7 @@ from .federated_server import FederatedServer
from .import_job import ImportJob, ImportItem from .import_job import ImportJob, ImportItem
from .site import SiteSettings, SiteInvite, PasswordReset, InviteRequest from .site import SiteSettings, SiteInvite, PasswordReset, InviteRequest
from .announcement import Announcement
cls_members = inspect.getmembers(sys.modules[__name__], inspect.isclass) cls_members = inspect.getmembers(sys.modules[__name__], inspect.isclass)
activity_models = { activity_models = {

View file

@ -0,0 +1,28 @@
""" admin announcements """
from django.db import models
from django.db.models import Q
from django.utils import timezone
from .base_model import BookWyrmModel
class Announcement(BookWyrmModel):
"""The admin has something to say"""
user = models.ForeignKey("User", on_delete=models.PROTECT)
preview = models.CharField(max_length=255)
content = models.TextField(null=True, blank=True)
event_date = models.DateTimeField(blank=True, null=True)
start_date = models.DateTimeField(blank=True, null=True)
end_date = models.DateTimeField(blank=True, null=True)
active = models.BooleanField(default=True)
@classmethod
def active_announcements(cls):
"""announcements that should be displayed"""
now = timezone.now()
return cls.objects.filter(
Q(start_date__isnull=True) | Q(start_date__lte=now),
Q(end_date__isnull=True) | Q(end_date__gte=now),
active=True,
)

View file

@ -88,10 +88,11 @@ body {
.transition-y.is-hidden { .transition-y.is-hidden {
display: block !important; display: block !important;
visibility: hidden !important; visibility: hidden !important;
height: 0; height: 0 !important;
width: 0; width: 0 !important;
margin: 0; margin: 0 !important;
padding: 0; padding: 0 !important;
overflow: auto;
} }
.transition-x, .transition-x,

View file

@ -1,7 +1,5 @@
{% extends 'layout.html' %} {% extends 'layout.html' %}
{% load i18n %} {% load i18n %}{% load bookwyrm_tags %}{% load humanize %}{% load utilities %}
{% load bookwyrm_tags %}
{% load humanize %}
{% block title %}{{ book.title }}{% endblock %} {% block title %}{{ book.title }}{% endblock %}

View file

@ -1,5 +1,4 @@
{% spaceless %} {% spaceless %}
{% load i18n %} {% load i18n %}
<dl> <dl>

View file

@ -1,11 +1,11 @@
{% extends 'layout.html' %} {% extends 'layout.html' %}
{% load i18n %} {% load i18n %}{% load utilities %}
{% block title %}{% blocktrans with book_title=work.title %}Editions of {{ book_title }}{% endblocktrans %}{% endblock %} {% block title %}{% blocktrans with book_title=work|book_title %}Editions of {{ book_title }}{% endblocktrans %}{% endblock %}
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h1 class="title">{% blocktrans with work_path=work.local_path work_title=work.title %}Editions of <a href="{{ work_path }}">"{{ work_title }}"</a>{% endblocktrans %}</h1> <h1 class="title">{% blocktrans with work_path=work.local_path work_title=work|book_title %}Editions of <a href="{{ work_path }}">"{{ work_title }}"</a>{% endblocktrans %}</h1>
</div> </div>
{% include 'book/edition_filters.html' %} {% include 'book/edition_filters.html' %}
@ -22,7 +22,7 @@
<div class="column my-3-mobile ml-3-tablet mr-auto"> <div class="column my-3-mobile ml-3-tablet mr-auto">
<h2 class="title is-5 mb-1"> <h2 class="title is-5 mb-1">
<a href="{{ book.local_path }}" class="has-text-black"> <a href="{{ book.local_path }}" class="has-text-black">
{{ book.title }} {{ book|book_title }}
</a> </a>
</h2> </h2>

View file

@ -1,5 +1,5 @@
{% extends 'snippets/filters_panel/filter_field.html' %} {% extends 'snippets/filters_panel/filter_field.html' %}
{% load i18n %} {% load i18n %}{% load utilities %}
{% block filter %} {% block filter %}
<label class="label is-block" for="id_format">{% trans "Format:" %}</label> <label class="label is-block" for="id_format">{% trans "Format:" %}</label>
@ -8,7 +8,7 @@
<option value="">{% trans "Any" %}</option> <option value="">{% trans "Any" %}</option>
{% for format in formats %}{% if format %} {% for format in formats %}{% if format %}
<option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}> <option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}>
{{ format|title }} {{ format|book_title }}
</option> </option>
{% endif %}{% endfor %} {% endif %}{% endfor %}
</select> </select>

View file

@ -49,7 +49,3 @@
</div> </div>
{% endblock %} {% endblock %}
{% block scripts %}
<script src="/static/js/localstorage.js"></script>
{% endblock %}

View file

@ -1,5 +1,4 @@
{% load layout %} {% load layout %}{% load i18n %}
{% load i18n %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{% get_lang %}"> <html lang="{% get_lang %}">
<head> <head>
@ -182,6 +181,15 @@
</div> </div>
</nav> </nav>
{% if active_announcements.exists %}
<div class="block is-flex-grow-1">
<div class="container">
{% for announcement in active_announcements %}
{% include 'snippets/announcement.html' with announcement=announcement %}
{% endfor %}
</div>
</div>
{% endif %}
<div class="section is-flex-grow-1"> <div class="section is-flex-grow-1">
<div class="container"> <div class="container">
@ -230,6 +238,7 @@
var csrf_token = '{{ csrf_token }}'; var csrf_token = '{{ csrf_token }}';
</script> </script>
<script src="/static/js/bookwyrm.js"></script> <script src="/static/js/bookwyrm.js"></script>
<script src="/static/js/localstorage.js"></script>
{% block scripts %}{% endblock %} {% block scripts %}{% endblock %}
</body> </body>
</html> </html>

View file

@ -28,9 +28,9 @@
</div> </div>
<div class="column is-narrow"> <div class="column is-narrow">
{% trans "Open" as button_text %} {% trans "Open" as button_text %}
{% include 'snippets/toggle/open_button.html' with text=button_text small=True controls_text="more-results-panel" controls_uid=result_set.connector.identifier class="is-small" icon_with_text="arrow-down" pressed=forloop.first %} {% include 'snippets/toggle/open_button.html' with text=button_text controls_text="more-results-panel" controls_uid=result_set.connector.identifier class="is-small" icon_with_text="arrow-down" pressed=forloop.first %}
{% trans "Close" as button_text %} {% trans "Close" as button_text %}
{% include 'snippets/toggle/close_button.html' with text=button_text small=True controls_text="more-results-panel" controls_uid=result_set.connector.identifier class="is-small" icon_with_text="arrow-up" pressed=forloop.first %} {% include 'snippets/toggle/close_button.html' with text=button_text controls_text="more-results-panel" controls_uid=result_set.connector.identifier class="is-small" icon_with_text="arrow-up" pressed=forloop.first %}
</div> </div>
</header> </header>
{% endif %} {% endif %}

View file

@ -43,6 +43,10 @@
{% if perms.bookwyrm.edit_instance_settings %} {% if perms.bookwyrm.edit_instance_settings %}
<h2 class="menu-label">{% trans "Instance Settings" %}</h2> <h2 class="menu-label">{% trans "Instance Settings" %}</h2>
<ul class="menu-list"> <ul class="menu-list">
<li>
{% url 'settings-announcements' as url %}
<a href="{{ url }}"{% if url in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Announcements" %}</a>
</li>
<li> <li>
{% url 'settings-site' as url %} {% url 'settings-site' as url %}
<a href="{{ url }}"{% if url in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Site Settings" %}</a> <a href="{{ url }}"{% if url in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Site Settings" %}</a>

View file

@ -0,0 +1,70 @@
{% extends 'settings/admin_layout.html' %}
{% load i18n %}{% load humanize %}
{% block title %}{% trans "Announcement" %} - {{ announcement.preview }}{% endblock %}
{% block header %}
{% trans "Announcement" %}
<a href="{% url 'settings-announcements' %}" class="has-text-weight-normal help">{% trans "Back to list" %}</a>
{% endblock %}
{% block edit-button %}
{% trans "Edit Announcement" as button_text %}
<div class="field has-addons">
<div class="control">
{% include 'snippets/toggle/open_button.html' with controls_text="edit-announcement" icon_with_text="pencil" text=button_text focus="edit-announcement-header" %}
</div>
<form class="control" action="{% url 'settings-announcements-delete' announcement.id %}" method="post">
{% csrf_token %}
<button type="submit" class="button is-danger">
<span class="icon icon-x" aria-hidden="true"></span>
<span>{% trans "Delete" %}</span>
</button>
</form>
</div>
{% endblock %}
{% block panel %}
<form name="edit-announcement" method="post" action="{% url 'settings-announcements' announcement.id %}" class="block">
{% include 'settings/announcement_form.html' with controls_text="edit-announcement" %}
</form>
<div class="block content">
<dl>
<div class="is-flex notification pt-1 pb-1 mb-0 {% if announcement in active_announcements %}is-success{% else %}is-danger{% endif %}">
<dt class="mr-1 has-text-weight-bold">{% trans "Visible:" %}</dt>
<dd>
{% if announcement in active_announcements %}
{% trans "True" %}
{% else %}
{% trans "False" %}
{% endif %}
</dd>
</div>
{% if announcement.start_date %}
<div class="is-flex notificationi pt-1 pb-1 mb-0 has-background-white">
<dt class="mr-1 has-text-weight-bold">{% trans "Start date:" %}</dt>
<dd>{{ announcement.start_date|naturalday }}</dd>
</div>
{% endif %}
{% if announcement.end_date %}
<div class="is-flex notification pt-1 pb-1 mb-0 has-background-white">
<dt class="mr-1 has-text-weight-bold">{% trans "End date:" %}</dt>
<dd>{{ announcement.end_date|naturalday }}</dd>
</div>
{% endif %}
<div class="is-flex notification pt-1 pb-1 has-background-white">
<dt class="mr-1 has-text-weight-bold">{% trans "Active:" %}</dt>
<dd>{{ announcement.active }}</dd>
</div>
</dl>
<hr aria-hidden="true">
{% include 'snippets/announcement.html' with announcement=announcement pressed=True admin_mode=True %}
</div>
{% endblock %}

View file

@ -0,0 +1,68 @@
{% extends 'components/inline_form.html' %}
{% load i18n %}
{% block header %}
{% trans "Create Announcement" %}
{% endblock %}
{% block form %}
{% csrf_token %}
<input type="hidden" name="user" value="{{ request.user.id }}">
<p>
<label class="label" for="id_preview">Preview:</label>
{{ form.preview }}
{% for error in form.preview.errors %}
<p class="help is-danger">{{ error | escape }}</p>
{% endfor %}
</p>
<p>
<label class="label" for="id_content">Content:</label>
{{ form.content }}
{% for error in form.content.errors %}
<p class="help is-danger">{{ error | escape }}</p>
{% endfor %}
</p>
<p>
<label class="label" for="id_event_date">Event date:</label>
<input type="date" name="event_date" value="{{ form.event_date.value }}" class="input" id="id_event_date">
{% for error in form.event_date.errors %}
<p class="help is-danger">{{ error | escape }}</p>
{% endfor %}
</p>
<hr aria-hidden="true">
<div class="columns">
<div class="column">
<p>
<label class="label" for="id_start_date">Start date:</label>
<input type="date" name="start_date" class="input" id="id_start_date">
{% for error in form.start_date.errors %}
<p class="help is-danger">{{ error | escape }}</p>
{% endfor %}
</p>
</div>
<div class="column">
<p>
<label class="label" for="id_end_date">End date:</label>
<input type="date" name="end_date" class="input" id="id_end_date">
{% for error in form.end_date.errors %}
<p class="help is-danger">{{ error | escape }}</p>
{% endfor %}
</p>
</div>
<div class="column is-narrow">
<p>
<label class="label" for="id_active">Active:</label>
{{ form.active }}
{% for error in form.active.errors %}
<p class="help is-danger">{{ error | escape }}</p>
{% endfor %}
</p>
</div>
</div>
<div class="field has-addons">
<div class="control">
<button type="submit" class="button is-primary">{% trans "Save" %}</button>
</div>
</div>
{% endblock %}

View file

@ -0,0 +1,54 @@
{% extends 'settings/admin_layout.html' %}
{% load i18n %}{% load humanize %}
{% block title %}{% trans "Announcements" %}{% endblock %}
{% block header %}{% trans "Announcements" %}{% endblock %}
{% block edit-button %}
{% trans "Create Announcement" as button_text %}
{% include 'snippets/toggle/open_button.html' with controls_text="create-announcement" icon_with_text="plus" text=button_text focus="create-announcement-header" %}
</a>
{% endblock %}
{% block panel %}
<form name="create-announcement" method="post" action="{% url 'settings-announcements' %}" class="block">
{% include 'settings/announcement_form.html' with controls_text="create-announcement" %}
</form>
<table class="table is-striped">
<tr>
<th>
{% url 'settings-announcements' as url %}
{% trans "Date added" as text %}
{% include 'snippets/table-sort-header.html' with field="created_date" sort=sort text=text %}
</th>
<th>
{% trans "Preview" as text %}
{% include 'snippets/table-sort-header.html' with field="preview" sort=sort text=text %}
</th>
<th>
{% trans "Start date" as text %}
{% include 'snippets/table-sort-header.html' with field="start_date" sort=sort text=text %}
</th>
<th>
{% trans "End date" as text %}
{% include 'snippets/table-sort-header.html' with field="end_date" sort=sort text=text %}
</th>
<th>
{% trans "Status" as text %}
{% include 'snippets/table-sort-header.html' with field="active" sort=sort text=text %}
</th>
</tr>
{% for announcement in announcements %}
<tr>
<td>{{ announcement.created_date|naturalday }}</td>
<td><a href="{% url 'settings-announcements' announcement.id %}">{{ announcement.preview }}</a></td>
<td>{{ announcement.start_date|naturaltime|default:'' }}</td>
<td>{{ announcement.end_date|naturaltime|default:'' }}</td>
<td>{% if announcement.active %}{% trans "active" %}{% else %}{% trans "inactive" %}{% endif %}</td>
</tr>
{% endfor %}
</table>
{% include 'snippets/pagination.html' with page=announcements path=request.path %}
{% endblock %}

View file

@ -10,7 +10,7 @@
{% if server.status == "blocked" %}<span class="icon icon-x has-text-danger is-size-5" title="{% trans 'Blocked' %}"><span class="is-sr-only">{% trans "Blocked" %}</span></span> {% if server.status == "blocked" %}<span class="icon icon-x has-text-danger is-size-5" title="{% trans 'Blocked' %}"><span class="is-sr-only">{% trans "Blocked" %}</span></span>
{% endif %} {% endif %}
<a href="{% url 'settings-federation' %}" class="has-text-weight-normal help">{% trans "Back to server list" %}</a> <a href="{% url 'settings-federation' %}" class="has-text-weight-normal help">{% trans "Back to list" %}</a>
{% endblock %} {% endblock %}
{% block panel %} {% block panel %}

View file

@ -0,0 +1,38 @@
{% load humanize %}{% load i18n %}{% load utilities %}
{% with announcement.id|uuid as uuid %}
<aside
class="notification mb-1 p-3{% if not admin_mode %} is-hidden{% endif %} transition-y"
{% if not admin_mode %}data-hide="hide-announcement-{{ announcement.id }}"{% endif %}
>
<div class="columns mb-0">
<div class="column pb-0">
{% if announcement.event_date %}
<strong>{{ announcement.event_date|naturalday|title }}:</strong>
{% endif %}
{{ announcement.preview }}
</div>
{% if announcement.content %}
<div class="column is-narrow pb-0">
{% trans "Open" as button_text %}
{% include 'snippets/toggle/open_button.html' with text=button_text controls_text="announcement" class="is-small" controls_uid=uuid icon_with_text="arrow-down" %}
{% trans "Close" as button_text %}
{% include 'snippets/toggle/close_button.html' with text=button_text controls_text="announcement" class="is-small" controls_uid=uuid icon_with_text="arrow-up" %}
</div>
{% endif %}
</div>
{% if announcement.content %}
<div class="mb-2 mt-2 {% if not pressed %}is-hidden{% endif %}" id="announcement-{{ uuid }}">
<div class="box is-shadowless mb-0">
{{ announcement.content|safe }}
</div>
</div>
{% endif %}
<div class="is-flex mt-0 help">
<p>{% blocktrans with user_path=announcement.user.local_path username=announcement.user.display_name %}Posted by <a href="{{ user_path }}">{{ username }}</a>{% endblocktrans %}</p>
{% if not admin_mode %}
<span class="mr-2 ml-2" aria-hidden="true">&middot;</span>
<a class="set-display" data-id="hide-announcement-{{ announcement.id }}" data-value="true">{% trans "Dismiss message" %}</a>
{% endif %}
</div>
</aside>
{% endwith %}

View file

@ -1,8 +1,8 @@
{% load i18n %} {% load i18n %}
{% load utilities %} {% load utilities %}
{% if book.authors %} {% if book.authors %}
{% blocktrans with path=book.local_path title=book|title %}<a href="{{ path }}">{{ title }}</a> by {% endblocktrans %}{% include 'snippets/authors.html' with book=book %} {% blocktrans with path=book.local_path title=book|book_title %}<a href="{{ path }}">{{ title }}</a> by {% endblocktrans %}{% include 'snippets/authors.html' with book=book %}
{% else %} {% else %}
<a href="{{ book.local_path }}">{{ book|title }}</a> <a href="{{ book.local_path }}">{{ book|book_title }}</a>
{% endif %} {% endif %}

View file

@ -48,7 +48,7 @@
{% if status.book %} {% if status.book %}
{% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %} {% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %}
<a href="{{ status.book.local_path }}">{{ status.book|title }}</a>{% if status.status_type == 'Rating' %}: {% include 'snippets/stars.html' with rating=status.rating %} <a href="{{ status.book.local_path }}">{{ status.book|book_title }}</a>{% if status.status_type == 'Rating' %}: {% include 'snippets/stars.html' with rating=status.rating %}
<span <span
itemprop="reviewRating" itemprop="reviewRating"
itemscope itemscope
@ -59,7 +59,7 @@
{% if status.book %} {% if status.book %}
{% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %} {% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %}
<a href="{{ status.book.local_path }}">{{ status.book|title }}</a>{% if status.status_type == 'Rating' %}: <a href="{{ status.book.local_path }}">{{ status.book|book_title }}</a>{% if status.status_type == 'Rating' %}:
<span <span
itemprop="reviewRating" itemprop="reviewRating"
itemscope itemscope
@ -78,7 +78,7 @@
{% endif %} {% endif %}
{% elif status.mention_books %} {% elif status.mention_books %}
<a href="{{ status.mention_books.first.local_path }}"> <a href="{{ status.mention_books.first.local_path }}">
{{ status.mention_books.first.title }} {{ status.mention_books.first|book_title }}
</a> </a>
{% endif %} {% endif %}
{% include 'snippets/stars.html' with rating=status.rating %} {% include 'snippets/stars.html' with rating=status.rating %}
@ -87,7 +87,7 @@
{% include 'snippets/book_titleby.html' with book=status.book %} {% include 'snippets/book_titleby.html' with book=status.book %}
{% endif %} {% endif %}
{% elif status.mention_books %} {% elif status.mention_books %}
<a href="{{ status.mention_books.first.local_path }}">{{ status.mention_books.first|title }}</a> <a href="{{ status.mention_books.first.local_path }}">{{ status.mention_books.first|book_title }}</a>
{% endif %} {% endif %}
</h3> </h3>

View file

@ -18,7 +18,7 @@ def get_user_identifier(user):
return user.localname if user.localname else user.username return user.localname if user.localname else user.username
@register.filter(name="title") @register.filter(name="book_title")
def get_title(book): def get_title(book):
"""display the subtitle if the title is short""" """display the subtitle if the title is short"""
if not book: if not book:

View file

@ -0,0 +1,137 @@
""" test for app action functionality """
from django.template.response import TemplateResponse
from django.test import TestCase
from django.test.client import RequestFactory
from bookwyrm import forms, models, views
class AnnouncementViews(TestCase):
"""every response to a get request, html or json"""
def setUp(self):
"""we need basic test data and mocks"""
self.factory = RequestFactory()
self.local_user = models.User.objects.create_user(
"mouse@local.com",
"mouse@mouse.mouse",
"password",
local=True,
localname="mouse",
)
models.SiteSettings.objects.create()
def test_announcements_page(self):
"""there are so many views, this just makes sure it LOADS"""
models.Announcement.objects.create(preview="hi", user=self.local_user)
view = views.Announcements.as_view()
request = self.factory.get("")
request.user = self.local_user
request.user.is_superuser = True
result = view(request)
self.assertIsInstance(result, TemplateResponse)
result.render()
self.assertEqual(result.status_code, 200)
def test_announcements_page_empty(self):
"""there are so many views, this just makes sure it LOADS"""
view = views.Announcements.as_view()
request = self.factory.get("")
request.user = self.local_user
request.user.is_superuser = True
result = view(request)
self.assertIsInstance(result, TemplateResponse)
result.render()
self.assertEqual(result.status_code, 200)
def test_announcement_page(self):
"""there are so many views, this just makes sure it LOADS"""
announcement = models.Announcement.objects.create(
preview="hi", user=self.local_user
)
view = views.Announcement.as_view()
request = self.factory.get("")
request.user = self.local_user
request.user.is_superuser = True
result = view(request, announcement.id)
self.assertIsInstance(result, TemplateResponse)
result.render()
self.assertEqual(result.status_code, 200)
def test_create_announcement(self):
"""create a new announcement"""
view = views.Announcements.as_view()
form = forms.AnnouncementForm()
form.data["preview"] = "hi hi"
form.data["start_date"] = "2021-05-20"
form.data["user"] = self.local_user.id
request = self.factory.post("", form.data)
request.user = self.local_user
request.user.is_superuser = True
view(request)
announcement = models.Announcement.objects.get()
self.assertEqual(announcement.preview, "hi hi")
self.assertEqual(announcement.start_date.year, 2021)
self.assertEqual(announcement.start_date.month, 5)
self.assertEqual(announcement.start_date.day, 20)
def test_edit_announcement(self):
"""edit an announcement"""
announcement = models.Announcement.objects.create(
preview="hi", user=self.local_user
)
view = views.Announcement.as_view()
form = forms.AnnouncementForm(instance=announcement)
form.data["preview"] = "hi hi"
form.data["start_date"] = "2021-05-20"
form.data["user"] = self.local_user.id
request = self.factory.post("", form.data)
request.user = self.local_user
request.user.is_superuser = True
view(request, announcement.id)
announcement.refresh_from_db()
self.assertEqual(announcement.preview, "hi hi")
self.assertEqual(announcement.start_date.year, 2021)
self.assertEqual(announcement.start_date.month, 5)
self.assertEqual(announcement.start_date.day, 20)
def test_delete_announcement(self):
"""delete an announcement"""
announcement = models.Announcement.objects.create(
preview="hi", user=self.local_user
)
view = views.delete_announcement
request = self.factory.post("")
request.user = self.local_user
request.user.is_superuser = True
view(request, announcement.id)
self.assertFalse(models.Announcement.objects.exists())
def test_view_announcement(self):
"""display announcement on other pages"""
view = views.User.as_view()
request = self.factory.get("")
request.user = self.local_user
result = view(request, self.local_user.localname)
self.assertIsInstance(result, TemplateResponse)
result.render()
self.assertEqual(result.status_code, 200)

View file

@ -56,6 +56,21 @@ urlpatterns = [
), ),
# admin # admin
re_path(r"^settings/site-settings/?$", views.Site.as_view(), name="settings-site"), re_path(r"^settings/site-settings/?$", views.Site.as_view(), name="settings-site"),
re_path(
r"^settings/announcements/?$",
views.Announcements.as_view(),
name="settings-announcements",
),
re_path(
r"^settings/announcements/(?P<announcement_id>\d+)/?$",
views.Announcement.as_view(),
name="settings-announcements",
),
re_path(
r"^settings/announcements/(?P<announcement_id>\d+)/delete/?$",
views.delete_announcement,
name="settings-announcements-delete",
),
re_path( re_path(
r"^settings/email-preview/?$", r"^settings/email-preview/?$",
views.site.email_preview, views.site.email_preview,

View file

@ -1,4 +1,5 @@
""" make sure all our nice views are available """ """ make sure all our nice views are available """
from .announcements import Announcements, Announcement, delete_announcement
from .authentication import Login, Register, Logout from .authentication import Login, Register, Logout
from .author import Author, EditAuthor from .author import Author, EditAuthor
from .block import Block, unblock from .block import Block, unblock

View file

@ -0,0 +1,97 @@
""" make announcements """
from django.contrib.auth.decorators import login_required, permission_required
from django.core.paginator import Paginator
from django.shortcuts import get_object_or_404, redirect
from django.template.response import TemplateResponse
from django.utils.decorators import method_decorator
from django.views import View
from bookwyrm import forms, models
from bookwyrm.settings import PAGE_LENGTH
# pylint: disable=no-self-use
@method_decorator(login_required, name="dispatch")
@method_decorator(
permission_required("bookwyrm.edit_instance_settings", raise_exception=True),
name="dispatch",
)
class Announcements(View):
"""tell everyone"""
def get(self, request):
"""view and create announcements"""
announcements = models.Announcement.objects
sort = request.GET.get("sort", "-created_date")
sort_fields = [
"created_date",
"preview",
"start_date",
"end_date",
"active",
]
if sort in sort_fields + ["-{:s}".format(f) for f in sort_fields]:
announcements = announcements.order_by(sort)
data = {
"announcements": Paginator(announcements, PAGE_LENGTH).get_page(
request.GET.get("page")
),
"form": forms.AnnouncementForm(),
"sort": sort,
}
return TemplateResponse(request, "settings/announcements.html", data)
def post(self, request):
"""edit the site settings"""
form = forms.AnnouncementForm(request.POST)
if form.is_valid():
form.save()
# reset the create form
form = forms.AnnouncementForm()
data = {
"announcements": Paginator(
models.Announcement.objects.all(), PAGE_LENGTH
).get_page(request.GET.get("page")),
"form": form,
}
return TemplateResponse(request, "settings/announcements.html", data)
@method_decorator(login_required, name="dispatch")
@method_decorator(
permission_required("bookwyrm.edit_instance_settings", raise_exception=True),
name="dispatch",
)
class Announcement(View):
"""edit an announcement"""
def get(self, request, announcement_id):
"""view announcement"""
announcement = get_object_or_404(models.Announcement, id=announcement_id)
data = {
"announcement": announcement,
"form": forms.AnnouncementForm(instance=announcement),
}
return TemplateResponse(request, "settings/announcement.html", data)
def post(self, request, announcement_id):
"""edit announcement"""
announcement = get_object_or_404(models.Announcement, id=announcement_id)
form = forms.AnnouncementForm(request.POST, instance=announcement)
if form.is_valid():
announcement = form.save()
data = {
"announcement": announcement,
"form": form,
}
return TemplateResponse(request, "settings/announcement.html", data)
@login_required
@permission_required("bookwyrm.edit_instance_settings", raise_exception=True)
def delete_announcement(_, announcement_id):
"""delete announcement"""
announcement = get_object_or_404(models.Announcement, id=announcement_id)
announcement.delete()
return redirect("settings-announcements")

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -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-05-14 15:12-0700\n" "POT-Creation-Date: 2021-05-20 12:12-0700\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"
@ -47,29 +47,29 @@ msgstr ""
msgid "Unlimited" msgid "Unlimited"
msgstr "" msgstr ""
#: bookwyrm/forms.py:293 #: bookwyrm/forms.py:299
msgid "List Order" msgid "List Order"
msgstr "" msgstr ""
#: bookwyrm/forms.py:294 #: bookwyrm/forms.py:300
msgid "Book Title" msgid "Book Title"
msgstr "" msgstr ""
#: bookwyrm/forms.py:295 bookwyrm/templates/snippets/create_status_form.html:34 #: bookwyrm/forms.py:301 bookwyrm/templates/snippets/create_status_form.html:34
#: bookwyrm/templates/user/shelf/shelf.html:84 #: bookwyrm/templates/user/shelf/shelf.html:84
#: bookwyrm/templates/user/shelf/shelf.html:115 #: bookwyrm/templates/user/shelf/shelf.html:115
msgid "Rating" msgid "Rating"
msgstr "" msgstr ""
#: bookwyrm/forms.py:297 bookwyrm/templates/lists/list.html:101 #: bookwyrm/forms.py:303 bookwyrm/templates/lists/list.html:101
msgid "Sort By" msgid "Sort By"
msgstr "" msgstr ""
#: bookwyrm/forms.py:301 #: bookwyrm/forms.py:307
msgid "Ascending" msgid "Ascending"
msgstr "" msgstr ""
#: bookwyrm/forms.py:302 #: bookwyrm/forms.py:308
msgid "Descending" msgid "Descending"
msgstr "" msgstr ""
@ -83,7 +83,7 @@ msgstr ""
msgid "%(value)s is not a valid username" msgid "%(value)s is not a valid username"
msgstr "" msgstr ""
#: bookwyrm/models/fields.py:165 bookwyrm/templates/layout.html:156 #: bookwyrm/models/fields.py:165 bookwyrm/templates/layout.html:155
msgid "username" msgid "username"
msgstr "" msgstr ""
@ -136,34 +136,34 @@ msgstr ""
msgid "Edit Author" msgid "Edit Author"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:33 #: bookwyrm/templates/author/author.html:32
#: bookwyrm/templates/author/edit_author.html:38 #: bookwyrm/templates/author/edit_author.html:38
msgid "Aliases:" msgid "Aliases:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:39 #: bookwyrm/templates/author/author.html:38
msgid "Born:" msgid "Born:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:45 #: bookwyrm/templates/author/author.html:44
msgid "Died:" msgid "Died:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:52 #: bookwyrm/templates/author/author.html:51
msgid "Wikipedia" msgid "Wikipedia"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:56 #: bookwyrm/templates/author/author.html:55
#: bookwyrm/templates/book/book.html:81 #: bookwyrm/templates/book/book.html:78
msgid "View on OpenLibrary" msgid "View on OpenLibrary"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:61 #: bookwyrm/templates/author/author.html:60
#: bookwyrm/templates/book/book.html:84 #: bookwyrm/templates/book/book.html:81
msgid "View on Inventaire" msgid "View on Inventaire"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:75 #: bookwyrm/templates/author/author.html:74
#, python-format #, python-format
msgid "Books by %(name)s" msgid "Books by %(name)s"
msgstr "" msgstr ""
@ -200,8 +200,9 @@ msgid "Name:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/edit_author.html:40 #: bookwyrm/templates/author/edit_author.html:40
#: bookwyrm/templates/book/edit_book.html:128 #: bookwyrm/templates/book/edit_book.html:132
#: bookwyrm/templates/book/edit_book.html:165 #: bookwyrm/templates/book/edit_book.html:141
#: bookwyrm/templates/book/edit_book.html:178
msgid "Separate multiple values with commas." msgid "Separate multiple values with commas."
msgstr "" msgstr ""
@ -226,11 +227,11 @@ msgid "Author Identifiers"
msgstr "" msgstr ""
#: bookwyrm/templates/author/edit_author.html:74 #: bookwyrm/templates/author/edit_author.html:74
#: bookwyrm/templates/book/edit_book.html:223
msgid "Openlibrary key:" msgid "Openlibrary key:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/edit_author.html:79 #: bookwyrm/templates/author/edit_author.html:79
#: bookwyrm/templates/book/edit_book.html:243
msgid "Inventaire ID:" msgid "Inventaire ID:"
msgstr "" msgstr ""
@ -243,12 +244,13 @@ msgid "Goodreads key:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/edit_author.html:98 #: bookwyrm/templates/author/edit_author.html:98
#: bookwyrm/templates/book/book.html:127 #: bookwyrm/templates/book/book.html:124
#: bookwyrm/templates/book/edit_book.html:241 #: bookwyrm/templates/book/edit_book.html:263
#: bookwyrm/templates/lists/form.html:42 #: bookwyrm/templates/lists/form.html:42
#: bookwyrm/templates/preferences/edit_user.html:70 #: bookwyrm/templates/preferences/edit_user.html:70
#: bookwyrm/templates/settings/announcement_form.html:65
#: bookwyrm/templates/settings/edit_server.html:68 #: bookwyrm/templates/settings/edit_server.html:68
#: bookwyrm/templates/settings/federated_server.html:94 #: bookwyrm/templates/settings/federated_server.html:98
#: bookwyrm/templates/settings/site.html:97 #: bookwyrm/templates/settings/site.html:97
#: bookwyrm/templates/snippets/readthrough.html:77 #: bookwyrm/templates/snippets/readthrough.html:77
#: bookwyrm/templates/snippets/shelve_button/finish_reading_modal.html:42 #: bookwyrm/templates/snippets/shelve_button/finish_reading_modal.html:42
@ -259,11 +261,11 @@ msgid "Save"
msgstr "" msgstr ""
#: bookwyrm/templates/author/edit_author.html:99 #: bookwyrm/templates/author/edit_author.html:99
#: bookwyrm/templates/book/book.html:128 bookwyrm/templates/book/book.html:180 #: bookwyrm/templates/book/book.html:125 bookwyrm/templates/book/book.html:174
#: bookwyrm/templates/book/cover_modal.html:32 #: bookwyrm/templates/book/cover_modal.html:32
#: bookwyrm/templates/book/edit_book.html:242 #: bookwyrm/templates/book/edit_book.html:264
#: bookwyrm/templates/moderation/report_modal.html:34 #: bookwyrm/templates/moderation/report_modal.html:34
#: bookwyrm/templates/settings/federated_server.html:95 #: bookwyrm/templates/settings/federated_server.html:99
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:17 #: bookwyrm/templates/snippets/delete_readthrough_modal.html:17
#: bookwyrm/templates/snippets/goal_form.html:32 #: bookwyrm/templates/snippets/goal_form.html:32
#: bookwyrm/templates/snippets/readthrough.html:78 #: bookwyrm/templates/snippets/readthrough.html:78
@ -274,102 +276,98 @@ msgstr ""
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:33 #: bookwyrm/templates/book/book.html:31
#: bookwyrm/templates/discover/large-book.html:25 #: bookwyrm/templates/discover/large-book.html:25
#: bookwyrm/templates/discover/small-book.html:19 #: bookwyrm/templates/discover/small-book.html:19
msgid "by" msgid "by"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:41 bookwyrm/templates/book/book.html:42 #: bookwyrm/templates/book/book.html:39 bookwyrm/templates/book/book.html:40
msgid "Edit Book" msgid "Edit Book"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:60 #: bookwyrm/templates/book/book.html:57
#: bookwyrm/templates/book/cover_modal.html:5 #: bookwyrm/templates/book/cover_modal.html:5
msgid "Add cover" msgid "Add cover"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:64 #: bookwyrm/templates/book/book.html:61
msgid "Failed to load cover" msgid "Failed to load cover"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:104 #: bookwyrm/templates/book/book.html:101
#, python-format #, python-format
msgid "(%(review_count)s review)" msgid "(%(review_count)s review)"
msgid_plural "(%(review_count)s reviews)" msgid_plural "(%(review_count)s reviews)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: bookwyrm/templates/book/book.html:116 #: bookwyrm/templates/book/book.html:113
msgid "Add Description" msgid "Add Description"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:123 #: bookwyrm/templates/book/book.html:120
#: bookwyrm/templates/book/edit_book.html:107 #: bookwyrm/templates/book/edit_book.html:108
#: bookwyrm/templates/lists/form.html:12 #: bookwyrm/templates/lists/form.html:12
msgid "Description:" msgid "Description:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:137 #: bookwyrm/templates/book/book.html:134
#, python-format #, python-format
msgid "<a href=\"%(path)s/editions\">%(count)s editions</a>" msgid "<a href=\"%(path)s/editions\">%(count)s editions</a>"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:145 #: bookwyrm/templates/book/book.html:142
#, python-format #, python-format
msgid "This edition is on your <a href=\"%(path)s\">%(shelf_name)s</a> shelf." msgid "This edition is on your <a href=\"%(path)s\">%(shelf_name)s</a> shelf."
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:151 #: bookwyrm/templates/book/book.html:148
#, python-format #, python-format
msgid "A <a href=\"%(book_path)s\">different edition</a> of this book is on your <a href=\"%(shelf_path)s\">%(shelf_name)s</a> shelf." msgid "A <a href=\"%(book_path)s\">different edition</a> of this book is on your <a href=\"%(shelf_path)s\">%(shelf_name)s</a> shelf."
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:162 #: bookwyrm/templates/book/book.html:159
msgid "Your reading activity" msgid "Your reading activity"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:165 #: bookwyrm/templates/book/book.html:162
msgid "Add read dates" msgid "Add read dates"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:170 #: bookwyrm/templates/book/book.html:171
msgid "You don't have any reading activity for this book."
msgstr ""
#: bookwyrm/templates/book/book.html:177
msgid "Create" msgid "Create"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:203 #: bookwyrm/templates/book/book.html:181
msgid "You don't have any reading activity for this book."
msgstr ""
#: bookwyrm/templates/book/book.html:200
msgid "Reviews" msgid "Reviews"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:208 #: bookwyrm/templates/book/book.html:205
msgid "Your reviews" msgid "Your reviews"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:214 #: bookwyrm/templates/book/book.html:211
msgid "Your comments" msgid "Your comments"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:220 #: bookwyrm/templates/book/book.html:217
msgid "Your quotes" msgid "Your quotes"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:255 #: bookwyrm/templates/book/book.html:253
msgid "rated it"
msgstr ""
#: bookwyrm/templates/book/book.html:276
msgid "Subjects" msgid "Subjects"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:288 #: bookwyrm/templates/book/book.html:265
msgid "Places" msgid "Places"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:299 bookwyrm/templates/layout.html:65 #: bookwyrm/templates/book/book.html:276 bookwyrm/templates/layout.html:64
#: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12 #: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12
#: bookwyrm/templates/search/layout.html:25 #: bookwyrm/templates/search/layout.html:25
#: bookwyrm/templates/search/layout.html:50 #: bookwyrm/templates/search/layout.html:50
@ -377,37 +375,37 @@ msgstr ""
msgid "Lists" msgid "Lists"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:310 #: bookwyrm/templates/book/book.html:287
msgid "Add to list" msgid "Add to list"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book.html:320 #: bookwyrm/templates/book/book.html:297
#: bookwyrm/templates/book/cover_modal.html:31 #: bookwyrm/templates/book/cover_modal.html:31
#: bookwyrm/templates/lists/list.html:164 #: bookwyrm/templates/lists/list.html:164
msgid "Add" msgid "Add"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book_identifiers.html:8 #: bookwyrm/templates/book/book_identifiers.html:7
msgid "ISBN:" msgid "ISBN:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book_identifiers.html:15 #: bookwyrm/templates/book/book_identifiers.html:14
#: bookwyrm/templates/book/edit_book.html:227 #: bookwyrm/templates/book/edit_book.html:248
msgid "OCLC Number:" msgid "OCLC Number:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/book_identifiers.html:22 #: bookwyrm/templates/book/book_identifiers.html:21
#: bookwyrm/templates/book/edit_book.html:231 #: bookwyrm/templates/book/edit_book.html:253
msgid "ASIN:" msgid "ASIN:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/cover_modal.html:17 #: bookwyrm/templates/book/cover_modal.html:17
#: bookwyrm/templates/book/edit_book.html:179 #: bookwyrm/templates/book/edit_book.html:192
msgid "Upload cover:" msgid "Upload cover:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/cover_modal.html:23 #: bookwyrm/templates/book/cover_modal.html:23
#: bookwyrm/templates/book/edit_book.html:185 #: bookwyrm/templates/book/edit_book.html:198
msgid "Load cover from url:" msgid "Load cover from url:"
msgstr "" msgstr ""
@ -463,81 +461,89 @@ msgstr ""
msgid "Back" msgid "Back"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:92 #: bookwyrm/templates/book/edit_book.html:93
msgid "Title:" msgid "Title:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:100 #: bookwyrm/templates/book/edit_book.html:101
msgid "Subtitle:" msgid "Subtitle:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:113 #: bookwyrm/templates/book/edit_book.html:114
msgid "Series:" msgid "Series:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:120 #: bookwyrm/templates/book/edit_book.html:122
msgid "Series number:" msgid "Series number:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:126 #: bookwyrm/templates/book/edit_book.html:130
msgid "Languages:"
msgstr ""
#: bookwyrm/templates/book/edit_book.html:139
msgid "Publisher:" msgid "Publisher:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:135 #: bookwyrm/templates/book/edit_book.html:148
msgid "First published date:" msgid "First published date:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:143 #: bookwyrm/templates/book/edit_book.html:156
msgid "Published date:" msgid "Published date:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:152 #: bookwyrm/templates/book/edit_book.html:165
msgid "Authors" msgid "Authors"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:158 #: bookwyrm/templates/book/edit_book.html:171
#, python-format #, python-format
msgid "Remove <a href=\"%(path)s\">%(name)s</a>" msgid "Remove <a href=\"%(path)s\">%(name)s</a>"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:163 #: bookwyrm/templates/book/edit_book.html:176
msgid "Add Authors:" msgid "Add Authors:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:164 #: bookwyrm/templates/book/edit_book.html:177
msgid "John Doe, Jane Smith" msgid "John Doe, Jane Smith"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:170 #: bookwyrm/templates/book/edit_book.html:183
#: bookwyrm/templates/user/shelf/shelf.html:77 #: bookwyrm/templates/user/shelf/shelf.html:77
msgid "Cover" msgid "Cover"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:198 #: bookwyrm/templates/book/edit_book.html:211
msgid "Physical Properties" msgid "Physical Properties"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:199 #: bookwyrm/templates/book/edit_book.html:212
#: bookwyrm/templates/book/format_filter.html:5 #: bookwyrm/templates/book/format_filter.html:5
msgid "Format:" msgid "Format:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:207 #: bookwyrm/templates/book/edit_book.html:220
msgid "Pages:" msgid "Pages:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:214 #: bookwyrm/templates/book/edit_book.html:227
msgid "Book Identifiers" msgid "Book Identifiers"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:215 #: bookwyrm/templates/book/edit_book.html:228
msgid "ISBN 13:" msgid "ISBN 13:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:219 #: bookwyrm/templates/book/edit_book.html:233
msgid "ISBN 10:" msgid "ISBN 10:"
msgstr "" msgstr ""
#: bookwyrm/templates/book/edit_book.html:238
msgid "Openlibrary ID:"
msgstr ""
#: bookwyrm/templates/book/editions.html:4 #: bookwyrm/templates/book/editions.html:4
#, python-format #, python-format
msgid "Editions of %(book_title)s" msgid "Editions of %(book_title)s"
@ -592,12 +598,17 @@ msgstr ""
msgid "Published by %(publisher)s." msgid "Published by %(publisher)s."
msgstr "" msgstr ""
#: bookwyrm/templates/book/rating.html:13
msgid "rated it"
msgstr ""
#: bookwyrm/templates/components/inline_form.html:8 #: bookwyrm/templates/components/inline_form.html:8
#: bookwyrm/templates/components/modal.html:11 #: bookwyrm/templates/components/modal.html:11
#: bookwyrm/templates/feed/feed_layout.html:69 #: bookwyrm/templates/feed/feed_layout.html:69
#: bookwyrm/templates/get_started/layout.html:19 #: bookwyrm/templates/get_started/layout.html:19
#: bookwyrm/templates/get_started/layout.html:52 #: bookwyrm/templates/get_started/layout.html:52
#: bookwyrm/templates/search/book.html:32 #: bookwyrm/templates/search/book.html:32
#: bookwyrm/templates/snippets/announcement.html:17
msgid "Close" msgid "Close"
msgstr "" msgstr ""
@ -619,7 +630,7 @@ msgstr ""
#: bookwyrm/templates/directory/directory.html:4 #: bookwyrm/templates/directory/directory.html:4
#: bookwyrm/templates/directory/directory.html:9 #: bookwyrm/templates/directory/directory.html:9
#: bookwyrm/templates/layout.html:93 #: bookwyrm/templates/layout.html:92
msgid "Directory" msgid "Directory"
msgstr "" msgstr ""
@ -633,6 +644,7 @@ msgid "You can opt-out at any time in your <a href=\"%(path)s\">profile settings
msgstr "" msgstr ""
#: bookwyrm/templates/directory/directory.html:29 #: bookwyrm/templates/directory/directory.html:29
#: bookwyrm/templates/snippets/announcement.html:30
#: bookwyrm/templates/snippets/goal_card.html:22 #: bookwyrm/templates/snippets/goal_card.html:22
msgid "Dismiss message" msgid "Dismiss message"
msgstr "" msgstr ""
@ -723,7 +735,7 @@ msgid "Join %(name)s"
msgstr "" msgstr ""
#: bookwyrm/templates/discover/landing_layout.html:51 #: bookwyrm/templates/discover/landing_layout.html:51
#: bookwyrm/templates/login.html:48 #: bookwyrm/templates/login.html:51
msgid "This instance is closed" msgid "This instance is closed"
msgstr "" msgstr ""
@ -819,7 +831,7 @@ msgid "Direct Messages with <a href=\"%(path)s\">%(username)s</a>"
msgstr "" msgstr ""
#: bookwyrm/templates/feed/direct_messages.html:10 #: bookwyrm/templates/feed/direct_messages.html:10
#: bookwyrm/templates/layout.html:88 #: bookwyrm/templates/layout.html:87
msgid "Direct Messages" msgid "Direct Messages"
msgstr "" msgstr ""
@ -875,7 +887,7 @@ msgid "Updates"
msgstr "" msgstr ""
#: bookwyrm/templates/feed/feed_layout.html:10 #: bookwyrm/templates/feed/feed_layout.html:10
#: bookwyrm/templates/layout.html:59 #: bookwyrm/templates/layout.html:58
#: bookwyrm/templates/user/shelf/books_header.html:3 #: bookwyrm/templates/user/shelf/books_header.html:3
msgid "Your books" msgid "Your books"
msgstr "" msgstr ""
@ -949,7 +961,7 @@ msgstr ""
#: bookwyrm/templates/get_started/books.html:17 #: bookwyrm/templates/get_started/books.html:17
#: bookwyrm/templates/get_started/users.html:18 #: bookwyrm/templates/get_started/users.html:18
#: bookwyrm/templates/get_started/users.html:19 #: bookwyrm/templates/get_started/users.html:19
#: bookwyrm/templates/layout.html:38 bookwyrm/templates/layout.html:39 #: bookwyrm/templates/layout.html:37 bookwyrm/templates/layout.html:38
#: bookwyrm/templates/lists/list.html:124 #: bookwyrm/templates/lists/list.html:124
#: bookwyrm/templates/search/layout.html:4 #: bookwyrm/templates/search/layout.html:4
#: bookwyrm/templates/search/layout.html:9 #: bookwyrm/templates/search/layout.html:9
@ -1078,7 +1090,7 @@ msgid "%(username)s's %(year)s Books"
msgstr "" msgstr ""
#: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9
#: bookwyrm/templates/layout.html:98 #: bookwyrm/templates/layout.html:97
msgid "Import Books" msgid "Import Books"
msgstr "" msgstr ""
@ -1179,7 +1191,7 @@ msgid "Imported"
msgstr "" msgstr ""
#: bookwyrm/templates/invite.html:4 bookwyrm/templates/invite.html:12 #: bookwyrm/templates/invite.html:4 bookwyrm/templates/invite.html:12
#: bookwyrm/templates/login.html:43 #: bookwyrm/templates/login.html:46
msgid "Create an Account" msgid "Create an Account"
msgstr "" msgstr ""
@ -1204,23 +1216,23 @@ msgstr ""
msgid "Matching Books" msgid "Matching Books"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:34 #: bookwyrm/templates/layout.html:33
msgid "Search for a book or user" msgid "Search for a book or user"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:48 bookwyrm/templates/layout.html:49 #: bookwyrm/templates/layout.html:47 bookwyrm/templates/layout.html:48
msgid "Main navigation menu" msgid "Main navigation menu"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:62 #: bookwyrm/templates/layout.html:61
msgid "Feed" msgid "Feed"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:103 #: bookwyrm/templates/layout.html:102
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:112 #: bookwyrm/templates/layout.html:111
#: bookwyrm/templates/settings/admin_layout.html:31 #: bookwyrm/templates/settings/admin_layout.html:31
#: bookwyrm/templates/settings/manage_invite_requests.html:15 #: bookwyrm/templates/settings/manage_invite_requests.html:15
#: bookwyrm/templates/settings/manage_invites.html:3 #: bookwyrm/templates/settings/manage_invites.html:3
@ -1228,61 +1240,61 @@ msgstr ""
msgid "Invites" msgid "Invites"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:119 #: bookwyrm/templates/layout.html:118
msgid "Admin" msgid "Admin"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:126 #: bookwyrm/templates/layout.html:125
msgid "Log out" msgid "Log out"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:134 bookwyrm/templates/layout.html:135 #: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134
#: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:6
#: bookwyrm/templates/notifications.html:11 #: bookwyrm/templates/notifications.html:11
msgid "Notifications" msgid "Notifications"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:155 bookwyrm/templates/layout.html:159 #: bookwyrm/templates/layout.html:154 bookwyrm/templates/layout.html:158
#: bookwyrm/templates/login.html:17 #: bookwyrm/templates/login.html:17
#: bookwyrm/templates/snippets/register_form.html:4 #: bookwyrm/templates/snippets/register_form.html:4
msgid "Username:" msgid "Username:"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:160 #: bookwyrm/templates/layout.html:159
msgid "password" msgid "password"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:161 bookwyrm/templates/login.html:36 #: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:36
msgid "Forgot your password?" msgid "Forgot your password?"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:164 bookwyrm/templates/login.html:10 #: bookwyrm/templates/layout.html:163 bookwyrm/templates/login.html:10
#: bookwyrm/templates/login.html:33 #: bookwyrm/templates/login.html:33
msgid "Log in" msgid "Log in"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:172 #: bookwyrm/templates/layout.html:171
msgid "Join" msgid "Join"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:198 #: bookwyrm/templates/layout.html:206
msgid "About this server" msgid "About this server"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:202 #: bookwyrm/templates/layout.html:210
msgid "Contact site admin" msgid "Contact site admin"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:206 #: bookwyrm/templates/layout.html:214
msgid "Documentation" msgid "Documentation"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:213 #: bookwyrm/templates/layout.html:221
#, python-format #, python-format
msgid "Support %(site_name)s on <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>" msgid "Support %(site_name)s on <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>"
msgstr "" msgstr ""
#: bookwyrm/templates/layout.html:217 #: bookwyrm/templates/layout.html:225
msgid "BookWyrm's source code is freely available. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>." msgid "BookWyrm's source code is freely available. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>."
msgstr "" msgstr ""
@ -1353,6 +1365,7 @@ msgstr ""
#: bookwyrm/templates/lists/form.html:31 #: bookwyrm/templates/lists/form.html:31
#: bookwyrm/templates/moderation/reports.html:25 #: bookwyrm/templates/moderation/reports.html:25
#: bookwyrm/templates/search/book.html:30 #: bookwyrm/templates/search/book.html:30
#: bookwyrm/templates/snippets/announcement.html:15
msgid "Open" msgid "Open"
msgstr "" msgstr ""
@ -1436,11 +1449,11 @@ msgstr ""
msgid "Password:" msgid "Password:"
msgstr "" msgstr ""
#: bookwyrm/templates/login.html:49 #: bookwyrm/templates/login.html:52
msgid "Contact an administrator to get an invite" msgid "Contact an administrator to get an invite"
msgstr "" msgstr ""
#: bookwyrm/templates/login.html:59 #: bookwyrm/templates/login.html:63
msgid "More about this site" msgid "More about this site"
msgstr "" msgstr ""
@ -1778,31 +1791,118 @@ msgid "Instance Settings"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/admin_layout.html:48 #: bookwyrm/templates/settings/admin_layout.html:48
#: bookwyrm/templates/settings/announcements.html:3
#: bookwyrm/templates/settings/announcements.html:5
msgid "Announcements"
msgstr ""
#: bookwyrm/templates/settings/admin_layout.html:52
#: bookwyrm/templates/settings/site.html:4 #: bookwyrm/templates/settings/site.html:4
#: bookwyrm/templates/settings/site.html:6 #: bookwyrm/templates/settings/site.html:6
msgid "Site Settings" msgid "Site Settings"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/admin_layout.html:51 #: bookwyrm/templates/settings/admin_layout.html:55
#: bookwyrm/templates/settings/site.html:13 #: bookwyrm/templates/settings/site.html:13
msgid "Instance Info" msgid "Instance Info"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/admin_layout.html:52 #: bookwyrm/templates/settings/admin_layout.html:56
#: bookwyrm/templates/settings/site.html:39 #: bookwyrm/templates/settings/site.html:39
msgid "Images" msgid "Images"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/admin_layout.html:53 #: bookwyrm/templates/settings/admin_layout.html:57
#: bookwyrm/templates/settings/site.html:59 #: bookwyrm/templates/settings/site.html:59
msgid "Footer Content" msgid "Footer Content"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/admin_layout.html:54 #: bookwyrm/templates/settings/admin_layout.html:58
#: bookwyrm/templates/settings/site.html:81 #: bookwyrm/templates/settings/site.html:81
msgid "Registration" msgid "Registration"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/announcement.html:3
#: bookwyrm/templates/settings/announcement.html:6
msgid "Announcement"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:7
#: bookwyrm/templates/settings/federated_server.html:13
msgid "Back to list"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:11
msgid "Edit Announcement"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:20
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:15
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
msgid "Delete"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:35
msgid "Visible:"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:38
msgid "True"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:40
msgid "False"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:47
msgid "Start date:"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:54
msgid "End date:"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:60
msgid "Active:"
msgstr ""
#: bookwyrm/templates/settings/announcement_form.html:5
#: bookwyrm/templates/settings/announcements.html:8
msgid "Create Announcement"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:22
msgid "Date added"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:26
msgid "Preview"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:30
msgid "Start date"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:34
msgid "End date"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:38
#: bookwyrm/templates/settings/federation.html:30
#: bookwyrm/templates/settings/manage_invite_requests.html:44
#: bookwyrm/templates/settings/status_filter.html:5
#: bookwyrm/templates/user_admin/user_admin.html:34
msgid "Status"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:48
msgid "active"
msgstr ""
#: bookwyrm/templates/settings/announcements.html:48
msgid "inactive"
msgstr ""
#: bookwyrm/templates/settings/edit_server.html:3 #: bookwyrm/templates/settings/edit_server.html:3
#: bookwyrm/templates/settings/edit_server.html:6 #: bookwyrm/templates/settings/edit_server.html:6
#: bookwyrm/templates/settings/edit_server.html:20 #: bookwyrm/templates/settings/edit_server.html:20
@ -1814,7 +1914,6 @@ msgid "Add server"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/edit_server.html:7 #: bookwyrm/templates/settings/edit_server.html:7
#: bookwyrm/templates/settings/federated_server.html:13
#: bookwyrm/templates/settings/server_blocklist.html:7 #: bookwyrm/templates/settings/server_blocklist.html:7
msgid "Back to server list" msgid "Back to server list"
msgstr "" msgstr ""
@ -1829,7 +1928,7 @@ msgid "Instance:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/edit_server.html:37 #: bookwyrm/templates/settings/edit_server.html:37
#: bookwyrm/templates/settings/federated_server.html:30 #: bookwyrm/templates/settings/federated_server.html:31
#: bookwyrm/templates/user_admin/user_info.html:34 #: bookwyrm/templates/user_admin/user_info.html:34
msgid "Status:" msgid "Status:"
msgstr "" msgstr ""
@ -1840,13 +1939,13 @@ msgid "Blocked"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/edit_server.html:48 #: bookwyrm/templates/settings/edit_server.html:48
#: bookwyrm/templates/settings/federated_server.html:22 #: bookwyrm/templates/settings/federated_server.html:23
#: bookwyrm/templates/user_admin/user_info.html:26 #: bookwyrm/templates/user_admin/user_info.html:26
msgid "Software:" msgid "Software:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/edit_server.html:55 #: bookwyrm/templates/settings/edit_server.html:55
#: bookwyrm/templates/settings/federated_server.html:26 #: bookwyrm/templates/settings/federated_server.html:27
#: bookwyrm/templates/user_admin/user_info.html:30 #: bookwyrm/templates/user_admin/user_info.html:30
msgid "Version:" msgid "Version:"
msgstr "" msgstr ""
@ -1859,88 +1958,81 @@ msgstr ""
msgid "Details" msgid "Details"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:37 #: bookwyrm/templates/settings/federated_server.html:39
#: bookwyrm/templates/user/layout.html:56 #: bookwyrm/templates/user/layout.html:56
msgid "Activity" msgid "Activity"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:40 #: bookwyrm/templates/settings/federated_server.html:43
msgid "Users:" msgid "Users:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:43 #: bookwyrm/templates/settings/federated_server.html:46
#: bookwyrm/templates/settings/federated_server.html:50 #: bookwyrm/templates/settings/federated_server.html:53
msgid "View all" msgid "View all"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:47 #: bookwyrm/templates/settings/federated_server.html:50
msgid "Reports:" msgid "Reports:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:54 #: bookwyrm/templates/settings/federated_server.html:57
msgid "Followed by us:" msgid "Followed by us:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:60 #: bookwyrm/templates/settings/federated_server.html:63
msgid "Followed by them:" msgid "Followed by them:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:66 #: bookwyrm/templates/settings/federated_server.html:69
msgid "Blocked by us:" msgid "Blocked by us:"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:78 #: bookwyrm/templates/settings/federated_server.html:82
#: bookwyrm/templates/user_admin/user_info.html:39 #: bookwyrm/templates/user_admin/user_info.html:39
msgid "Notes" msgid "Notes"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:81 #: bookwyrm/templates/settings/federated_server.html:85
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:101 #: bookwyrm/templates/settings/federated_server.html:105
#: bookwyrm/templates/user_admin/user_moderation_actions.html:3 #: bookwyrm/templates/user_admin/user_moderation_actions.html:3
msgid "Actions" msgid "Actions"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:105 #: bookwyrm/templates/settings/federated_server.html:109
#: bookwyrm/templates/snippets/block_button.html:5 #: bookwyrm/templates/snippets/block_button.html:5
msgid "Block" msgid "Block"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:106 #: bookwyrm/templates/settings/federated_server.html:110
msgid "All users from this instance will be deactivated." msgid "All users from this instance will be deactivated."
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:111 #: bookwyrm/templates/settings/federated_server.html:115
#: bookwyrm/templates/snippets/block_button.html:10 #: bookwyrm/templates/snippets/block_button.html:10
msgid "Un-block" msgid "Un-block"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:112 #: bookwyrm/templates/settings/federated_server.html:116
msgid "All users from this instance will be re-activated." msgid "All users from this instance will be re-activated."
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federation.html:20 #: bookwyrm/templates/settings/federation.html:19
#: bookwyrm/templates/user_admin/server_filter.html:5 #: bookwyrm/templates/user_admin/server_filter.html:5
msgid "Server name" msgid "Server name"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federation.html:24 #: bookwyrm/templates/settings/federation.html:23
msgid "Date federated" msgid "Date federated"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federation.html:28 #: bookwyrm/templates/settings/federation.html:27
msgid "Software" msgid "Software"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federation.html:31
#: bookwyrm/templates/settings/manage_invite_requests.html:44
#: bookwyrm/templates/settings/status_filter.html:5
#: bookwyrm/templates/user_admin/user_admin.html:34
msgid "Status"
msgstr ""
#: bookwyrm/templates/settings/manage_invite_requests.html:4 #: bookwyrm/templates/settings/manage_invite_requests.html:4
#: bookwyrm/templates/settings/manage_invite_requests.html:11 #: bookwyrm/templates/settings/manage_invite_requests.html:11
#: bookwyrm/templates/settings/manage_invite_requests.html:25 #: bookwyrm/templates/settings/manage_invite_requests.html:25
@ -2124,6 +2216,11 @@ msgstr ""
msgid "Registration closed text:" msgid "Registration closed text:"
msgstr "" msgstr ""
#: bookwyrm/templates/snippets/announcement.html:27
#, python-format
msgid "Posted by <a href=\"%(user_path)s\">%(username)s</a>"
msgstr ""
#: bookwyrm/templates/snippets/book_cover.html:31 #: bookwyrm/templates/snippets/book_cover.html:31
msgid "No cover" msgid "No cover"
msgstr "" msgstr ""
@ -2229,11 +2326,6 @@ msgstr ""
msgid "You are deleting this readthrough and its %(count)s associated progress updates." msgid "You are deleting this readthrough and its %(count)s associated progress updates."
msgstr "" msgstr ""
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:15
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
msgid "Delete"
msgstr ""
#: bookwyrm/templates/snippets/fav_button.html:9 #: bookwyrm/templates/snippets/fav_button.html:9
#: bookwyrm/templates/snippets/fav_button.html:11 #: bookwyrm/templates/snippets/fav_button.html:11
msgid "Like" msgid "Like"
@ -2682,16 +2774,16 @@ msgstr ""
msgid "Edit profile" msgid "Edit profile"
msgstr "" msgstr ""
#: bookwyrm/templates/user/user.html:34 #: bookwyrm/templates/user/user.html:33
#, python-format #, python-format
msgid "View all %(size)s" msgid "View all %(size)s"
msgstr "" msgstr ""
#: bookwyrm/templates/user/user.html:47 #: bookwyrm/templates/user/user.html:46
msgid "View all books" msgid "View all books"
msgstr "" msgstr ""
#: bookwyrm/templates/user/user.html:60 #: bookwyrm/templates/user/user.html:59
msgid "User Activity" msgid "User Activity"
msgstr "" msgstr ""
@ -2794,11 +2886,11 @@ msgstr ""
msgid "Access level:" msgid "Access level:"
msgstr "" msgstr ""
#: bookwyrm/views/password.py:30 bookwyrm/views/password.py:35 #: bookwyrm/views/password.py:32
msgid "No user with that email address was found." msgid "No user with that email address was found."
msgstr "" msgstr ""
#: bookwyrm/views/password.py:44 #: bookwyrm/views/password.py:41
#, python-format #, python-format
msgid "A password reset link sent to %s" msgid "A password reset link sent to %s"
msgstr "" msgstr ""

Binary file not shown.

View file

@ -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-05-14 15:12-0700\n" "POT-Creation-Date: 2021-05-20 12:12-0700\n"
"PO-Revision-Date: 2021-03-19 11:49+0800\n" "PO-Revision-Date: 2021-03-19 11:49+0800\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -47,29 +47,29 @@ msgstr "%(count)d usos"
msgid "Unlimited" msgid "Unlimited"
msgstr "Sin límite" msgstr "Sin límite"
#: bookwyrm/forms.py:293 #: bookwyrm/forms.py:299
msgid "List Order" msgid "List Order"
msgstr "Orden de la lista" msgstr "Orden de la lista"
#: bookwyrm/forms.py:294 #: bookwyrm/forms.py:300
msgid "Book Title" msgid "Book Title"
msgstr "Título" msgstr "Título"
#: bookwyrm/forms.py:295 bookwyrm/templates/snippets/create_status_form.html:34 #: bookwyrm/forms.py:301 bookwyrm/templates/snippets/create_status_form.html:34
#: bookwyrm/templates/user/shelf/shelf.html:84 #: bookwyrm/templates/user/shelf/shelf.html:84
#: bookwyrm/templates/user/shelf/shelf.html:115 #: bookwyrm/templates/user/shelf/shelf.html:115
msgid "Rating" msgid "Rating"
msgstr "Calificación" msgstr "Calificación"
#: bookwyrm/forms.py:297 bookwyrm/templates/lists/list.html:101 #: bookwyrm/forms.py:303 bookwyrm/templates/lists/list.html:101
msgid "Sort By" msgid "Sort By"
msgstr "Ordenar por" msgstr "Ordenar por"
#: bookwyrm/forms.py:301 #: bookwyrm/forms.py:307
msgid "Ascending" msgid "Ascending"
msgstr "Ascendente" msgstr "Ascendente"
#: bookwyrm/forms.py:302 #: bookwyrm/forms.py:308
msgid "Descending" msgid "Descending"
msgstr "Descendente" msgstr "Descendente"
@ -83,7 +83,7 @@ msgstr "%(value)s no es un remote_id válido"
msgid "%(value)s is not a valid username" msgid "%(value)s is not a valid username"
msgstr "%(value)s no es un usuario válido" msgstr "%(value)s no es un usuario válido"
#: bookwyrm/models/fields.py:165 bookwyrm/templates/layout.html:156 #: bookwyrm/models/fields.py:165 bookwyrm/templates/layout.html:155
msgid "username" msgid "username"
msgstr "nombre de usuario" msgstr "nombre de usuario"
@ -136,36 +136,36 @@ msgstr "¡Algo salió mal! Disculpa."
msgid "Edit Author" msgid "Edit Author"
msgstr "Editar Autor/Autora" msgstr "Editar Autor/Autora"
#: bookwyrm/templates/author/author.html:33 #: bookwyrm/templates/author/author.html:32
#: bookwyrm/templates/author/edit_author.html:38 #: bookwyrm/templates/author/edit_author.html:38
msgid "Aliases:" msgid "Aliases:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:39 #: bookwyrm/templates/author/author.html:38
msgid "Born:" msgid "Born:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:45 #: bookwyrm/templates/author/author.html:44
msgid "Died:" msgid "Died:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:52 #: bookwyrm/templates/author/author.html:51
msgid "Wikipedia" msgid "Wikipedia"
msgstr "Wikipedia" msgstr "Wikipedia"
#: bookwyrm/templates/author/author.html:56 #: bookwyrm/templates/author/author.html:55
#: bookwyrm/templates/book/book.html:81 #: bookwyrm/templates/book/book.html:78
msgid "View on OpenLibrary" msgid "View on OpenLibrary"
msgstr "Ver en OpenLibrary" msgstr "Ver en OpenLibrary"
#: bookwyrm/templates/author/author.html:61 #: bookwyrm/templates/author/author.html:60
#: bookwyrm/templates/book/book.html:84 #: bookwyrm/templates/book/book.html:81
#, fuzzy #, fuzzy
#| msgid "View on OpenLibrary" #| msgid "View on OpenLibrary"
msgid "View on Inventaire" msgid "View on Inventaire"
msgstr "Ver en OpenLibrary" msgstr "Ver en OpenLibrary"
#: bookwyrm/templates/author/author.html:75 #: bookwyrm/templates/author/author.html:74
#, python-format #, python-format
msgid "Books by %(name)s" msgid "Books by %(name)s"
msgstr "Libros de %(name)s" msgstr "Libros de %(name)s"
@ -202,8 +202,9 @@ msgid "Name:"
msgstr "Nombre:" msgstr "Nombre:"
#: bookwyrm/templates/author/edit_author.html:40 #: bookwyrm/templates/author/edit_author.html:40
#: bookwyrm/templates/book/edit_book.html:128 #: bookwyrm/templates/book/edit_book.html:132
#: bookwyrm/templates/book/edit_book.html:165 #: bookwyrm/templates/book/edit_book.html:141
#: bookwyrm/templates/book/edit_book.html:178
#, fuzzy #, fuzzy
#| msgid "Separate multiple publishers with commas." #| msgid "Separate multiple publishers with commas."
msgid "Separate multiple values with commas." msgid "Separate multiple values with commas."
@ -230,11 +231,11 @@ msgid "Author Identifiers"
msgstr "Identificadores de autor/autora" msgstr "Identificadores de autor/autora"
#: bookwyrm/templates/author/edit_author.html:74 #: bookwyrm/templates/author/edit_author.html:74
#: bookwyrm/templates/book/edit_book.html:223
msgid "Openlibrary key:" msgid "Openlibrary key:"
msgstr "Clave OpenLibrary:" msgstr "Clave OpenLibrary:"
#: bookwyrm/templates/author/edit_author.html:79 #: bookwyrm/templates/author/edit_author.html:79
#: bookwyrm/templates/book/edit_book.html:243
#, fuzzy #, fuzzy
#| msgid "View on OpenLibrary" #| msgid "View on OpenLibrary"
msgid "Inventaire ID:" msgid "Inventaire ID:"
@ -249,12 +250,13 @@ msgid "Goodreads key:"
msgstr "Clave Goodreads:" msgstr "Clave Goodreads:"
#: bookwyrm/templates/author/edit_author.html:98 #: bookwyrm/templates/author/edit_author.html:98
#: bookwyrm/templates/book/book.html:127 #: bookwyrm/templates/book/book.html:124
#: bookwyrm/templates/book/edit_book.html:241 #: bookwyrm/templates/book/edit_book.html:263
#: bookwyrm/templates/lists/form.html:42 #: bookwyrm/templates/lists/form.html:42
#: bookwyrm/templates/preferences/edit_user.html:70 #: bookwyrm/templates/preferences/edit_user.html:70
#: bookwyrm/templates/settings/announcement_form.html:65
#: bookwyrm/templates/settings/edit_server.html:68 #: bookwyrm/templates/settings/edit_server.html:68
#: bookwyrm/templates/settings/federated_server.html:94 #: bookwyrm/templates/settings/federated_server.html:98
#: bookwyrm/templates/settings/site.html:97 #: bookwyrm/templates/settings/site.html:97
#: bookwyrm/templates/snippets/readthrough.html:77 #: bookwyrm/templates/snippets/readthrough.html:77
#: bookwyrm/templates/snippets/shelve_button/finish_reading_modal.html:42 #: bookwyrm/templates/snippets/shelve_button/finish_reading_modal.html:42
@ -265,11 +267,11 @@ msgid "Save"
msgstr "Guardar" msgstr "Guardar"
#: bookwyrm/templates/author/edit_author.html:99 #: bookwyrm/templates/author/edit_author.html:99
#: bookwyrm/templates/book/book.html:128 bookwyrm/templates/book/book.html:180 #: bookwyrm/templates/book/book.html:125 bookwyrm/templates/book/book.html:174
#: bookwyrm/templates/book/cover_modal.html:32 #: bookwyrm/templates/book/cover_modal.html:32
#: bookwyrm/templates/book/edit_book.html:242 #: bookwyrm/templates/book/edit_book.html:264
#: bookwyrm/templates/moderation/report_modal.html:34 #: bookwyrm/templates/moderation/report_modal.html:34
#: bookwyrm/templates/settings/federated_server.html:95 #: bookwyrm/templates/settings/federated_server.html:99
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:17 #: bookwyrm/templates/snippets/delete_readthrough_modal.html:17
#: bookwyrm/templates/snippets/goal_form.html:32 #: bookwyrm/templates/snippets/goal_form.html:32
#: bookwyrm/templates/snippets/readthrough.html:78 #: bookwyrm/templates/snippets/readthrough.html:78
@ -280,110 +282,106 @@ msgstr "Guardar"
msgid "Cancel" msgid "Cancel"
msgstr "Cancelar" msgstr "Cancelar"
#: bookwyrm/templates/book/book.html:33 #: bookwyrm/templates/book/book.html:31
#: bookwyrm/templates/discover/large-book.html:25 #: bookwyrm/templates/discover/large-book.html:25
#: bookwyrm/templates/discover/small-book.html:19 #: bookwyrm/templates/discover/small-book.html:19
msgid "by" msgid "by"
msgstr "por" msgstr "por"
#: bookwyrm/templates/book/book.html:41 bookwyrm/templates/book/book.html:42 #: bookwyrm/templates/book/book.html:39 bookwyrm/templates/book/book.html:40
msgid "Edit Book" msgid "Edit Book"
msgstr "Editar Libro" msgstr "Editar Libro"
#: bookwyrm/templates/book/book.html:60 #: bookwyrm/templates/book/book.html:57
#: bookwyrm/templates/book/cover_modal.html:5 #: bookwyrm/templates/book/cover_modal.html:5
msgid "Add cover" msgid "Add cover"
msgstr "Agregar portada" msgstr "Agregar portada"
#: bookwyrm/templates/book/book.html:64 #: bookwyrm/templates/book/book.html:61
msgid "Failed to load cover" msgid "Failed to load cover"
msgstr "No se pudo cargar la portada" msgstr "No se pudo cargar la portada"
#: bookwyrm/templates/book/book.html:104 #: bookwyrm/templates/book/book.html:101
#, python-format #, python-format
msgid "(%(review_count)s review)" msgid "(%(review_count)s review)"
msgid_plural "(%(review_count)s reviews)" msgid_plural "(%(review_count)s reviews)"
msgstr[0] "(%(review_count)s reseña)" msgstr[0] "(%(review_count)s reseña)"
msgstr[1] "(%(review_count)s reseñas)" msgstr[1] "(%(review_count)s reseñas)"
#: bookwyrm/templates/book/book.html:116 #: bookwyrm/templates/book/book.html:113
msgid "Add Description" msgid "Add Description"
msgstr "Agregar descripción" msgstr "Agregar descripción"
#: bookwyrm/templates/book/book.html:123 #: bookwyrm/templates/book/book.html:120
#: bookwyrm/templates/book/edit_book.html:107 #: bookwyrm/templates/book/edit_book.html:108
#: bookwyrm/templates/lists/form.html:12 #: bookwyrm/templates/lists/form.html:12
msgid "Description:" msgid "Description:"
msgstr "Descripción:" msgstr "Descripción:"
#: bookwyrm/templates/book/book.html:137 #: bookwyrm/templates/book/book.html:134
#, python-format #, python-format
msgid "<a href=\"%(path)s/editions\">%(count)s editions</a>" msgid "<a href=\"%(path)s/editions\">%(count)s editions</a>"
msgstr "<a href=\"%(path)s/editions\">%(count)s ediciones</a>" msgstr "<a href=\"%(path)s/editions\">%(count)s ediciones</a>"
#: bookwyrm/templates/book/book.html:145 #: bookwyrm/templates/book/book.html:142
#, python-format #, python-format
msgid "This edition is on your <a href=\"%(path)s\">%(shelf_name)s</a> shelf." msgid "This edition is on your <a href=\"%(path)s\">%(shelf_name)s</a> shelf."
msgstr "Esta edición está en tu <a href=\"%(path)s\">%(shelf_name)s</a> estante." msgstr "Esta edición está en tu <a href=\"%(path)s\">%(shelf_name)s</a> estante."
#: bookwyrm/templates/book/book.html:151 #: bookwyrm/templates/book/book.html:148
#, python-format #, python-format
msgid "A <a href=\"%(book_path)s\">different edition</a> of this book is on your <a href=\"%(shelf_path)s\">%(shelf_name)s</a> shelf." msgid "A <a href=\"%(book_path)s\">different edition</a> of this book is on your <a href=\"%(shelf_path)s\">%(shelf_name)s</a> shelf."
msgstr "Una <a href=\"%(book_path)s\">edición diferente</a> de este libro está en tu <a href=\"%(shelf_path)s\">%(shelf_name)s</a> estante." msgstr "Una <a href=\"%(book_path)s\">edición diferente</a> de este libro está en tu <a href=\"%(shelf_path)s\">%(shelf_name)s</a> estante."
#: bookwyrm/templates/book/book.html:162 #: bookwyrm/templates/book/book.html:159
msgid "Your reading activity" msgid "Your reading activity"
msgstr "Tu actividad de lectura" msgstr "Tu actividad de lectura"
#: bookwyrm/templates/book/book.html:165 #: bookwyrm/templates/book/book.html:162
msgid "Add read dates" msgid "Add read dates"
msgstr "Agregar fechas de lectura" msgstr "Agregar fechas de lectura"
#: bookwyrm/templates/book/book.html:170 #: bookwyrm/templates/book/book.html:171
msgid "You don't have any reading activity for this book."
msgstr "No tienes ninguna actividad de lectura para este libro."
#: bookwyrm/templates/book/book.html:177
msgid "Create" msgid "Create"
msgstr "Crear" msgstr "Crear"
#: bookwyrm/templates/book/book.html:203 #: bookwyrm/templates/book/book.html:181
msgid "You don't have any reading activity for this book."
msgstr "No tienes ninguna actividad de lectura para este libro."
#: bookwyrm/templates/book/book.html:200
#, fuzzy #, fuzzy
#| msgid "Review" #| msgid "Review"
msgid "Reviews" msgid "Reviews"
msgstr "Reseña" msgstr "Reseña"
#: bookwyrm/templates/book/book.html:208 #: bookwyrm/templates/book/book.html:205
#, fuzzy #, fuzzy
#| msgid "Your shelves" #| msgid "Your shelves"
msgid "Your reviews" msgid "Your reviews"
msgstr "Tus estantes" msgstr "Tus estantes"
#: bookwyrm/templates/book/book.html:214 #: bookwyrm/templates/book/book.html:211
#, fuzzy #, fuzzy
#| msgid "Your Account" #| msgid "Your Account"
msgid "Your comments" msgid "Your comments"
msgstr "Tu cuenta" msgstr "Tu cuenta"
#: bookwyrm/templates/book/book.html:220 #: bookwyrm/templates/book/book.html:217
#, fuzzy #, fuzzy
#| msgid "Your books" #| msgid "Your books"
msgid "Your quotes" msgid "Your quotes"
msgstr "Tus libros" msgstr "Tus libros"
#: bookwyrm/templates/book/book.html:255 #: bookwyrm/templates/book/book.html:253
msgid "rated it"
msgstr "lo calificó con"
#: bookwyrm/templates/book/book.html:276
msgid "Subjects" msgid "Subjects"
msgstr "Sujetos" msgstr "Sujetos"
#: bookwyrm/templates/book/book.html:288 #: bookwyrm/templates/book/book.html:265
msgid "Places" msgid "Places"
msgstr "Lugares" msgstr "Lugares"
#: bookwyrm/templates/book/book.html:299 bookwyrm/templates/layout.html:65 #: bookwyrm/templates/book/book.html:276 bookwyrm/templates/layout.html:64
#: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12 #: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12
#: bookwyrm/templates/search/layout.html:25 #: bookwyrm/templates/search/layout.html:25
#: bookwyrm/templates/search/layout.html:50 #: bookwyrm/templates/search/layout.html:50
@ -391,37 +389,37 @@ msgstr "Lugares"
msgid "Lists" msgid "Lists"
msgstr "Listas" msgstr "Listas"
#: bookwyrm/templates/book/book.html:310 #: bookwyrm/templates/book/book.html:287
msgid "Add to list" msgid "Add to list"
msgstr "Agregar a lista" msgstr "Agregar a lista"
#: bookwyrm/templates/book/book.html:320 #: bookwyrm/templates/book/book.html:297
#: bookwyrm/templates/book/cover_modal.html:31 #: bookwyrm/templates/book/cover_modal.html:31
#: bookwyrm/templates/lists/list.html:164 #: bookwyrm/templates/lists/list.html:164
msgid "Add" msgid "Add"
msgstr "Agregar" msgstr "Agregar"
#: bookwyrm/templates/book/book_identifiers.html:8 #: bookwyrm/templates/book/book_identifiers.html:7
msgid "ISBN:" msgid "ISBN:"
msgstr "ISBN:" msgstr "ISBN:"
#: bookwyrm/templates/book/book_identifiers.html:15 #: bookwyrm/templates/book/book_identifiers.html:14
#: bookwyrm/templates/book/edit_book.html:227 #: bookwyrm/templates/book/edit_book.html:248
msgid "OCLC Number:" msgid "OCLC Number:"
msgstr "Número OCLC:" msgstr "Número OCLC:"
#: bookwyrm/templates/book/book_identifiers.html:22 #: bookwyrm/templates/book/book_identifiers.html:21
#: bookwyrm/templates/book/edit_book.html:231 #: bookwyrm/templates/book/edit_book.html:253
msgid "ASIN:" msgid "ASIN:"
msgstr "ASIN:" msgstr "ASIN:"
#: bookwyrm/templates/book/cover_modal.html:17 #: bookwyrm/templates/book/cover_modal.html:17
#: bookwyrm/templates/book/edit_book.html:179 #: bookwyrm/templates/book/edit_book.html:192
msgid "Upload cover:" msgid "Upload cover:"
msgstr "Subir portada:" msgstr "Subir portada:"
#: bookwyrm/templates/book/cover_modal.html:23 #: bookwyrm/templates/book/cover_modal.html:23
#: bookwyrm/templates/book/edit_book.html:185 #: bookwyrm/templates/book/edit_book.html:198
msgid "Load cover from url:" msgid "Load cover from url:"
msgstr "Agregar portada de url:" msgstr "Agregar portada de url:"
@ -477,81 +475,93 @@ msgstr "Confirmar"
msgid "Back" msgid "Back"
msgstr "Volver" msgstr "Volver"
#: bookwyrm/templates/book/edit_book.html:92 #: bookwyrm/templates/book/edit_book.html:93
msgid "Title:" msgid "Title:"
msgstr "Título:" msgstr "Título:"
#: bookwyrm/templates/book/edit_book.html:100 #: bookwyrm/templates/book/edit_book.html:101
msgid "Subtitle:" msgid "Subtitle:"
msgstr "Subtítulo:" msgstr "Subtítulo:"
#: bookwyrm/templates/book/edit_book.html:113 #: bookwyrm/templates/book/edit_book.html:114
msgid "Series:" msgid "Series:"
msgstr "Serie:" msgstr "Serie:"
#: bookwyrm/templates/book/edit_book.html:120 #: bookwyrm/templates/book/edit_book.html:122
msgid "Series number:" msgid "Series number:"
msgstr "Número de serie:" msgstr "Número de serie:"
#: bookwyrm/templates/book/edit_book.html:126 #: bookwyrm/templates/book/edit_book.html:130
#, fuzzy
#| msgid "Language:"
msgid "Languages:"
msgstr "Idioma:"
#: bookwyrm/templates/book/edit_book.html:139
msgid "Publisher:" msgid "Publisher:"
msgstr "Editorial:" msgstr "Editorial:"
#: bookwyrm/templates/book/edit_book.html:135 #: bookwyrm/templates/book/edit_book.html:148
msgid "First published date:" msgid "First published date:"
msgstr "Fecha de primera publicación:" msgstr "Fecha de primera publicación:"
#: bookwyrm/templates/book/edit_book.html:143 #: bookwyrm/templates/book/edit_book.html:156
msgid "Published date:" msgid "Published date:"
msgstr "Fecha de publicación:" msgstr "Fecha de publicación:"
#: bookwyrm/templates/book/edit_book.html:152 #: bookwyrm/templates/book/edit_book.html:165
msgid "Authors" msgid "Authors"
msgstr "Autores" msgstr "Autores"
#: bookwyrm/templates/book/edit_book.html:158 #: bookwyrm/templates/book/edit_book.html:171
#, python-format #, python-format
msgid "Remove <a href=\"%(path)s\">%(name)s</a>" msgid "Remove <a href=\"%(path)s\">%(name)s</a>"
msgstr "Eliminar <a href=\"%(path)s\">%(name)s</a>" msgstr "Eliminar <a href=\"%(path)s\">%(name)s</a>"
#: bookwyrm/templates/book/edit_book.html:163 #: bookwyrm/templates/book/edit_book.html:176
msgid "Add Authors:" msgid "Add Authors:"
msgstr "Agregar Autores:" msgstr "Agregar Autores:"
#: bookwyrm/templates/book/edit_book.html:164 #: bookwyrm/templates/book/edit_book.html:177
msgid "John Doe, Jane Smith" msgid "John Doe, Jane Smith"
msgstr "Juan Nadie, Natalia Natalia" msgstr "Juan Nadie, Natalia Natalia"
#: bookwyrm/templates/book/edit_book.html:170 #: bookwyrm/templates/book/edit_book.html:183
#: bookwyrm/templates/user/shelf/shelf.html:77 #: bookwyrm/templates/user/shelf/shelf.html:77
msgid "Cover" msgid "Cover"
msgstr "Portada:" msgstr "Portada:"
#: bookwyrm/templates/book/edit_book.html:198 #: bookwyrm/templates/book/edit_book.html:211
msgid "Physical Properties" msgid "Physical Properties"
msgstr "Propiedades físicas:" msgstr "Propiedades físicas:"
#: bookwyrm/templates/book/edit_book.html:199 #: bookwyrm/templates/book/edit_book.html:212
#: bookwyrm/templates/book/format_filter.html:5 #: bookwyrm/templates/book/format_filter.html:5
msgid "Format:" msgid "Format:"
msgstr "Formato:" msgstr "Formato:"
#: bookwyrm/templates/book/edit_book.html:207 #: bookwyrm/templates/book/edit_book.html:220
msgid "Pages:" msgid "Pages:"
msgstr "Páginas:" msgstr "Páginas:"
#: bookwyrm/templates/book/edit_book.html:214 #: bookwyrm/templates/book/edit_book.html:227
msgid "Book Identifiers" msgid "Book Identifiers"
msgstr "Identificadores de libro" msgstr "Identificadores de libro"
#: bookwyrm/templates/book/edit_book.html:215 #: bookwyrm/templates/book/edit_book.html:228
msgid "ISBN 13:" msgid "ISBN 13:"
msgstr "ISBN 13:" msgstr "ISBN 13:"
#: bookwyrm/templates/book/edit_book.html:219 #: bookwyrm/templates/book/edit_book.html:233
msgid "ISBN 10:" msgid "ISBN 10:"
msgstr "ISBN 10:" msgstr "ISBN 10:"
#: bookwyrm/templates/book/edit_book.html:238
#, fuzzy
#| msgid "Openlibrary key:"
msgid "Openlibrary ID:"
msgstr "Clave OpenLibrary:"
#: bookwyrm/templates/book/editions.html:4 #: bookwyrm/templates/book/editions.html:4
#, python-format #, python-format
msgid "Editions of %(book_title)s" msgid "Editions of %(book_title)s"
@ -606,12 +616,17 @@ msgstr "Publicado %(date)s"
msgid "Published by %(publisher)s." msgid "Published by %(publisher)s."
msgstr "Publicado por %(publisher)s." msgstr "Publicado por %(publisher)s."
#: bookwyrm/templates/book/rating.html:13
msgid "rated it"
msgstr "lo calificó con"
#: bookwyrm/templates/components/inline_form.html:8 #: bookwyrm/templates/components/inline_form.html:8
#: bookwyrm/templates/components/modal.html:11 #: bookwyrm/templates/components/modal.html:11
#: bookwyrm/templates/feed/feed_layout.html:69 #: bookwyrm/templates/feed/feed_layout.html:69
#: bookwyrm/templates/get_started/layout.html:19 #: bookwyrm/templates/get_started/layout.html:19
#: bookwyrm/templates/get_started/layout.html:52 #: bookwyrm/templates/get_started/layout.html:52
#: bookwyrm/templates/search/book.html:32 #: bookwyrm/templates/search/book.html:32
#: bookwyrm/templates/snippets/announcement.html:17
msgid "Close" msgid "Close"
msgstr "Cerrar" msgstr "Cerrar"
@ -633,7 +648,7 @@ msgstr "Comunidad federalizada"
#: bookwyrm/templates/directory/directory.html:4 #: bookwyrm/templates/directory/directory.html:4
#: bookwyrm/templates/directory/directory.html:9 #: bookwyrm/templates/directory/directory.html:9
#: bookwyrm/templates/layout.html:93 #: bookwyrm/templates/layout.html:92
msgid "Directory" msgid "Directory"
msgstr "Directorio" msgstr "Directorio"
@ -647,6 +662,7 @@ msgid "You can opt-out at any time in your <a href=\"%(path)s\">profile settings
msgstr "Puedes optar por no en cualquier hora en tus <a href=\"%(path)s\">configuraciones de perfil.</a>" msgstr "Puedes optar por no en cualquier hora en tus <a href=\"%(path)s\">configuraciones de perfil.</a>"
#: bookwyrm/templates/directory/directory.html:29 #: bookwyrm/templates/directory/directory.html:29
#: bookwyrm/templates/snippets/announcement.html:30
#: bookwyrm/templates/snippets/goal_card.html:22 #: bookwyrm/templates/snippets/goal_card.html:22
msgid "Dismiss message" msgid "Dismiss message"
msgstr "Desechar mensaje" msgstr "Desechar mensaje"
@ -737,7 +753,7 @@ msgid "Join %(name)s"
msgstr "Unirse con %(name)s" msgstr "Unirse con %(name)s"
#: bookwyrm/templates/discover/landing_layout.html:51 #: bookwyrm/templates/discover/landing_layout.html:51
#: bookwyrm/templates/login.html:48 #: bookwyrm/templates/login.html:51
msgid "This instance is closed" msgid "This instance is closed"
msgstr "Esta instancia está cerrada." msgstr "Esta instancia está cerrada."
@ -833,7 +849,7 @@ msgid "Direct Messages with <a href=\"%(path)s\">%(username)s</a>"
msgstr "Mensajes directos con <a href=\"%(path)s\">%(username)s</a>" msgstr "Mensajes directos con <a href=\"%(path)s\">%(username)s</a>"
#: bookwyrm/templates/feed/direct_messages.html:10 #: bookwyrm/templates/feed/direct_messages.html:10
#: bookwyrm/templates/layout.html:88 #: bookwyrm/templates/layout.html:87
msgid "Direct Messages" msgid "Direct Messages"
msgstr "Mensajes directos" msgstr "Mensajes directos"
@ -889,7 +905,7 @@ msgid "Updates"
msgstr "Actualizaciones" msgstr "Actualizaciones"
#: bookwyrm/templates/feed/feed_layout.html:10 #: bookwyrm/templates/feed/feed_layout.html:10
#: bookwyrm/templates/layout.html:59 #: bookwyrm/templates/layout.html:58
#: bookwyrm/templates/user/shelf/books_header.html:3 #: bookwyrm/templates/user/shelf/books_header.html:3
msgid "Your books" msgid "Your books"
msgstr "Tus libros" msgstr "Tus libros"
@ -963,7 +979,7 @@ msgstr "Puedes agregar libros cuando comiences a usar %(site_name)s."
#: bookwyrm/templates/get_started/books.html:17 #: bookwyrm/templates/get_started/books.html:17
#: bookwyrm/templates/get_started/users.html:18 #: bookwyrm/templates/get_started/users.html:18
#: bookwyrm/templates/get_started/users.html:19 #: bookwyrm/templates/get_started/users.html:19
#: bookwyrm/templates/layout.html:38 bookwyrm/templates/layout.html:39 #: bookwyrm/templates/layout.html:37 bookwyrm/templates/layout.html:38
#: bookwyrm/templates/lists/list.html:124 #: bookwyrm/templates/lists/list.html:124
#: bookwyrm/templates/search/layout.html:4 #: bookwyrm/templates/search/layout.html:4
#: bookwyrm/templates/search/layout.html:9 #: bookwyrm/templates/search/layout.html:9
@ -1092,7 +1108,7 @@ msgid "%(username)s's %(year)s Books"
msgstr "Los libros de %(username)s para %(year)s" msgstr "Los libros de %(username)s para %(year)s"
#: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9
#: bookwyrm/templates/layout.html:98 #: bookwyrm/templates/layout.html:97
msgid "Import Books" msgid "Import Books"
msgstr "Importar libros" msgstr "Importar libros"
@ -1193,7 +1209,7 @@ msgid "Imported"
msgstr "Importado" msgstr "Importado"
#: bookwyrm/templates/invite.html:4 bookwyrm/templates/invite.html:12 #: bookwyrm/templates/invite.html:4 bookwyrm/templates/invite.html:12
#: bookwyrm/templates/login.html:43 #: bookwyrm/templates/login.html:46
msgid "Create an Account" msgid "Create an Account"
msgstr "Crear una cuenta" msgstr "Crear una cuenta"
@ -1218,23 +1234,23 @@ msgstr "Resultados de búsqueda por \"%(query)s\""
msgid "Matching Books" msgid "Matching Books"
msgstr "Libros correspondientes" msgstr "Libros correspondientes"
#: bookwyrm/templates/layout.html:34 #: bookwyrm/templates/layout.html:33
msgid "Search for a book or user" msgid "Search for a book or user"
msgstr "Buscar un libro o un usuario" msgstr "Buscar un libro o un usuario"
#: bookwyrm/templates/layout.html:48 bookwyrm/templates/layout.html:49 #: bookwyrm/templates/layout.html:47 bookwyrm/templates/layout.html:48
msgid "Main navigation menu" msgid "Main navigation menu"
msgstr "Menú de navigación central" msgstr "Menú de navigación central"
#: bookwyrm/templates/layout.html:62 #: bookwyrm/templates/layout.html:61
msgid "Feed" msgid "Feed"
msgstr "Actividad" msgstr "Actividad"
#: bookwyrm/templates/layout.html:103 #: bookwyrm/templates/layout.html:102
msgid "Settings" msgid "Settings"
msgstr "Configuración" msgstr "Configuración"
#: bookwyrm/templates/layout.html:112 #: bookwyrm/templates/layout.html:111
#: bookwyrm/templates/settings/admin_layout.html:31 #: bookwyrm/templates/settings/admin_layout.html:31
#: bookwyrm/templates/settings/manage_invite_requests.html:15 #: bookwyrm/templates/settings/manage_invite_requests.html:15
#: bookwyrm/templates/settings/manage_invites.html:3 #: bookwyrm/templates/settings/manage_invites.html:3
@ -1242,64 +1258,63 @@ msgstr "Configuración"
msgid "Invites" msgid "Invites"
msgstr "Invitaciones" msgstr "Invitaciones"
#: bookwyrm/templates/layout.html:119 #: bookwyrm/templates/layout.html:118
msgid "Admin" msgid "Admin"
msgstr "Admin" msgstr "Admin"
#: bookwyrm/templates/layout.html:126 #: bookwyrm/templates/layout.html:125
msgid "Log out" msgid "Log out"
msgstr "Cerrar sesión" msgstr "Cerrar sesión"
#: bookwyrm/templates/layout.html:134 bookwyrm/templates/layout.html:135 #: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134
#: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:6
#: bookwyrm/templates/notifications.html:11 #: bookwyrm/templates/notifications.html:11
msgid "Notifications" msgid "Notifications"
msgstr "Notificaciones" msgstr "Notificaciones"
#: bookwyrm/templates/layout.html:155 bookwyrm/templates/layout.html:159 #: bookwyrm/templates/layout.html:154 bookwyrm/templates/layout.html:158
#: bookwyrm/templates/login.html:17 #: bookwyrm/templates/login.html:17
#: bookwyrm/templates/snippets/register_form.html:4 #: bookwyrm/templates/snippets/register_form.html:4
msgid "Username:" msgid "Username:"
msgstr "Nombre de usuario:" msgstr "Nombre de usuario:"
#: bookwyrm/templates/layout.html:160 #: bookwyrm/templates/layout.html:159
msgid "password" msgid "password"
msgstr "contraseña" msgstr "contraseña"
#: bookwyrm/templates/layout.html:161 bookwyrm/templates/login.html:36 #: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:36
msgid "Forgot your password?" msgid "Forgot your password?"
msgstr "¿Olvidaste tu contraseña?" msgstr "¿Olvidaste tu contraseña?"
#: bookwyrm/templates/layout.html:164 bookwyrm/templates/login.html:10 #: bookwyrm/templates/layout.html:163 bookwyrm/templates/login.html:10
#: bookwyrm/templates/login.html:33 #: bookwyrm/templates/login.html:33
msgid "Log in" msgid "Log in"
msgstr "Iniciar sesión" msgstr "Iniciar sesión"
#: bookwyrm/templates/layout.html:172 #: bookwyrm/templates/layout.html:171
msgid "Join" msgid "Join"
msgstr "Unirse" msgstr "Unirse"
#: bookwyrm/templates/layout.html:198 #: bookwyrm/templates/layout.html:206
msgid "About this server" msgid "About this server"
msgstr "Sobre este servidor" msgstr "Sobre este servidor"
#: bookwyrm/templates/layout.html:202 #: bookwyrm/templates/layout.html:210
msgid "Contact site admin" msgid "Contact site admin"
msgstr "Contactarse con administradores del sitio" msgstr "Contactarse con administradores del sitio"
#: bookwyrm/templates/layout.html:206 #: bookwyrm/templates/layout.html:214
#, fuzzy #, fuzzy
#| msgid "Django Documentation" #| msgid "Django Documentation"
msgid "Documentation" msgid "Documentation"
msgstr "Documentación de Django" msgstr "Documentación de Django"
#: bookwyrm/templates/layout.html:213 #: bookwyrm/templates/layout.html:221
#, python-format #, python-format
msgid "Support %(site_name)s on <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>" msgid "Support %(site_name)s on <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>"
msgstr "Apoyar %(site_name)s en <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>" msgstr "Apoyar %(site_name)s en <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>"
#: bookwyrm/templates/layout.html:217 #: bookwyrm/templates/layout.html:225
#| msgid "BookWyrm is open source software. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>."
msgid "BookWyrm's source code is freely available. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>." msgid "BookWyrm's source code is freely available. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>."
msgstr "BookWyrm es software de código abierto. Puedes contribuir o reportar problemas en <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>." msgstr "BookWyrm es software de código abierto. Puedes contribuir o reportar problemas en <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>."
@ -1370,6 +1385,7 @@ msgstr "Cualquier usuario puede sugerir libros, en cuanto lo hayas aprobado"
#: bookwyrm/templates/lists/form.html:31 #: bookwyrm/templates/lists/form.html:31
#: bookwyrm/templates/moderation/reports.html:25 #: bookwyrm/templates/moderation/reports.html:25
#: bookwyrm/templates/search/book.html:30 #: bookwyrm/templates/search/book.html:30
#: bookwyrm/templates/snippets/announcement.html:15
msgid "Open" msgid "Open"
msgstr "Abierto" msgstr "Abierto"
@ -1455,11 +1471,11 @@ msgstr "Iniciar sesión"
msgid "Password:" msgid "Password:"
msgstr "Contraseña:" msgstr "Contraseña:"
#: bookwyrm/templates/login.html:49 #: bookwyrm/templates/login.html:52
msgid "Contact an administrator to get an invite" msgid "Contact an administrator to get an invite"
msgstr "Contactar a unx administradorx para recibir una invitación" msgstr "Contactar a unx administradorx para recibir una invitación"
#: bookwyrm/templates/login.html:59 #: bookwyrm/templates/login.html:63
msgid "More about this site" msgid "More about this site"
msgstr "Más sobre este sitio" msgstr "Más sobre este sitio"
@ -1807,31 +1823,144 @@ msgid "Instance Settings"
msgstr "Configuración de instancia" msgstr "Configuración de instancia"
#: bookwyrm/templates/settings/admin_layout.html:48 #: bookwyrm/templates/settings/admin_layout.html:48
#: bookwyrm/templates/settings/announcements.html:3
#: bookwyrm/templates/settings/announcements.html:5
msgid "Announcements"
msgstr "Anuncios"
#: bookwyrm/templates/settings/admin_layout.html:52
#: bookwyrm/templates/settings/site.html:4 #: bookwyrm/templates/settings/site.html:4
#: bookwyrm/templates/settings/site.html:6 #: bookwyrm/templates/settings/site.html:6
msgid "Site Settings" msgid "Site Settings"
msgstr "Configuración de sitio" msgstr "Configuración de sitio"
#: bookwyrm/templates/settings/admin_layout.html:51 #: bookwyrm/templates/settings/admin_layout.html:55
#: bookwyrm/templates/settings/site.html:13 #: bookwyrm/templates/settings/site.html:13
msgid "Instance Info" msgid "Instance Info"
msgstr "Información de instancia" msgstr "Información de instancia"
#: bookwyrm/templates/settings/admin_layout.html:52 #: bookwyrm/templates/settings/admin_layout.html:56
#: bookwyrm/templates/settings/site.html:39 #: bookwyrm/templates/settings/site.html:39
msgid "Images" msgid "Images"
msgstr "Imagenes" msgstr "Imagenes"
#: bookwyrm/templates/settings/admin_layout.html:53 #: bookwyrm/templates/settings/admin_layout.html:57
#: bookwyrm/templates/settings/site.html:59 #: bookwyrm/templates/settings/site.html:59
msgid "Footer Content" msgid "Footer Content"
msgstr "Contenido del pie de página" msgstr "Contenido del pie de página"
#: bookwyrm/templates/settings/admin_layout.html:54 #: bookwyrm/templates/settings/admin_layout.html:58
#: bookwyrm/templates/settings/site.html:81 #: bookwyrm/templates/settings/site.html:81
msgid "Registration" msgid "Registration"
msgstr "Registración" msgstr "Registración"
#: bookwyrm/templates/settings/announcement.html:3
#: bookwyrm/templates/settings/announcement.html:6
#, fuzzy
#| msgid "Announcements"
msgid "Announcement"
msgstr "Anuncios"
#: bookwyrm/templates/settings/announcement.html:7
#: bookwyrm/templates/settings/federated_server.html:13
#, fuzzy
#| msgid "Back to server list"
msgid "Back to list"
msgstr "Volver a la lista de servidores"
#: bookwyrm/templates/settings/announcement.html:11
#, fuzzy
#| msgid "Announcements"
msgid "Edit Announcement"
msgstr "Anuncios"
#: bookwyrm/templates/settings/announcement.html:20
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:15
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
msgid "Delete"
msgstr "Eliminar"
#: bookwyrm/templates/settings/announcement.html:35
msgid "Visible:"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:38
msgid "True"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:40
msgid "False"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:47
#, fuzzy
#| msgid "Birth date:"
msgid "Start date:"
msgstr "Fecha de nacimiento:"
#: bookwyrm/templates/settings/announcement.html:54
#, fuzzy
#| msgid "Birth date:"
msgid "End date:"
msgstr "Fecha de nacimiento:"
#: bookwyrm/templates/settings/announcement.html:60
#, fuzzy
#| msgid "Active"
msgid "Active:"
msgstr "Activ@"
#: bookwyrm/templates/settings/announcement_form.html:5
#: bookwyrm/templates/settings/announcements.html:8
#, fuzzy
#| msgid "Announcements"
msgid "Create Announcement"
msgstr "Anuncios"
#: bookwyrm/templates/settings/announcements.html:22
#, fuzzy
#| msgid "Date Added"
msgid "Date added"
msgstr "Fecha agregada"
#: bookwyrm/templates/settings/announcements.html:26
#, fuzzy
#| msgid "reviewed"
msgid "Preview"
msgstr "reseñó"
#: bookwyrm/templates/settings/announcements.html:30
#, fuzzy
#| msgid "Started"
msgid "Start date"
msgstr "Empezado"
#: bookwyrm/templates/settings/announcements.html:34
#, fuzzy
#| msgid "Edit read dates"
msgid "End date"
msgstr "Editar fechas de lectura"
#: bookwyrm/templates/settings/announcements.html:38
#: bookwyrm/templates/settings/federation.html:30
#: bookwyrm/templates/settings/manage_invite_requests.html:44
#: bookwyrm/templates/settings/status_filter.html:5
#: bookwyrm/templates/user_admin/user_admin.html:34
msgid "Status"
msgstr "Status"
#: bookwyrm/templates/settings/announcements.html:48
#, fuzzy
#| msgid "Inactive"
msgid "active"
msgstr "Inactiv@"
#: bookwyrm/templates/settings/announcements.html:48
#, fuzzy
#| msgid "Inactive"
msgid "inactive"
msgstr "Inactiv@"
#: bookwyrm/templates/settings/edit_server.html:3 #: bookwyrm/templates/settings/edit_server.html:3
#: bookwyrm/templates/settings/edit_server.html:6 #: bookwyrm/templates/settings/edit_server.html:6
#: bookwyrm/templates/settings/edit_server.html:20 #: bookwyrm/templates/settings/edit_server.html:20
@ -1843,7 +1972,6 @@ msgid "Add server"
msgstr "Agregar servidor" msgstr "Agregar servidor"
#: bookwyrm/templates/settings/edit_server.html:7 #: bookwyrm/templates/settings/edit_server.html:7
#: bookwyrm/templates/settings/federated_server.html:13
#: bookwyrm/templates/settings/server_blocklist.html:7 #: bookwyrm/templates/settings/server_blocklist.html:7
msgid "Back to server list" msgid "Back to server list"
msgstr "Volver a la lista de servidores" msgstr "Volver a la lista de servidores"
@ -1858,7 +1986,7 @@ msgid "Instance:"
msgstr "Instancia:" msgstr "Instancia:"
#: bookwyrm/templates/settings/edit_server.html:37 #: bookwyrm/templates/settings/edit_server.html:37
#: bookwyrm/templates/settings/federated_server.html:30 #: bookwyrm/templates/settings/federated_server.html:31
#: bookwyrm/templates/user_admin/user_info.html:34 #: bookwyrm/templates/user_admin/user_info.html:34
msgid "Status:" msgid "Status:"
msgstr "Status:" msgstr "Status:"
@ -1869,13 +1997,13 @@ msgid "Blocked"
msgstr "Bloqueado" msgstr "Bloqueado"
#: bookwyrm/templates/settings/edit_server.html:48 #: bookwyrm/templates/settings/edit_server.html:48
#: bookwyrm/templates/settings/federated_server.html:22 #: bookwyrm/templates/settings/federated_server.html:23
#: bookwyrm/templates/user_admin/user_info.html:26 #: bookwyrm/templates/user_admin/user_info.html:26
msgid "Software:" msgid "Software:"
msgstr "Software:" msgstr "Software:"
#: bookwyrm/templates/settings/edit_server.html:55 #: bookwyrm/templates/settings/edit_server.html:55
#: bookwyrm/templates/settings/federated_server.html:26 #: bookwyrm/templates/settings/federated_server.html:27
#: bookwyrm/templates/user_admin/user_info.html:30 #: bookwyrm/templates/user_admin/user_info.html:30
msgid "Version:" msgid "Version:"
msgstr "Versión:" msgstr "Versión:"
@ -1888,88 +2016,81 @@ msgstr "Notas:"
msgid "Details" msgid "Details"
msgstr "Detalles" msgstr "Detalles"
#: bookwyrm/templates/settings/federated_server.html:37 #: bookwyrm/templates/settings/federated_server.html:39
#: bookwyrm/templates/user/layout.html:56 #: bookwyrm/templates/user/layout.html:56
msgid "Activity" msgid "Activity"
msgstr "Actividad" msgstr "Actividad"
#: bookwyrm/templates/settings/federated_server.html:40 #: bookwyrm/templates/settings/federated_server.html:43
msgid "Users:" msgid "Users:"
msgstr "Usuarios:" msgstr "Usuarios:"
#: bookwyrm/templates/settings/federated_server.html:43 #: bookwyrm/templates/settings/federated_server.html:46
#: bookwyrm/templates/settings/federated_server.html:50 #: bookwyrm/templates/settings/federated_server.html:53
msgid "View all" msgid "View all"
msgstr "Ver todos" msgstr "Ver todos"
#: bookwyrm/templates/settings/federated_server.html:47 #: bookwyrm/templates/settings/federated_server.html:50
msgid "Reports:" msgid "Reports:"
msgstr "Informes:" msgstr "Informes:"
#: bookwyrm/templates/settings/federated_server.html:54 #: bookwyrm/templates/settings/federated_server.html:57
msgid "Followed by us:" msgid "Followed by us:"
msgstr "Seguido por nosotros:" msgstr "Seguido por nosotros:"
#: bookwyrm/templates/settings/federated_server.html:60 #: bookwyrm/templates/settings/federated_server.html:63
msgid "Followed by them:" msgid "Followed by them:"
msgstr "Seguido por ellos:" msgstr "Seguido por ellos:"
#: bookwyrm/templates/settings/federated_server.html:66 #: bookwyrm/templates/settings/federated_server.html:69
msgid "Blocked by us:" msgid "Blocked by us:"
msgstr "Bloqueado por nosotros:" msgstr "Bloqueado por nosotros:"
#: bookwyrm/templates/settings/federated_server.html:78 #: bookwyrm/templates/settings/federated_server.html:82
#: bookwyrm/templates/user_admin/user_info.html:39 #: bookwyrm/templates/user_admin/user_info.html:39
msgid "Notes" msgid "Notes"
msgstr "Notas" msgstr "Notas"
#: bookwyrm/templates/settings/federated_server.html:81 #: bookwyrm/templates/settings/federated_server.html:85
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
#: bookwyrm/templates/settings/federated_server.html:101 #: bookwyrm/templates/settings/federated_server.html:105
#: bookwyrm/templates/user_admin/user_moderation_actions.html:3 #: bookwyrm/templates/user_admin/user_moderation_actions.html:3
msgid "Actions" msgid "Actions"
msgstr "Acciones" msgstr "Acciones"
#: bookwyrm/templates/settings/federated_server.html:105 #: bookwyrm/templates/settings/federated_server.html:109
#: bookwyrm/templates/snippets/block_button.html:5 #: bookwyrm/templates/snippets/block_button.html:5
msgid "Block" msgid "Block"
msgstr "Bloquear" msgstr "Bloquear"
#: bookwyrm/templates/settings/federated_server.html:106 #: bookwyrm/templates/settings/federated_server.html:110
msgid "All users from this instance will be deactivated." msgid "All users from this instance will be deactivated."
msgstr "Todos los usuarios en esta instancia serán desactivados." msgstr "Todos los usuarios en esta instancia serán desactivados."
#: bookwyrm/templates/settings/federated_server.html:111 #: bookwyrm/templates/settings/federated_server.html:115
#: bookwyrm/templates/snippets/block_button.html:10 #: bookwyrm/templates/snippets/block_button.html:10
msgid "Un-block" msgid "Un-block"
msgstr "Desbloquear" msgstr "Desbloquear"
#: bookwyrm/templates/settings/federated_server.html:112 #: bookwyrm/templates/settings/federated_server.html:116
msgid "All users from this instance will be re-activated." msgid "All users from this instance will be re-activated."
msgstr "Todos los usuarios en esta instancia serán re-activados." msgstr "Todos los usuarios en esta instancia serán re-activados."
#: bookwyrm/templates/settings/federation.html:20 #: bookwyrm/templates/settings/federation.html:19
#: bookwyrm/templates/user_admin/server_filter.html:5 #: bookwyrm/templates/user_admin/server_filter.html:5
msgid "Server name" msgid "Server name"
msgstr "Nombre de servidor" msgstr "Nombre de servidor"
#: bookwyrm/templates/settings/federation.html:24 #: bookwyrm/templates/settings/federation.html:23
msgid "Date federated" msgid "Date federated"
msgstr "Fecha de federalización" msgstr "Fecha de federalización"
#: bookwyrm/templates/settings/federation.html:28 #: bookwyrm/templates/settings/federation.html:27
msgid "Software" msgid "Software"
msgstr "Software" msgstr "Software"
#: bookwyrm/templates/settings/federation.html:31
#: bookwyrm/templates/settings/manage_invite_requests.html:44
#: bookwyrm/templates/settings/status_filter.html:5
#: bookwyrm/templates/user_admin/user_admin.html:34
msgid "Status"
msgstr "Status"
#: bookwyrm/templates/settings/manage_invite_requests.html:4 #: bookwyrm/templates/settings/manage_invite_requests.html:4
#: bookwyrm/templates/settings/manage_invite_requests.html:11 #: bookwyrm/templates/settings/manage_invite_requests.html:11
#: bookwyrm/templates/settings/manage_invite_requests.html:25 #: bookwyrm/templates/settings/manage_invite_requests.html:25
@ -2153,6 +2274,12 @@ msgstr "Permitir solicitudes de invitación:"
msgid "Registration closed text:" msgid "Registration closed text:"
msgstr "Texto de registración cerrada:" msgstr "Texto de registración cerrada:"
#: bookwyrm/templates/snippets/announcement.html:27
#, fuzzy, python-format
#| msgid "Added by <a href=\"%(user_path)s\">%(username)s</a>"
msgid "Posted by <a href=\"%(user_path)s\">%(username)s</a>"
msgstr "Agregado por <a href=\"%(user_path)s\">%(username)s</a>"
#: bookwyrm/templates/snippets/book_cover.html:31 #: bookwyrm/templates/snippets/book_cover.html:31
msgid "No cover" msgid "No cover"
msgstr "Sin portada" msgstr "Sin portada"
@ -2264,11 +2391,6 @@ msgstr "¿Eliminar estas fechas de lectura?"
msgid "You are deleting this readthrough and its %(count)s associated progress updates." msgid "You are deleting this readthrough and its %(count)s associated progress updates."
msgstr "Estás eliminando esta lectura y sus %(count)s actualizaciones de progreso asociados." msgstr "Estás eliminando esta lectura y sus %(count)s actualizaciones de progreso asociados."
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:15
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
msgid "Delete"
msgstr "Eliminar"
#: bookwyrm/templates/snippets/fav_button.html:9 #: bookwyrm/templates/snippets/fav_button.html:9
#: bookwyrm/templates/snippets/fav_button.html:11 #: bookwyrm/templates/snippets/fav_button.html:11
msgid "Like" msgid "Like"
@ -2720,16 +2842,16 @@ msgstr "Eliminar estante"
msgid "Edit profile" msgid "Edit profile"
msgstr "Editar perfil" msgstr "Editar perfil"
#: bookwyrm/templates/user/user.html:34 #: bookwyrm/templates/user/user.html:33
#, python-format #, python-format
msgid "View all %(size)s" msgid "View all %(size)s"
msgstr "Ver todos los %(size)s" msgstr "Ver todos los %(size)s"
#: bookwyrm/templates/user/user.html:47 #: bookwyrm/templates/user/user.html:46
msgid "View all books" msgid "View all books"
msgstr "Ver todos los libros" msgstr "Ver todos los libros"
#: bookwyrm/templates/user/user.html:60 #: bookwyrm/templates/user/user.html:59
msgid "User Activity" msgid "User Activity"
msgstr "Actividad de usuario" msgstr "Actividad de usuario"
@ -2834,11 +2956,11 @@ msgstr "Des-suspender usuario"
msgid "Access level:" msgid "Access level:"
msgstr "Nivel de acceso:" msgstr "Nivel de acceso:"
#: bookwyrm/views/password.py:30 bookwyrm/views/password.py:35 #: bookwyrm/views/password.py:32
msgid "No user with that email address was found." msgid "No user with that email address was found."
msgstr "No se pudo encontrar un usuario con esa dirección de correo electrónico." msgstr "No se pudo encontrar un usuario con esa dirección de correo electrónico."
#: bookwyrm/views/password.py:44 #: bookwyrm/views/password.py:41
#, python-format #, python-format
msgid "A password reset link sent to %s" msgid "A password reset link sent to %s"
msgstr "Un enlace para reestablecer tu contraseña se enviará a %s" msgstr "Un enlace para reestablecer tu contraseña se enviará a %s"
@ -3904,9 +4026,6 @@ msgstr "Un enlace para reestablecer tu contraseña se enviará a %s"
#~ msgid "Send follow request" #~ msgid "Send follow request"
#~ msgstr "Envia solicitud de seguidor" #~ msgstr "Envia solicitud de seguidor"
#~ msgid "Announcements"
#~ msgstr "Anuncios"
#~ msgid "Site Configuration" #~ msgid "Site Configuration"
#~ msgstr "Configuracion de sitio" #~ msgstr "Configuracion de sitio"

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.1.1\n" "Project-Id-Version: 0.1.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-14 15:12-0700\n" "POT-Creation-Date: 2021-05-20 12:12-0700\n"
"PO-Revision-Date: 2021-03-20 00:56+0000\n" "PO-Revision-Date: 2021-03-20 00:56+0000\n"
"Last-Translator: Kana <gudzpoz@live.com>\n" "Last-Translator: Kana <gudzpoz@live.com>\n"
"Language-Team: Mouse Reeve <LL@li.org>\n" "Language-Team: Mouse Reeve <LL@li.org>\n"
@ -47,33 +47,33 @@ msgstr "%(count)d 次使用"
msgid "Unlimited" msgid "Unlimited"
msgstr "不受限" msgstr "不受限"
#: bookwyrm/forms.py:293 #: bookwyrm/forms.py:299
msgid "List Order" msgid "List Order"
msgstr "" msgstr ""
#: bookwyrm/forms.py:294 #: bookwyrm/forms.py:300
#, fuzzy #, fuzzy
#| msgid "Title" #| msgid "Title"
msgid "Book Title" msgid "Book Title"
msgstr "标题" msgstr "标题"
#: bookwyrm/forms.py:295 bookwyrm/templates/snippets/create_status_form.html:34 #: bookwyrm/forms.py:301 bookwyrm/templates/snippets/create_status_form.html:34
#: bookwyrm/templates/user/shelf/shelf.html:84 #: bookwyrm/templates/user/shelf/shelf.html:84
#: bookwyrm/templates/user/shelf/shelf.html:115 #: bookwyrm/templates/user/shelf/shelf.html:115
msgid "Rating" msgid "Rating"
msgstr "评价" msgstr "评价"
#: bookwyrm/forms.py:297 bookwyrm/templates/lists/list.html:101 #: bookwyrm/forms.py:303 bookwyrm/templates/lists/list.html:101
msgid "Sort By" msgid "Sort By"
msgstr "" msgstr ""
#: bookwyrm/forms.py:301 #: bookwyrm/forms.py:307
#, fuzzy #, fuzzy
#| msgid "Sorted ascending" #| msgid "Sorted ascending"
msgid "Ascending" msgid "Ascending"
msgstr "升序排序" msgstr "升序排序"
#: bookwyrm/forms.py:302 #: bookwyrm/forms.py:308
#, fuzzy #, fuzzy
#| msgid "Sorted ascending" #| msgid "Sorted ascending"
msgid "Descending" msgid "Descending"
@ -89,7 +89,7 @@ msgstr "%(value)s 不是有效的 remote_id"
msgid "%(value)s is not a valid username" msgid "%(value)s is not a valid username"
msgstr "%(value)s 不是有效的用户名" msgstr "%(value)s 不是有效的用户名"
#: bookwyrm/models/fields.py:165 bookwyrm/templates/layout.html:156 #: bookwyrm/models/fields.py:165 bookwyrm/templates/layout.html:155
msgid "username" msgid "username"
msgstr "用户名" msgstr "用户名"
@ -142,36 +142,36 @@ msgstr "某些东西出错了!对不起啦。"
msgid "Edit Author" msgid "Edit Author"
msgstr "编辑作者" msgstr "编辑作者"
#: bookwyrm/templates/author/author.html:33 #: bookwyrm/templates/author/author.html:32
#: bookwyrm/templates/author/edit_author.html:38 #: bookwyrm/templates/author/edit_author.html:38
msgid "Aliases:" msgid "Aliases:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:39 #: bookwyrm/templates/author/author.html:38
msgid "Born:" msgid "Born:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:45 #: bookwyrm/templates/author/author.html:44
msgid "Died:" msgid "Died:"
msgstr "" msgstr ""
#: bookwyrm/templates/author/author.html:52 #: bookwyrm/templates/author/author.html:51
msgid "Wikipedia" msgid "Wikipedia"
msgstr "维基百科" msgstr "维基百科"
#: bookwyrm/templates/author/author.html:56 #: bookwyrm/templates/author/author.html:55
#: bookwyrm/templates/book/book.html:81 #: bookwyrm/templates/book/book.html:78
msgid "View on OpenLibrary" msgid "View on OpenLibrary"
msgstr "在 OpenLibrary 查看" msgstr "在 OpenLibrary 查看"
#: bookwyrm/templates/author/author.html:61 #: bookwyrm/templates/author/author.html:60
#: bookwyrm/templates/book/book.html:84 #: bookwyrm/templates/book/book.html:81
#, fuzzy #, fuzzy
#| msgid "View on OpenLibrary" #| msgid "View on OpenLibrary"
msgid "View on Inventaire" msgid "View on Inventaire"
msgstr "在 OpenLibrary 查看" msgstr "在 OpenLibrary 查看"
#: bookwyrm/templates/author/author.html:75 #: bookwyrm/templates/author/author.html:74
#, python-format #, python-format
msgid "Books by %(name)s" msgid "Books by %(name)s"
msgstr "%(name)s 所著的书" msgstr "%(name)s 所著的书"
@ -208,8 +208,9 @@ msgid "Name:"
msgstr "名称:" msgstr "名称:"
#: bookwyrm/templates/author/edit_author.html:40 #: bookwyrm/templates/author/edit_author.html:40
#: bookwyrm/templates/book/edit_book.html:128 #: bookwyrm/templates/book/edit_book.html:132
#: bookwyrm/templates/book/edit_book.html:165 #: bookwyrm/templates/book/edit_book.html:141
#: bookwyrm/templates/book/edit_book.html:178
#, fuzzy #, fuzzy
#| msgid "Separate multiple publishers with commas." #| msgid "Separate multiple publishers with commas."
msgid "Separate multiple values with commas." msgid "Separate multiple values with commas."
@ -236,11 +237,11 @@ msgid "Author Identifiers"
msgstr "作者标识号:" msgstr "作者标识号:"
#: bookwyrm/templates/author/edit_author.html:74 #: bookwyrm/templates/author/edit_author.html:74
#: bookwyrm/templates/book/edit_book.html:223
msgid "Openlibrary key:" msgid "Openlibrary key:"
msgstr "Openlibrary key:" msgstr "Openlibrary key:"
#: bookwyrm/templates/author/edit_author.html:79 #: bookwyrm/templates/author/edit_author.html:79
#: bookwyrm/templates/book/edit_book.html:243
#, fuzzy #, fuzzy
#| msgid "View on OpenLibrary" #| msgid "View on OpenLibrary"
msgid "Inventaire ID:" msgid "Inventaire ID:"
@ -255,12 +256,13 @@ msgid "Goodreads key:"
msgstr "Goodreads key:" msgstr "Goodreads key:"
#: bookwyrm/templates/author/edit_author.html:98 #: bookwyrm/templates/author/edit_author.html:98
#: bookwyrm/templates/book/book.html:127 #: bookwyrm/templates/book/book.html:124
#: bookwyrm/templates/book/edit_book.html:241 #: bookwyrm/templates/book/edit_book.html:263
#: bookwyrm/templates/lists/form.html:42 #: bookwyrm/templates/lists/form.html:42
#: bookwyrm/templates/preferences/edit_user.html:70 #: bookwyrm/templates/preferences/edit_user.html:70
#: bookwyrm/templates/settings/announcement_form.html:65
#: bookwyrm/templates/settings/edit_server.html:68 #: bookwyrm/templates/settings/edit_server.html:68
#: bookwyrm/templates/settings/federated_server.html:94 #: bookwyrm/templates/settings/federated_server.html:98
#: bookwyrm/templates/settings/site.html:97 #: bookwyrm/templates/settings/site.html:97
#: bookwyrm/templates/snippets/readthrough.html:77 #: bookwyrm/templates/snippets/readthrough.html:77
#: bookwyrm/templates/snippets/shelve_button/finish_reading_modal.html:42 #: bookwyrm/templates/snippets/shelve_button/finish_reading_modal.html:42
@ -271,11 +273,11 @@ msgid "Save"
msgstr "保存" msgstr "保存"
#: bookwyrm/templates/author/edit_author.html:99 #: bookwyrm/templates/author/edit_author.html:99
#: bookwyrm/templates/book/book.html:128 bookwyrm/templates/book/book.html:180 #: bookwyrm/templates/book/book.html:125 bookwyrm/templates/book/book.html:174
#: bookwyrm/templates/book/cover_modal.html:32 #: bookwyrm/templates/book/cover_modal.html:32
#: bookwyrm/templates/book/edit_book.html:242 #: bookwyrm/templates/book/edit_book.html:264
#: bookwyrm/templates/moderation/report_modal.html:34 #: bookwyrm/templates/moderation/report_modal.html:34
#: bookwyrm/templates/settings/federated_server.html:95 #: bookwyrm/templates/settings/federated_server.html:99
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:17 #: bookwyrm/templates/snippets/delete_readthrough_modal.html:17
#: bookwyrm/templates/snippets/goal_form.html:32 #: bookwyrm/templates/snippets/goal_form.html:32
#: bookwyrm/templates/snippets/readthrough.html:78 #: bookwyrm/templates/snippets/readthrough.html:78
@ -286,109 +288,105 @@ msgstr "保存"
msgid "Cancel" msgid "Cancel"
msgstr "取消" msgstr "取消"
#: bookwyrm/templates/book/book.html:33 #: bookwyrm/templates/book/book.html:31
#: bookwyrm/templates/discover/large-book.html:25 #: bookwyrm/templates/discover/large-book.html:25
#: bookwyrm/templates/discover/small-book.html:19 #: bookwyrm/templates/discover/small-book.html:19
msgid "by" msgid "by"
msgstr "作者" msgstr "作者"
#: bookwyrm/templates/book/book.html:41 bookwyrm/templates/book/book.html:42 #: bookwyrm/templates/book/book.html:39 bookwyrm/templates/book/book.html:40
msgid "Edit Book" msgid "Edit Book"
msgstr "编辑书目" msgstr "编辑书目"
#: bookwyrm/templates/book/book.html:60 #: bookwyrm/templates/book/book.html:57
#: bookwyrm/templates/book/cover_modal.html:5 #: bookwyrm/templates/book/cover_modal.html:5
msgid "Add cover" msgid "Add cover"
msgstr "添加封面" msgstr "添加封面"
#: bookwyrm/templates/book/book.html:64 #: bookwyrm/templates/book/book.html:61
msgid "Failed to load cover" msgid "Failed to load cover"
msgstr "加载封面失败" msgstr "加载封面失败"
#: bookwyrm/templates/book/book.html:104 #: bookwyrm/templates/book/book.html:101
#, python-format #, python-format
msgid "(%(review_count)s review)" msgid "(%(review_count)s review)"
msgid_plural "(%(review_count)s reviews)" msgid_plural "(%(review_count)s reviews)"
msgstr[0] "(%(review_count)s 则书评)" msgstr[0] "(%(review_count)s 则书评)"
#: bookwyrm/templates/book/book.html:116 #: bookwyrm/templates/book/book.html:113
msgid "Add Description" msgid "Add Description"
msgstr "添加描述" msgstr "添加描述"
#: bookwyrm/templates/book/book.html:123 #: bookwyrm/templates/book/book.html:120
#: bookwyrm/templates/book/edit_book.html:107 #: bookwyrm/templates/book/edit_book.html:108
#: bookwyrm/templates/lists/form.html:12 #: bookwyrm/templates/lists/form.html:12
msgid "Description:" msgid "Description:"
msgstr "描述:" msgstr "描述:"
#: bookwyrm/templates/book/book.html:137 #: bookwyrm/templates/book/book.html:134
#, python-format #, python-format
msgid "<a href=\"%(path)s/editions\">%(count)s editions</a>" msgid "<a href=\"%(path)s/editions\">%(count)s editions</a>"
msgstr "<a href=\"%(path)s/editions\">%(count)s 个版本</a>" msgstr "<a href=\"%(path)s/editions\">%(count)s 个版本</a>"
#: bookwyrm/templates/book/book.html:145 #: bookwyrm/templates/book/book.html:142
#, python-format #, python-format
msgid "This edition is on your <a href=\"%(path)s\">%(shelf_name)s</a> shelf." msgid "This edition is on your <a href=\"%(path)s\">%(shelf_name)s</a> shelf."
msgstr "此版本在你的 <a href=\"%(path)s\">%(shelf_name)s</a> 书架上。" msgstr "此版本在你的 <a href=\"%(path)s\">%(shelf_name)s</a> 书架上。"
#: bookwyrm/templates/book/book.html:151 #: bookwyrm/templates/book/book.html:148
#, python-format #, python-format
msgid "A <a href=\"%(book_path)s\">different edition</a> of this book is on your <a href=\"%(shelf_path)s\">%(shelf_name)s</a> shelf." msgid "A <a href=\"%(book_path)s\">different edition</a> of this book is on your <a href=\"%(shelf_path)s\">%(shelf_name)s</a> shelf."
msgstr "本书的 <a href=\"%(book_path)s\">另一个版本</a> 在你的 <a href=\"%(shelf_path)s\">%(shelf_name)s</a> 书架上。" msgstr "本书的 <a href=\"%(book_path)s\">另一个版本</a> 在你的 <a href=\"%(shelf_path)s\">%(shelf_name)s</a> 书架上。"
#: bookwyrm/templates/book/book.html:162 #: bookwyrm/templates/book/book.html:159
msgid "Your reading activity" msgid "Your reading activity"
msgstr "你的阅读活动" msgstr "你的阅读活动"
#: bookwyrm/templates/book/book.html:165 #: bookwyrm/templates/book/book.html:162
msgid "Add read dates" msgid "Add read dates"
msgstr "添加阅读日期" msgstr "添加阅读日期"
#: bookwyrm/templates/book/book.html:170 #: bookwyrm/templates/book/book.html:171
msgid "You don't have any reading activity for this book."
msgstr "你还没有任何这本书的阅读活动。"
#: bookwyrm/templates/book/book.html:177
msgid "Create" msgid "Create"
msgstr "创建" msgstr "创建"
#: bookwyrm/templates/book/book.html:203 #: bookwyrm/templates/book/book.html:181
msgid "You don't have any reading activity for this book."
msgstr "你还没有任何这本书的阅读活动。"
#: bookwyrm/templates/book/book.html:200
#, fuzzy #, fuzzy
#| msgid "Review" #| msgid "Review"
msgid "Reviews" msgid "Reviews"
msgstr "书评" msgstr "书评"
#: bookwyrm/templates/book/book.html:208 #: bookwyrm/templates/book/book.html:205
#, fuzzy #, fuzzy
#| msgid "Your shelves" #| msgid "Your shelves"
msgid "Your reviews" msgid "Your reviews"
msgstr "你的书架" msgstr "你的书架"
#: bookwyrm/templates/book/book.html:214 #: bookwyrm/templates/book/book.html:211
#, fuzzy #, fuzzy
#| msgid "Your Account" #| msgid "Your Account"
msgid "Your comments" msgid "Your comments"
msgstr "你的帐号" msgstr "你的帐号"
#: bookwyrm/templates/book/book.html:220 #: bookwyrm/templates/book/book.html:217
#, fuzzy #, fuzzy
#| msgid "Your books" #| msgid "Your books"
msgid "Your quotes" msgid "Your quotes"
msgstr "你的书目" msgstr "你的书目"
#: bookwyrm/templates/book/book.html:255 #: bookwyrm/templates/book/book.html:253
msgid "rated it"
msgstr "评价了"
#: bookwyrm/templates/book/book.html:276
msgid "Subjects" msgid "Subjects"
msgstr "主题" msgstr "主题"
#: bookwyrm/templates/book/book.html:288 #: bookwyrm/templates/book/book.html:265
msgid "Places" msgid "Places"
msgstr "地点" msgstr "地点"
#: bookwyrm/templates/book/book.html:299 bookwyrm/templates/layout.html:65 #: bookwyrm/templates/book/book.html:276 bookwyrm/templates/layout.html:64
#: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12 #: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12
#: bookwyrm/templates/search/layout.html:25 #: bookwyrm/templates/search/layout.html:25
#: bookwyrm/templates/search/layout.html:50 #: bookwyrm/templates/search/layout.html:50
@ -396,37 +394,37 @@ msgstr "地点"
msgid "Lists" msgid "Lists"
msgstr "列表" msgstr "列表"
#: bookwyrm/templates/book/book.html:310 #: bookwyrm/templates/book/book.html:287
msgid "Add to list" msgid "Add to list"
msgstr "添加到列表" msgstr "添加到列表"
#: bookwyrm/templates/book/book.html:320 #: bookwyrm/templates/book/book.html:297
#: bookwyrm/templates/book/cover_modal.html:31 #: bookwyrm/templates/book/cover_modal.html:31
#: bookwyrm/templates/lists/list.html:164 #: bookwyrm/templates/lists/list.html:164
msgid "Add" msgid "Add"
msgstr "添加" msgstr "添加"
#: bookwyrm/templates/book/book_identifiers.html:8 #: bookwyrm/templates/book/book_identifiers.html:7
msgid "ISBN:" msgid "ISBN:"
msgstr "ISBN:" msgstr "ISBN:"
#: bookwyrm/templates/book/book_identifiers.html:15 #: bookwyrm/templates/book/book_identifiers.html:14
#: bookwyrm/templates/book/edit_book.html:227 #: bookwyrm/templates/book/edit_book.html:248
msgid "OCLC Number:" msgid "OCLC Number:"
msgstr "OCLC 号:" msgstr "OCLC 号:"
#: bookwyrm/templates/book/book_identifiers.html:22 #: bookwyrm/templates/book/book_identifiers.html:21
#: bookwyrm/templates/book/edit_book.html:231 #: bookwyrm/templates/book/edit_book.html:253
msgid "ASIN:" msgid "ASIN:"
msgstr "ASIN:" msgstr "ASIN:"
#: bookwyrm/templates/book/cover_modal.html:17 #: bookwyrm/templates/book/cover_modal.html:17
#: bookwyrm/templates/book/edit_book.html:179 #: bookwyrm/templates/book/edit_book.html:192
msgid "Upload cover:" msgid "Upload cover:"
msgstr "上传封面:" msgstr "上传封面:"
#: bookwyrm/templates/book/cover_modal.html:23 #: bookwyrm/templates/book/cover_modal.html:23
#: bookwyrm/templates/book/edit_book.html:185 #: bookwyrm/templates/book/edit_book.html:198
msgid "Load cover from url:" msgid "Load cover from url:"
msgstr "从网址加载封面:" msgstr "从网址加载封面:"
@ -482,81 +480,93 @@ msgstr "确认"
msgid "Back" msgid "Back"
msgstr "返回" msgstr "返回"
#: bookwyrm/templates/book/edit_book.html:92 #: bookwyrm/templates/book/edit_book.html:93
msgid "Title:" msgid "Title:"
msgstr "标题:" msgstr "标题:"
#: bookwyrm/templates/book/edit_book.html:100 #: bookwyrm/templates/book/edit_book.html:101
msgid "Subtitle:" msgid "Subtitle:"
msgstr "副标题:" msgstr "副标题:"
#: bookwyrm/templates/book/edit_book.html:113 #: bookwyrm/templates/book/edit_book.html:114
msgid "Series:" msgid "Series:"
msgstr "系列:" msgstr "系列:"
#: bookwyrm/templates/book/edit_book.html:120 #: bookwyrm/templates/book/edit_book.html:122
msgid "Series number:" msgid "Series number:"
msgstr "系列编号:" msgstr "系列编号:"
#: bookwyrm/templates/book/edit_book.html:126 #: bookwyrm/templates/book/edit_book.html:130
#, fuzzy
#| msgid "Language:"
msgid "Languages:"
msgstr "语言:"
#: bookwyrm/templates/book/edit_book.html:139
msgid "Publisher:" msgid "Publisher:"
msgstr "出版社:" msgstr "出版社:"
#: bookwyrm/templates/book/edit_book.html:135 #: bookwyrm/templates/book/edit_book.html:148
msgid "First published date:" msgid "First published date:"
msgstr "初版时间:" msgstr "初版时间:"
#: bookwyrm/templates/book/edit_book.html:143 #: bookwyrm/templates/book/edit_book.html:156
msgid "Published date:" msgid "Published date:"
msgstr "出版时间:" msgstr "出版时间:"
#: bookwyrm/templates/book/edit_book.html:152 #: bookwyrm/templates/book/edit_book.html:165
msgid "Authors" msgid "Authors"
msgstr "作者" msgstr "作者"
#: bookwyrm/templates/book/edit_book.html:158 #: bookwyrm/templates/book/edit_book.html:171
#, python-format #, python-format
msgid "Remove <a href=\"%(path)s\">%(name)s</a>" msgid "Remove <a href=\"%(path)s\">%(name)s</a>"
msgstr "移除 <a href=\"%(path)s\">%(name)s</a>" msgstr "移除 <a href=\"%(path)s\">%(name)s</a>"
#: bookwyrm/templates/book/edit_book.html:163 #: bookwyrm/templates/book/edit_book.html:176
msgid "Add Authors:" msgid "Add Authors:"
msgstr "添加作者:" msgstr "添加作者:"
#: bookwyrm/templates/book/edit_book.html:164 #: bookwyrm/templates/book/edit_book.html:177
msgid "John Doe, Jane Smith" msgid "John Doe, Jane Smith"
msgstr "张三, 李四" msgstr "张三, 李四"
#: bookwyrm/templates/book/edit_book.html:170 #: bookwyrm/templates/book/edit_book.html:183
#: bookwyrm/templates/user/shelf/shelf.html:77 #: bookwyrm/templates/user/shelf/shelf.html:77
msgid "Cover" msgid "Cover"
msgstr "封面" msgstr "封面"
#: bookwyrm/templates/book/edit_book.html:198 #: bookwyrm/templates/book/edit_book.html:211
msgid "Physical Properties" msgid "Physical Properties"
msgstr "实体性质" msgstr "实体性质"
#: bookwyrm/templates/book/edit_book.html:199 #: bookwyrm/templates/book/edit_book.html:212
#: bookwyrm/templates/book/format_filter.html:5 #: bookwyrm/templates/book/format_filter.html:5
msgid "Format:" msgid "Format:"
msgstr "格式:" msgstr "格式:"
#: bookwyrm/templates/book/edit_book.html:207 #: bookwyrm/templates/book/edit_book.html:220
msgid "Pages:" msgid "Pages:"
msgstr "页数:" msgstr "页数:"
#: bookwyrm/templates/book/edit_book.html:214 #: bookwyrm/templates/book/edit_book.html:227
msgid "Book Identifiers" msgid "Book Identifiers"
msgstr "书目标识号" msgstr "书目标识号"
#: bookwyrm/templates/book/edit_book.html:215 #: bookwyrm/templates/book/edit_book.html:228
msgid "ISBN 13:" msgid "ISBN 13:"
msgstr "ISBN 13:" msgstr "ISBN 13:"
#: bookwyrm/templates/book/edit_book.html:219 #: bookwyrm/templates/book/edit_book.html:233
msgid "ISBN 10:" msgid "ISBN 10:"
msgstr "ISBN 10:" msgstr "ISBN 10:"
#: bookwyrm/templates/book/edit_book.html:238
#, fuzzy
#| msgid "Openlibrary key:"
msgid "Openlibrary ID:"
msgstr "Openlibrary key:"
#: bookwyrm/templates/book/editions.html:4 #: bookwyrm/templates/book/editions.html:4
#, python-format #, python-format
msgid "Editions of %(book_title)s" msgid "Editions of %(book_title)s"
@ -611,12 +621,17 @@ msgstr "于 %(date)s 出版"
msgid "Published by %(publisher)s." msgid "Published by %(publisher)s."
msgstr "由 %(publisher)s 出版。" msgstr "由 %(publisher)s 出版。"
#: bookwyrm/templates/book/rating.html:13
msgid "rated it"
msgstr "评价了"
#: bookwyrm/templates/components/inline_form.html:8 #: bookwyrm/templates/components/inline_form.html:8
#: bookwyrm/templates/components/modal.html:11 #: bookwyrm/templates/components/modal.html:11
#: bookwyrm/templates/feed/feed_layout.html:69 #: bookwyrm/templates/feed/feed_layout.html:69
#: bookwyrm/templates/get_started/layout.html:19 #: bookwyrm/templates/get_started/layout.html:19
#: bookwyrm/templates/get_started/layout.html:52 #: bookwyrm/templates/get_started/layout.html:52
#: bookwyrm/templates/search/book.html:32 #: bookwyrm/templates/search/book.html:32
#: bookwyrm/templates/snippets/announcement.html:17
msgid "Close" msgid "Close"
msgstr "关闭" msgstr "关闭"
@ -640,7 +655,7 @@ msgstr "跨站社区"
#: bookwyrm/templates/directory/directory.html:4 #: bookwyrm/templates/directory/directory.html:4
#: bookwyrm/templates/directory/directory.html:9 #: bookwyrm/templates/directory/directory.html:9
#: bookwyrm/templates/layout.html:93 #: bookwyrm/templates/layout.html:92
msgid "Directory" msgid "Directory"
msgstr "目录" msgstr "目录"
@ -654,6 +669,7 @@ msgid "You can opt-out at any time in your <a href=\"%(path)s\">profile settings
msgstr "你可以在任何时候从你的 <a href=\"%(path)s\">个人资料设定</a> 中退出。" msgstr "你可以在任何时候从你的 <a href=\"%(path)s\">个人资料设定</a> 中退出。"
#: bookwyrm/templates/directory/directory.html:29 #: bookwyrm/templates/directory/directory.html:29
#: bookwyrm/templates/snippets/announcement.html:30
#: bookwyrm/templates/snippets/goal_card.html:22 #: bookwyrm/templates/snippets/goal_card.html:22
msgid "Dismiss message" msgid "Dismiss message"
msgstr "遣散消息" msgstr "遣散消息"
@ -742,7 +758,7 @@ msgid "Join %(name)s"
msgstr "加入 %(name)s" msgstr "加入 %(name)s"
#: bookwyrm/templates/discover/landing_layout.html:51 #: bookwyrm/templates/discover/landing_layout.html:51
#: bookwyrm/templates/login.html:48 #: bookwyrm/templates/login.html:51
msgid "This instance is closed" msgid "This instance is closed"
msgstr "本实例不开放。" msgstr "本实例不开放。"
@ -838,7 +854,7 @@ msgid "Direct Messages with <a href=\"%(path)s\">%(username)s</a>"
msgstr "与 <a href=\"%(path)s\">%(username)s</a> 私信" msgstr "与 <a href=\"%(path)s\">%(username)s</a> 私信"
#: bookwyrm/templates/feed/direct_messages.html:10 #: bookwyrm/templates/feed/direct_messages.html:10
#: bookwyrm/templates/layout.html:88 #: bookwyrm/templates/layout.html:87
msgid "Direct Messages" msgid "Direct Messages"
msgstr "私信" msgstr "私信"
@ -894,7 +910,7 @@ msgid "Updates"
msgstr "更新" msgstr "更新"
#: bookwyrm/templates/feed/feed_layout.html:10 #: bookwyrm/templates/feed/feed_layout.html:10
#: bookwyrm/templates/layout.html:59 #: bookwyrm/templates/layout.html:58
#: bookwyrm/templates/user/shelf/books_header.html:3 #: bookwyrm/templates/user/shelf/books_header.html:3
msgid "Your books" msgid "Your books"
msgstr "你的书目" msgstr "你的书目"
@ -966,7 +982,7 @@ msgstr "你可以在开始使用 %(site_name)s 后添加书目。"
#: bookwyrm/templates/get_started/books.html:17 #: bookwyrm/templates/get_started/books.html:17
#: bookwyrm/templates/get_started/users.html:18 #: bookwyrm/templates/get_started/users.html:18
#: bookwyrm/templates/get_started/users.html:19 #: bookwyrm/templates/get_started/users.html:19
#: bookwyrm/templates/layout.html:38 bookwyrm/templates/layout.html:39 #: bookwyrm/templates/layout.html:37 bookwyrm/templates/layout.html:38
#: bookwyrm/templates/lists/list.html:124 #: bookwyrm/templates/lists/list.html:124
#: bookwyrm/templates/search/layout.html:4 #: bookwyrm/templates/search/layout.html:4
#: bookwyrm/templates/search/layout.html:9 #: bookwyrm/templates/search/layout.html:9
@ -1095,7 +1111,7 @@ msgid "%(username)s's %(year)s Books"
msgstr "%(username)s 在 %(year)s 的书目" msgstr "%(username)s 在 %(year)s 的书目"
#: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9
#: bookwyrm/templates/layout.html:98 #: bookwyrm/templates/layout.html:97
msgid "Import Books" msgid "Import Books"
msgstr "导入书目" msgstr "导入书目"
@ -1196,7 +1212,7 @@ msgid "Imported"
msgstr "已导入" msgstr "已导入"
#: bookwyrm/templates/invite.html:4 bookwyrm/templates/invite.html:12 #: bookwyrm/templates/invite.html:4 bookwyrm/templates/invite.html:12
#: bookwyrm/templates/login.html:43 #: bookwyrm/templates/login.html:46
msgid "Create an Account" msgid "Create an Account"
msgstr "创建帐号" msgstr "创建帐号"
@ -1221,23 +1237,23 @@ msgstr "\"%(query)s\" 的搜索结果"
msgid "Matching Books" msgid "Matching Books"
msgstr "匹配的书目" msgstr "匹配的书目"
#: bookwyrm/templates/layout.html:34 #: bookwyrm/templates/layout.html:33
msgid "Search for a book or user" msgid "Search for a book or user"
msgstr "搜索书目或用户" msgstr "搜索书目或用户"
#: bookwyrm/templates/layout.html:48 bookwyrm/templates/layout.html:49 #: bookwyrm/templates/layout.html:47 bookwyrm/templates/layout.html:48
msgid "Main navigation menu" msgid "Main navigation menu"
msgstr "主导航菜单" msgstr "主导航菜单"
#: bookwyrm/templates/layout.html:62 #: bookwyrm/templates/layout.html:61
msgid "Feed" msgid "Feed"
msgstr "动态" msgstr "动态"
#: bookwyrm/templates/layout.html:103 #: bookwyrm/templates/layout.html:102
msgid "Settings" msgid "Settings"
msgstr "设置" msgstr "设置"
#: bookwyrm/templates/layout.html:112 #: bookwyrm/templates/layout.html:111
#: bookwyrm/templates/settings/admin_layout.html:31 #: bookwyrm/templates/settings/admin_layout.html:31
#: bookwyrm/templates/settings/manage_invite_requests.html:15 #: bookwyrm/templates/settings/manage_invite_requests.html:15
#: bookwyrm/templates/settings/manage_invites.html:3 #: bookwyrm/templates/settings/manage_invites.html:3
@ -1245,64 +1261,63 @@ msgstr "设置"
msgid "Invites" msgid "Invites"
msgstr "邀请" msgstr "邀请"
#: bookwyrm/templates/layout.html:119 #: bookwyrm/templates/layout.html:118
msgid "Admin" msgid "Admin"
msgstr "管理员" msgstr "管理员"
#: bookwyrm/templates/layout.html:126 #: bookwyrm/templates/layout.html:125
msgid "Log out" msgid "Log out"
msgstr "登出" msgstr "登出"
#: bookwyrm/templates/layout.html:134 bookwyrm/templates/layout.html:135 #: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134
#: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:6
#: bookwyrm/templates/notifications.html:11 #: bookwyrm/templates/notifications.html:11
msgid "Notifications" msgid "Notifications"
msgstr "通知" msgstr "通知"
#: bookwyrm/templates/layout.html:155 bookwyrm/templates/layout.html:159 #: bookwyrm/templates/layout.html:154 bookwyrm/templates/layout.html:158
#: bookwyrm/templates/login.html:17 #: bookwyrm/templates/login.html:17
#: bookwyrm/templates/snippets/register_form.html:4 #: bookwyrm/templates/snippets/register_form.html:4
msgid "Username:" msgid "Username:"
msgstr "用户名:" msgstr "用户名:"
#: bookwyrm/templates/layout.html:160 #: bookwyrm/templates/layout.html:159
msgid "password" msgid "password"
msgstr "密码" msgstr "密码"
#: bookwyrm/templates/layout.html:161 bookwyrm/templates/login.html:36 #: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:36
msgid "Forgot your password?" msgid "Forgot your password?"
msgstr "忘记了密码?" msgstr "忘记了密码?"
#: bookwyrm/templates/layout.html:164 bookwyrm/templates/login.html:10 #: bookwyrm/templates/layout.html:163 bookwyrm/templates/login.html:10
#: bookwyrm/templates/login.html:33 #: bookwyrm/templates/login.html:33
msgid "Log in" msgid "Log in"
msgstr "登录" msgstr "登录"
#: bookwyrm/templates/layout.html:172 #: bookwyrm/templates/layout.html:171
msgid "Join" msgid "Join"
msgstr "加入" msgstr "加入"
#: bookwyrm/templates/layout.html:198 #: bookwyrm/templates/layout.html:206
msgid "About this server" msgid "About this server"
msgstr "关于本服务器" msgstr "关于本服务器"
#: bookwyrm/templates/layout.html:202 #: bookwyrm/templates/layout.html:210
msgid "Contact site admin" msgid "Contact site admin"
msgstr "联系站点管理员" msgstr "联系站点管理员"
#: bookwyrm/templates/layout.html:206 #: bookwyrm/templates/layout.html:214
#, fuzzy #, fuzzy
#| msgid "List curation:" #| msgid "List curation:"
msgid "Documentation" msgid "Documentation"
msgstr "列表策展:" msgstr "列表策展:"
#: bookwyrm/templates/layout.html:213 #: bookwyrm/templates/layout.html:221
#, python-format #, python-format
msgid "Support %(site_name)s on <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>" msgid "Support %(site_name)s on <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a>"
msgstr "在 <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a> 上支持 %(site_name)s" msgstr "在 <a href=\"%(support_link)s\" target=\"_blank\">%(support_title)s</a> 上支持 %(site_name)s"
#: bookwyrm/templates/layout.html:217 #: bookwyrm/templates/layout.html:225
#| msgid "BookWyrm is open source software. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>."
msgid "BookWyrm's source code is freely available. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>." msgid "BookWyrm's source code is freely available. You can contribute or report issues on <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a>."
msgstr "BookWyrm 是开源软件。你可以在 <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a> 贡献或报告问题。" msgstr "BookWyrm 是开源软件。你可以在 <a href=\"https://github.com/mouse-reeve/bookwyrm\">GitHub</a> 贡献或报告问题。"
@ -1373,6 +1388,7 @@ msgstr "任何人都可以推荐书目、主题让你批准"
#: bookwyrm/templates/lists/form.html:31 #: bookwyrm/templates/lists/form.html:31
#: bookwyrm/templates/moderation/reports.html:25 #: bookwyrm/templates/moderation/reports.html:25
#: bookwyrm/templates/search/book.html:30 #: bookwyrm/templates/search/book.html:30
#: bookwyrm/templates/snippets/announcement.html:15
msgid "Open" msgid "Open"
msgstr "开放" msgstr "开放"
@ -1466,11 +1482,11 @@ msgstr "登录"
msgid "Password:" msgid "Password:"
msgstr "密码:" msgstr "密码:"
#: bookwyrm/templates/login.html:49 #: bookwyrm/templates/login.html:52
msgid "Contact an administrator to get an invite" msgid "Contact an administrator to get an invite"
msgstr "联系管理员以取得邀请" msgstr "联系管理员以取得邀请"
#: bookwyrm/templates/login.html:59 #: bookwyrm/templates/login.html:63
msgid "More about this site" msgid "More about this site"
msgstr "关于本站点的更多" msgstr "关于本站点的更多"
@ -1820,31 +1836,144 @@ msgid "Instance Settings"
msgstr "实例设置" msgstr "实例设置"
#: bookwyrm/templates/settings/admin_layout.html:48 #: bookwyrm/templates/settings/admin_layout.html:48
#: bookwyrm/templates/settings/announcements.html:3
#: bookwyrm/templates/settings/announcements.html:5
msgid "Announcements"
msgstr "公告"
#: bookwyrm/templates/settings/admin_layout.html:52
#: bookwyrm/templates/settings/site.html:4 #: bookwyrm/templates/settings/site.html:4
#: bookwyrm/templates/settings/site.html:6 #: bookwyrm/templates/settings/site.html:6
msgid "Site Settings" msgid "Site Settings"
msgstr "站点设置" msgstr "站点设置"
#: bookwyrm/templates/settings/admin_layout.html:51 #: bookwyrm/templates/settings/admin_layout.html:55
#: bookwyrm/templates/settings/site.html:13 #: bookwyrm/templates/settings/site.html:13
msgid "Instance Info" msgid "Instance Info"
msgstr "实例信息" msgstr "实例信息"
#: bookwyrm/templates/settings/admin_layout.html:52 #: bookwyrm/templates/settings/admin_layout.html:56
#: bookwyrm/templates/settings/site.html:39 #: bookwyrm/templates/settings/site.html:39
msgid "Images" msgid "Images"
msgstr "图像" msgstr "图像"
#: bookwyrm/templates/settings/admin_layout.html:53 #: bookwyrm/templates/settings/admin_layout.html:57
#: bookwyrm/templates/settings/site.html:59 #: bookwyrm/templates/settings/site.html:59
msgid "Footer Content" msgid "Footer Content"
msgstr "页脚内容" msgstr "页脚内容"
#: bookwyrm/templates/settings/admin_layout.html:54 #: bookwyrm/templates/settings/admin_layout.html:58
#: bookwyrm/templates/settings/site.html:81 #: bookwyrm/templates/settings/site.html:81
msgid "Registration" msgid "Registration"
msgstr "注册" msgstr "注册"
#: bookwyrm/templates/settings/announcement.html:3
#: bookwyrm/templates/settings/announcement.html:6
#, fuzzy
#| msgid "Announcements"
msgid "Announcement"
msgstr "公告"
#: bookwyrm/templates/settings/announcement.html:7
#: bookwyrm/templates/settings/federated_server.html:13
#, fuzzy
#| msgid "Back to server list"
msgid "Back to list"
msgstr "回到服务器列表"
#: bookwyrm/templates/settings/announcement.html:11
#, fuzzy
#| msgid "Announcements"
msgid "Edit Announcement"
msgstr "公告"
#: bookwyrm/templates/settings/announcement.html:20
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:15
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
msgid "Delete"
msgstr "删除"
#: bookwyrm/templates/settings/announcement.html:35
msgid "Visible:"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:38
msgid "True"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:40
msgid "False"
msgstr ""
#: bookwyrm/templates/settings/announcement.html:47
#, fuzzy
#| msgid "Birth date:"
msgid "Start date:"
msgstr "出生日期:"
#: bookwyrm/templates/settings/announcement.html:54
#, fuzzy
#| msgid "Birth date:"
msgid "End date:"
msgstr "出生日期:"
#: bookwyrm/templates/settings/announcement.html:60
#, fuzzy
#| msgid "Active"
msgid "Active:"
msgstr "活跃"
#: bookwyrm/templates/settings/announcement_form.html:5
#: bookwyrm/templates/settings/announcements.html:8
#, fuzzy
#| msgid "Announcements"
msgid "Create Announcement"
msgstr "公告"
#: bookwyrm/templates/settings/announcements.html:22
#, fuzzy
#| msgid "Date Added"
msgid "Date added"
msgstr "添加日期:"
#: bookwyrm/templates/settings/announcements.html:26
#, fuzzy
#| msgid "reviewed"
msgid "Preview"
msgstr "写了书评给"
#: bookwyrm/templates/settings/announcements.html:30
#, fuzzy
#| msgid "Started"
msgid "Start date"
msgstr "开始时间"
#: bookwyrm/templates/settings/announcements.html:34
#, fuzzy
#| msgid "Edit read dates"
msgid "End date"
msgstr "编辑阅读日期"
#: bookwyrm/templates/settings/announcements.html:38
#: bookwyrm/templates/settings/federation.html:30
#: bookwyrm/templates/settings/manage_invite_requests.html:44
#: bookwyrm/templates/settings/status_filter.html:5
#: bookwyrm/templates/user_admin/user_admin.html:34
msgid "Status"
msgstr "状态"
#: bookwyrm/templates/settings/announcements.html:48
#, fuzzy
#| msgid "Inactive"
msgid "active"
msgstr "停用"
#: bookwyrm/templates/settings/announcements.html:48
#, fuzzy
#| msgid "Inactive"
msgid "inactive"
msgstr "停用"
#: bookwyrm/templates/settings/edit_server.html:3 #: bookwyrm/templates/settings/edit_server.html:3
#: bookwyrm/templates/settings/edit_server.html:6 #: bookwyrm/templates/settings/edit_server.html:6
#: bookwyrm/templates/settings/edit_server.html:20 #: bookwyrm/templates/settings/edit_server.html:20
@ -1858,7 +1987,6 @@ msgid "Add server"
msgstr "添加封面" msgstr "添加封面"
#: bookwyrm/templates/settings/edit_server.html:7 #: bookwyrm/templates/settings/edit_server.html:7
#: bookwyrm/templates/settings/federated_server.html:13
#: bookwyrm/templates/settings/server_blocklist.html:7 #: bookwyrm/templates/settings/server_blocklist.html:7
msgid "Back to server list" msgid "Back to server list"
msgstr "回到服务器列表" msgstr "回到服务器列表"
@ -1877,7 +2005,7 @@ msgid "Instance:"
msgstr "实例名称" msgstr "实例名称"
#: bookwyrm/templates/settings/edit_server.html:37 #: bookwyrm/templates/settings/edit_server.html:37
#: bookwyrm/templates/settings/federated_server.html:30 #: bookwyrm/templates/settings/federated_server.html:31
#: bookwyrm/templates/user_admin/user_info.html:34 #: bookwyrm/templates/user_admin/user_info.html:34
msgid "Status:" msgid "Status:"
msgstr "状态:" msgstr "状态:"
@ -1890,13 +2018,13 @@ msgid "Blocked"
msgstr "屏蔽" msgstr "屏蔽"
#: bookwyrm/templates/settings/edit_server.html:48 #: bookwyrm/templates/settings/edit_server.html:48
#: bookwyrm/templates/settings/federated_server.html:22 #: bookwyrm/templates/settings/federated_server.html:23
#: bookwyrm/templates/user_admin/user_info.html:26 #: bookwyrm/templates/user_admin/user_info.html:26
msgid "Software:" msgid "Software:"
msgstr "软件:" msgstr "软件:"
#: bookwyrm/templates/settings/edit_server.html:55 #: bookwyrm/templates/settings/edit_server.html:55
#: bookwyrm/templates/settings/federated_server.html:26 #: bookwyrm/templates/settings/federated_server.html:27
#: bookwyrm/templates/user_admin/user_info.html:30 #: bookwyrm/templates/user_admin/user_info.html:30
msgid "Version:" msgid "Version:"
msgstr "版本:" msgstr "版本:"
@ -1909,90 +2037,83 @@ msgstr ""
msgid "Details" msgid "Details"
msgstr "详细" msgstr "详细"
#: bookwyrm/templates/settings/federated_server.html:37 #: bookwyrm/templates/settings/federated_server.html:39
#: bookwyrm/templates/user/layout.html:56 #: bookwyrm/templates/user/layout.html:56
msgid "Activity" msgid "Activity"
msgstr "活动" msgstr "活动"
#: bookwyrm/templates/settings/federated_server.html:40 #: bookwyrm/templates/settings/federated_server.html:43
msgid "Users:" msgid "Users:"
msgstr "用户:" msgstr "用户:"
#: bookwyrm/templates/settings/federated_server.html:43 #: bookwyrm/templates/settings/federated_server.html:46
#: bookwyrm/templates/settings/federated_server.html:50 #: bookwyrm/templates/settings/federated_server.html:53
msgid "View all" msgid "View all"
msgstr "查看全部" msgstr "查看全部"
#: bookwyrm/templates/settings/federated_server.html:47 #: bookwyrm/templates/settings/federated_server.html:50
msgid "Reports:" msgid "Reports:"
msgstr "报告:" msgstr "报告:"
#: bookwyrm/templates/settings/federated_server.html:54 #: bookwyrm/templates/settings/federated_server.html:57
msgid "Followed by us:" msgid "Followed by us:"
msgstr "我们关注了的:" msgstr "我们关注了的:"
#: bookwyrm/templates/settings/federated_server.html:60 #: bookwyrm/templates/settings/federated_server.html:63
msgid "Followed by them:" msgid "Followed by them:"
msgstr "TA 们关注了的:" msgstr "TA 们关注了的:"
#: bookwyrm/templates/settings/federated_server.html:66 #: bookwyrm/templates/settings/federated_server.html:69
msgid "Blocked by us:" msgid "Blocked by us:"
msgstr "我们所屏蔽的:" msgstr "我们所屏蔽的:"
#: bookwyrm/templates/settings/federated_server.html:78 #: bookwyrm/templates/settings/federated_server.html:82
#: bookwyrm/templates/user_admin/user_info.html:39 #: bookwyrm/templates/user_admin/user_info.html:39
msgid "Notes" msgid "Notes"
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:81 #: bookwyrm/templates/settings/federated_server.html:85
#, fuzzy #, fuzzy
#| msgid "Edit Book" #| msgid "Edit Book"
msgid "Edit" msgid "Edit"
msgstr "编辑书目" msgstr "编辑书目"
#: bookwyrm/templates/settings/federated_server.html:101 #: bookwyrm/templates/settings/federated_server.html:105
#: bookwyrm/templates/user_admin/user_moderation_actions.html:3 #: bookwyrm/templates/user_admin/user_moderation_actions.html:3
msgid "Actions" msgid "Actions"
msgstr "动作" msgstr "动作"
#: bookwyrm/templates/settings/federated_server.html:105 #: bookwyrm/templates/settings/federated_server.html:109
#: bookwyrm/templates/snippets/block_button.html:5 #: bookwyrm/templates/snippets/block_button.html:5
msgid "Block" msgid "Block"
msgstr "屏蔽" msgstr "屏蔽"
#: bookwyrm/templates/settings/federated_server.html:106 #: bookwyrm/templates/settings/federated_server.html:110
msgid "All users from this instance will be deactivated." msgid "All users from this instance will be deactivated."
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federated_server.html:111 #: bookwyrm/templates/settings/federated_server.html:115
#: bookwyrm/templates/snippets/block_button.html:10 #: bookwyrm/templates/snippets/block_button.html:10
msgid "Un-block" msgid "Un-block"
msgstr "取消屏蔽" msgstr "取消屏蔽"
#: bookwyrm/templates/settings/federated_server.html:112 #: bookwyrm/templates/settings/federated_server.html:116
msgid "All users from this instance will be re-activated." msgid "All users from this instance will be re-activated."
msgstr "" msgstr ""
#: bookwyrm/templates/settings/federation.html:20 #: bookwyrm/templates/settings/federation.html:19
#: bookwyrm/templates/user_admin/server_filter.html:5 #: bookwyrm/templates/user_admin/server_filter.html:5
msgid "Server name" msgid "Server name"
msgstr "服务器名称" msgstr "服务器名称"
#: bookwyrm/templates/settings/federation.html:24 #: bookwyrm/templates/settings/federation.html:23
msgid "Date federated" msgid "Date federated"
msgstr "跨站日期" msgstr "跨站日期"
#: bookwyrm/templates/settings/federation.html:28 #: bookwyrm/templates/settings/federation.html:27
msgid "Software" msgid "Software"
msgstr "软件" msgstr "软件"
#: bookwyrm/templates/settings/federation.html:31
#: bookwyrm/templates/settings/manage_invite_requests.html:44
#: bookwyrm/templates/settings/status_filter.html:5
#: bookwyrm/templates/user_admin/user_admin.html:34
msgid "Status"
msgstr "状态"
#: bookwyrm/templates/settings/manage_invite_requests.html:4 #: bookwyrm/templates/settings/manage_invite_requests.html:4
#: bookwyrm/templates/settings/manage_invite_requests.html:11 #: bookwyrm/templates/settings/manage_invite_requests.html:11
#: bookwyrm/templates/settings/manage_invite_requests.html:25 #: bookwyrm/templates/settings/manage_invite_requests.html:25
@ -2184,6 +2305,12 @@ msgstr "允许请求邀请:"
msgid "Registration closed text:" msgid "Registration closed text:"
msgstr "注册关闭文字:" msgstr "注册关闭文字:"
#: bookwyrm/templates/snippets/announcement.html:27
#, fuzzy, python-format
#| msgid "Added by <a href=\"%(user_path)s\">%(username)s</a>"
msgid "Posted by <a href=\"%(user_path)s\">%(username)s</a>"
msgstr "由 <a href=\"%(user_path)s\">%(username)s</a> 添加"
#: bookwyrm/templates/snippets/book_cover.html:31 #: bookwyrm/templates/snippets/book_cover.html:31
msgid "No cover" msgid "No cover"
msgstr "没有封面" msgstr "没有封面"
@ -2295,11 +2422,6 @@ msgstr "删除这些阅读日期吗?"
msgid "You are deleting this readthrough and its %(count)s associated progress updates." msgid "You are deleting this readthrough and its %(count)s associated progress updates."
msgstr "你正要删除这篇阅读经过以及与之相关的 %(count)s 次进度更新。" msgstr "你正要删除这篇阅读经过以及与之相关的 %(count)s 次进度更新。"
#: bookwyrm/templates/snippets/delete_readthrough_modal.html:15
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
msgid "Delete"
msgstr "删除"
#: bookwyrm/templates/snippets/fav_button.html:9 #: bookwyrm/templates/snippets/fav_button.html:9
#: bookwyrm/templates/snippets/fav_button.html:11 #: bookwyrm/templates/snippets/fav_button.html:11
msgid "Like" msgid "Like"
@ -2749,16 +2871,16 @@ msgstr "删除书架"
msgid "Edit profile" msgid "Edit profile"
msgstr "编辑个人资料" msgstr "编辑个人资料"
#: bookwyrm/templates/user/user.html:34 #: bookwyrm/templates/user/user.html:33
#, python-format #, python-format
msgid "View all %(size)s" msgid "View all %(size)s"
msgstr "查看所有 %(size)s 本" msgstr "查看所有 %(size)s 本"
#: bookwyrm/templates/user/user.html:47 #: bookwyrm/templates/user/user.html:46
msgid "View all books" msgid "View all books"
msgstr "查看所有书目" msgstr "查看所有书目"
#: bookwyrm/templates/user/user.html:60 #: bookwyrm/templates/user/user.html:59
msgid "User Activity" msgid "User Activity"
msgstr "用户活动" msgstr "用户活动"
@ -2867,11 +2989,11 @@ msgstr ""
msgid "Access level:" msgid "Access level:"
msgstr "" msgstr ""
#: bookwyrm/views/password.py:30 bookwyrm/views/password.py:35 #: bookwyrm/views/password.py:32
msgid "No user with that email address was found." msgid "No user with that email address was found."
msgstr "没有找到使用该邮箱的用户。" msgstr "没有找到使用该邮箱的用户。"
#: bookwyrm/views/password.py:44 #: bookwyrm/views/password.py:41
#, python-format #, python-format
msgid "A password reset link sent to %s" msgid "A password reset link sent to %s"
msgstr "密码重置连接已发送给 %s" msgstr "密码重置连接已发送给 %s"
@ -3250,9 +3372,6 @@ msgstr "密码重置连接已发送给 %s"
#~ msgid "Send follow request" #~ msgid "Send follow request"
#~ msgstr "发送关注请求" #~ msgstr "发送关注请求"
#~ msgid "Announcements"
#~ msgstr "公告"
#~ msgid "Site Configuration" #~ msgid "Site Configuration"
#~ msgstr "站点配置" #~ msgstr "站点配置"