mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
589a743cfb
73 changed files with 1639 additions and 1162 deletions
|
@ -2,7 +2,7 @@
|
|||
{% load humanize %}
|
||||
{% load i18n %}
|
||||
{% load utilities %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load landing_page_tags %}
|
||||
{% load cache %}
|
||||
|
||||
{% block title %}
|
||||
|
@ -95,7 +95,7 @@
|
|||
<h2 class="title is-3">{% trans "Meet your admins" %}</h2>
|
||||
<p>
|
||||
{% url "conduct" as coc_path %}
|
||||
{% blocktrans with site_name=site.name %}
|
||||
{% blocktrans trimmed with site_name=site.name %}
|
||||
{{ site_name }}'s moderators and administrators keep the site up and running, enforce the <a href="coc_path">code of conduct</a>, and respond when users report spam and bad behavior.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
|
|
@ -141,12 +141,14 @@
|
|||
<h2 class="title is-4">{% blocktrans with name=author.name %}Books by {{ name }}{% endblocktrans %}</h2>
|
||||
<div class="columns is-multiline is-mobile">
|
||||
{% for book in books %}
|
||||
{% with book=book.default_edition %}
|
||||
<div class="column is-one-fifth-tablet is-half-mobile is-flex is-flex-direction-column">
|
||||
<div class="is-flex-grow-1">
|
||||
{% include 'landing/small-book.html' with book=book %}
|
||||
</div>
|
||||
{% include 'snippets/shelve_button/shelve_button.html' with book=book %}
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load humanize %}
|
||||
{% load utilities %}
|
||||
{% load static %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load utilities %}
|
||||
|
||||
{% get_book_file_links book as links %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load rating_tags %}
|
||||
{% load i18n %}
|
||||
{% load utilities %}
|
||||
{% load status_display %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load landing_page_tags %}
|
||||
{% load utilities %}
|
||||
{% load i18n %}
|
||||
{% load status_display %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'feed/layout.html' %}
|
||||
{% load feed_page_tags %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
|
||||
{% block opengraph_images %}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load feed_page_tags %}
|
||||
|
||||
{% suggested_books as suggested_books %}
|
||||
<section class="block">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{% extends 'groups/layout.html' %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
{% load markdown %}
|
||||
|
||||
{% block panel %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
|
||||
{% block title %}{{ group.name }}{% endblock %}
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{% load i18n %}
|
||||
{% load utilities %}
|
||||
{% load humanize %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
|
||||
<h2 class="title is-5">Group Members</h2>
|
||||
{% if group.user == request.user %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends 'landing/layout.html' %}
|
||||
{% load i18n %}
|
||||
{% load cache %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load landing_page_tags %}
|
||||
|
||||
{% block panel %}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load rating_tags %}
|
||||
{% load markdown %}
|
||||
{% load i18n %}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load rating_tags %}
|
||||
{% load i18n %}
|
||||
|
||||
{% if book %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{% extends 'embed-layout.html' %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load rating_tags %}
|
||||
{% load group_tags %}
|
||||
{% load markdown %}
|
||||
|
||||
{% block title %}{% blocktrans with list_name=list.name owner=list.user.display_name %}{{ list_name }}, a list by {{owner}}{% endblocktrans %}{% endblock title %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{% extends 'lists/layout.html' %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load rating_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load group_tags %}
|
||||
{% load markdown %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load notification_page_tags %}
|
||||
{% related_status notification as related_status %}
|
||||
<div class="notification {% if notification.id in unread %}has-background-primary{% endif %}">
|
||||
<div class="columns is-mobile {% if notification.id in unread %}has-text-white{% else %}has-text-grey{% endif %}">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load shelf_tags %}
|
||||
{% load utilities %}
|
||||
{% load humanize %}
|
||||
{% load i18n %}
|
||||
|
@ -92,7 +92,7 @@
|
|||
</span>
|
||||
{% with count=books.paginator.count %}
|
||||
{% if count %}
|
||||
<p class="help">
|
||||
<span class="help">
|
||||
{% blocktrans trimmed count counter=count with formatted_count=count|intcomma %}
|
||||
{{ formatted_count }} book
|
||||
{% plural %}
|
||||
|
@ -104,7 +104,7 @@
|
|||
(showing {{ start }}-{{ end }})
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
</p>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</h2>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% load i18n %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
|
||||
{% if request.user == user or not request.user == group.user or not request.user.is_authenticated %}
|
||||
{% elif user in request.user.blocks.all %}
|
||||
{% include 'snippets/block_button.html' with blocks=True %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "snippets/create_status/layout.html" %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load shelf_tags %}
|
||||
{% load i18n %}
|
||||
{% load utilities %}
|
||||
{% load status_display %}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load i18n %}
|
||||
{% load utilities %}
|
||||
{% load status_display %}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "snippets/create_status/layout.html" %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load utilities %}
|
||||
{% load status_display %}
|
||||
{% load i18n %}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "snippets/create_status/layout.html" %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load utilities %}
|
||||
{% load status_display %}
|
||||
{% load i18n %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% load i18n %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
|
||||
{% if group|is_invited:request.user %}
|
||||
<div class="field is-grouped">
|
||||
<form action="/accept-group-invitation/" method="POST">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load rating_tags %}
|
||||
|
||||
{% if request.user.is_authenticated %}
|
||||
<span class="is-sr-only">{% trans "Leave a rating" %}</span>
|
||||
<div class="block">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% load i18n %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
|
||||
{% if request.user == user or not request.user == group.user or not request.user.is_authenticated %}
|
||||
{% else %}
|
||||
{% if user in request.user.blocks.all %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends 'components/dropdown.html' %}
|
||||
{% load i18n %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load shelf_tags %}
|
||||
{% load utilities %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block dropdown-trigger %}
|
||||
<span>{% trans "Move book" %}</span>
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
{% if shelf.editable %}
|
||||
<li role="menuitem" class="dropdown-item p-0">
|
||||
<form name="shelve" action="/shelve/" method="post">
|
||||
<form name="editable-shelve-{{ uuid }}" action="/shelve/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="book" value="{{ book.id }}">
|
||||
<input type="hidden" name="change-shelf-from" value="{{ current.identifier }}">
|
||||
|
@ -67,7 +67,7 @@
|
|||
{% if user_shelf in book.shelves.all %}
|
||||
<li class="navbar-divider m-0" role="separator" ></li>
|
||||
<li role="menuitem" class="dropdown-item p-0">
|
||||
<form name="shelve" action="/unshelve/" method="post">
|
||||
<form name="shelve-{{ user_shelf.identifier }}-{{ book.id }}-{{ uuid }}" action="/unshelve/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="book" value="{{ book.id }}">
|
||||
<input type="hidden" name="shelf" value="{{ user_shelf.id }}">
|
||||
|
@ -79,7 +79,7 @@
|
|||
{% else %}
|
||||
<li class="navbar-divider" role="separator" ></li>
|
||||
<li role="menuitem" class="dropdown-item p-0">
|
||||
<form name="shelve" action="/unshelve/" method="post">
|
||||
<form name="un-shelve-{{ shelf.identifier }}-{{ book.id }}-{{ uuid }}" action="/unshelve/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="book" value="{{ book.id }}">
|
||||
<input type="hidden" name="shelf" value="{{ shelf.id }}">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load utilities %}
|
||||
{% load shelf_tags %}
|
||||
|
||||
{% if request.user.is_authenticated %}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load utilities %}
|
||||
{% load shelf_tags %}
|
||||
{% load i18n %}
|
||||
|
||||
{% with next_shelf_identifier=active_shelf.shelf.identifier|next_shelf %}
|
||||
|
@ -58,7 +58,7 @@
|
|||
|
||||
{% if active_shelf.shelf %}
|
||||
<li role="menuitem" class="dropdown-item p-0" data-extra-options>
|
||||
<form name="shelve" action="/unshelve/" method="post">
|
||||
<form name="unshelve-{{ uuid }}-{{ shelf.identifier }}" action="/unshelve/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="book" value="{{ active_shelf.book.id }}">
|
||||
<input type="hidden" name="shelf" value="{{ active_shelf.shelf.id }}">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load utilities %}
|
||||
{% load shelf_tags %}
|
||||
{% load i18n %}
|
||||
|
||||
{% with next_shelf_identifier=active_shelf.shelf.identifier|next_shelf %}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load rating_tags %}
|
||||
{% load markdown %}
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% spaceless %}
|
||||
|
||||
{% load bookwyrm_tags %}
|
||||
{% load book_display_tags %}
|
||||
{% load markdown %}
|
||||
{% load i18n %}
|
||||
{% load cache %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% load utilities %}
|
||||
{% load markdown %}
|
||||
{% load layout %}
|
||||
{% load bookwyrm_group_tags %}
|
||||
{% load group_tags %}
|
||||
|
||||
{% block title %}{{ user.display_name }}{% endblock %}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% load i18n %}
|
||||
{% load humanize %}
|
||||
{% load utilities %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% load user_page_tags %}
|
||||
|
||||
<div class="media block">
|
||||
<div class="media-left">
|
||||
|
|
17
bookwyrm/templatetags/book_display_tags.py
Normal file
17
bookwyrm/templatetags/book_display_tags.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
""" template filters """
|
||||
from django import template
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(name="book_description")
|
||||
def get_book_description(book):
|
||||
"""use the work's text if the book doesn't have it"""
|
||||
return book.description or book.parent_work.description
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def get_book_file_links(book):
|
||||
"""links for a book"""
|
||||
return book.file_links.filter(domain__status="approved")
|
|
@ -1,226 +0,0 @@
|
|||
""" template filters """
|
||||
from django import template
|
||||
from django.db.models import Avg, StdDev, Count, F, Q
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.utils import cache
|
||||
from bookwyrm.views.feed import get_suggested_books
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(name="rating")
|
||||
def get_rating(book, user):
|
||||
"""get the overall rating of a book"""
|
||||
return cache.get_or_set(
|
||||
f"book-rating-{book.parent_work.id}-{user.id}",
|
||||
lambda u, b: models.Review.privacy_filter(u)
|
||||
.filter(book__parent_work__editions=b)
|
||||
.aggregate(Avg("rating"))["rating__avg"]
|
||||
or 0,
|
||||
user,
|
||||
book,
|
||||
timeout=15552000,
|
||||
)
|
||||
|
||||
|
||||
@register.filter(name="user_rating")
|
||||
def get_user_rating(book, user):
|
||||
"""get a user's rating of a book"""
|
||||
rating = (
|
||||
models.Review.objects.filter(
|
||||
user=user,
|
||||
book=book,
|
||||
rating__isnull=False,
|
||||
deleted=False,
|
||||
)
|
||||
.order_by("-published_date")
|
||||
.first()
|
||||
)
|
||||
if rating:
|
||||
return rating.rating
|
||||
return 0
|
||||
|
||||
|
||||
@register.filter(name="is_book_on_shelf")
|
||||
def get_is_book_on_shelf(book, shelf):
|
||||
"""is a book on a shelf"""
|
||||
return cache.get_or_set(
|
||||
f"book-on-shelf-{book.id}-{shelf.id}",
|
||||
lambda b, s: s.books.filter(id=b.id).exists(),
|
||||
book,
|
||||
shelf,
|
||||
timeout=15552000,
|
||||
)
|
||||
|
||||
|
||||
@register.filter(name="book_description")
|
||||
def get_book_description(book):
|
||||
"""use the work's text if the book doesn't have it"""
|
||||
return book.description or book.parent_work.description
|
||||
|
||||
|
||||
@register.filter(name="next_shelf")
|
||||
def get_next_shelf(current_shelf):
|
||||
"""shelf you'd use to update reading progress"""
|
||||
if current_shelf == "to-read":
|
||||
return "reading"
|
||||
if current_shelf == "reading":
|
||||
return "read"
|
||||
if current_shelf == "read":
|
||||
return "complete"
|
||||
return "to-read"
|
||||
|
||||
|
||||
@register.filter(name="load_subclass")
|
||||
def load_subclass(status):
|
||||
"""sometimes you didn't select_subclass"""
|
||||
if hasattr(status, "quotation"):
|
||||
return status.quotation
|
||||
if hasattr(status, "review"):
|
||||
return status.review
|
||||
if hasattr(status, "comment"):
|
||||
return status.comment
|
||||
if hasattr(status, "generatednote"):
|
||||
return status.generatednote
|
||||
return status
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def get_book_superlatives():
|
||||
"""get book stats for the about page"""
|
||||
total_ratings = models.Review.objects.filter(local=True, deleted=False).count()
|
||||
data = {}
|
||||
data["top_rated"] = (
|
||||
models.Work.objects.annotate(
|
||||
rating=Avg(
|
||||
"editions__review__rating",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
rating_count=Count(
|
||||
"editions__review",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
)
|
||||
.annotate(weighted=F("rating") * F("rating_count") / total_ratings)
|
||||
.filter(rating__gt=4, weighted__gt=0)
|
||||
.order_by("-weighted")
|
||||
.first()
|
||||
)
|
||||
|
||||
data["controversial"] = (
|
||||
models.Work.objects.annotate(
|
||||
deviation=StdDev(
|
||||
"editions__review__rating",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
rating_count=Count(
|
||||
"editions__review",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
)
|
||||
.annotate(weighted=F("deviation") * F("rating_count") / total_ratings)
|
||||
.filter(weighted__gt=0)
|
||||
.order_by("-weighted")
|
||||
.first()
|
||||
)
|
||||
|
||||
data["wanted"] = (
|
||||
models.Work.objects.annotate(
|
||||
shelf_count=Count(
|
||||
"editions__shelves", filter=Q(editions__shelves__identifier="to-read")
|
||||
)
|
||||
)
|
||||
.order_by("-shelf_count")
|
||||
.first()
|
||||
)
|
||||
return data
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def related_status(notification):
|
||||
"""for notifications"""
|
||||
if not notification.related_status:
|
||||
return None
|
||||
return load_subclass(notification.related_status)
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def active_shelf(context, book):
|
||||
"""check what shelf a user has a book on, if any"""
|
||||
user = context["request"].user
|
||||
return (
|
||||
cache.get_or_set(
|
||||
f"active_shelf-{user.id}-{book.id}",
|
||||
lambda u, b: (
|
||||
models.ShelfBook.objects.filter(
|
||||
shelf__user=u,
|
||||
book__parent_work__editions=b,
|
||||
).first()
|
||||
or False
|
||||
),
|
||||
user,
|
||||
book,
|
||||
timeout=15552000,
|
||||
)
|
||||
or {"book": book}
|
||||
)
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def latest_read_through(book, user):
|
||||
"""the most recent read activity"""
|
||||
return cache.get_or_set(
|
||||
f"latest_read_through-{user.id}-{book.id}",
|
||||
lambda u, b: (
|
||||
models.ReadThrough.objects.filter(user=u, book=b, is_active=True)
|
||||
.order_by("-start_date")
|
||||
.first()
|
||||
or False
|
||||
),
|
||||
user,
|
||||
book,
|
||||
timeout=15552000,
|
||||
)
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def get_landing_books():
|
||||
"""list of books for the landing page"""
|
||||
return list(
|
||||
set(
|
||||
models.Edition.objects.filter(
|
||||
review__published_date__isnull=False,
|
||||
review__deleted=False,
|
||||
review__user__local=True,
|
||||
review__privacy__in=["public", "unlisted"],
|
||||
)
|
||||
.exclude(cover__exact="")
|
||||
.distinct()
|
||||
.order_by("-review__published_date")[:6]
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def mutuals_count(context, user):
|
||||
"""how many users that you follow, follow them"""
|
||||
viewer = context["request"].user
|
||||
if not viewer.is_authenticated:
|
||||
return None
|
||||
return user.followers.filter(followers=viewer).count()
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def suggested_books(context):
|
||||
"""get books for suggested books panel"""
|
||||
# this happens here instead of in the view so that the template snippet can
|
||||
# be cached in the template
|
||||
return get_suggested_books(context["request"].user)
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def get_book_file_links(book):
|
||||
"""links for a book"""
|
||||
return book.file_links.filter(domain__status="approved")
|
28
bookwyrm/templatetags/feed_page_tags.py
Normal file
28
bookwyrm/templatetags/feed_page_tags.py
Normal file
|
@ -0,0 +1,28 @@
|
|||
""" tags used on the feed pages """
|
||||
from django import template
|
||||
from bookwyrm.views.feed import get_suggested_books
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(name="load_subclass")
|
||||
def load_subclass(status):
|
||||
"""sometimes you didn't select_subclass"""
|
||||
if hasattr(status, "quotation"):
|
||||
return status.quotation
|
||||
if hasattr(status, "review"):
|
||||
return status.review
|
||||
if hasattr(status, "comment"):
|
||||
return status.comment
|
||||
if hasattr(status, "generatednote"):
|
||||
return status.generatednote
|
||||
return status
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def suggested_books(context):
|
||||
"""get books for suggested books panel"""
|
||||
# this happens here instead of in the view so that the template snippet can
|
||||
# be cached in the template
|
||||
return get_suggested_books(context["request"].user)
|
76
bookwyrm/templatetags/landing_page_tags.py
Normal file
76
bookwyrm/templatetags/landing_page_tags.py
Normal file
|
@ -0,0 +1,76 @@
|
|||
""" template filters """
|
||||
from django import template
|
||||
from django.db.models import Avg, StdDev, Count, F, Q
|
||||
|
||||
from bookwyrm import models
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def get_book_superlatives():
|
||||
"""get book stats for the about page"""
|
||||
total_ratings = models.Review.objects.filter(local=True, deleted=False).count()
|
||||
data = {}
|
||||
data["top_rated"] = (
|
||||
models.Work.objects.annotate(
|
||||
rating=Avg(
|
||||
"editions__review__rating",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
rating_count=Count(
|
||||
"editions__review",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
)
|
||||
.annotate(weighted=F("rating") * F("rating_count") / total_ratings)
|
||||
.filter(rating__gt=4, weighted__gt=0)
|
||||
.order_by("-weighted")
|
||||
.first()
|
||||
)
|
||||
|
||||
data["controversial"] = (
|
||||
models.Work.objects.annotate(
|
||||
deviation=StdDev(
|
||||
"editions__review__rating",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
rating_count=Count(
|
||||
"editions__review",
|
||||
filter=Q(editions__review__local=True, editions__review__deleted=False),
|
||||
),
|
||||
)
|
||||
.annotate(weighted=F("deviation") * F("rating_count") / total_ratings)
|
||||
.filter(weighted__gt=0)
|
||||
.order_by("-weighted")
|
||||
.first()
|
||||
)
|
||||
|
||||
data["wanted"] = (
|
||||
models.Work.objects.annotate(
|
||||
shelf_count=Count(
|
||||
"editions__shelves", filter=Q(editions__shelves__identifier="to-read")
|
||||
)
|
||||
)
|
||||
.order_by("-shelf_count")
|
||||
.first()
|
||||
)
|
||||
return data
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def get_landing_books():
|
||||
"""list of books for the landing page"""
|
||||
return list(
|
||||
set(
|
||||
models.Edition.objects.filter(
|
||||
review__published_date__isnull=False,
|
||||
review__deleted=False,
|
||||
review__user__local=True,
|
||||
review__privacy__in=["public", "unlisted"],
|
||||
)
|
||||
.exclude(cover__exact="")
|
||||
.distinct()
|
||||
.order_by("-review__published_date")[:6]
|
||||
)
|
||||
)
|
14
bookwyrm/templatetags/notification_page_tags.py
Normal file
14
bookwyrm/templatetags/notification_page_tags.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
""" tags used on the feed pages """
|
||||
from django import template
|
||||
from bookwyrm.templatetags.feed_page_tags import load_subclass
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def related_status(notification):
|
||||
"""for notifications"""
|
||||
if not notification.related_status:
|
||||
return None
|
||||
return load_subclass(notification.related_status)
|
42
bookwyrm/templatetags/rating_tags.py
Normal file
42
bookwyrm/templatetags/rating_tags.py
Normal file
|
@ -0,0 +1,42 @@
|
|||
""" template filters """
|
||||
from django import template
|
||||
from django.db.models import Avg
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.utils import cache
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(name="rating")
|
||||
def get_rating(book, user):
|
||||
"""get the overall rating of a book"""
|
||||
return cache.get_or_set(
|
||||
f"book-rating-{book.parent_work.id}-{user.id}",
|
||||
lambda u, b: models.Review.privacy_filter(u)
|
||||
.filter(book__parent_work__editions=b, rating__gt=0)
|
||||
.aggregate(Avg("rating"))["rating__avg"]
|
||||
or 0,
|
||||
user,
|
||||
book,
|
||||
timeout=15552000,
|
||||
)
|
||||
|
||||
|
||||
@register.filter(name="user_rating")
|
||||
def get_user_rating(book, user):
|
||||
"""get a user's rating of a book"""
|
||||
rating = (
|
||||
models.Review.objects.filter(
|
||||
user=user,
|
||||
book=book,
|
||||
rating__isnull=False,
|
||||
deleted=False,
|
||||
)
|
||||
.order_by("-published_date")
|
||||
.first()
|
||||
)
|
||||
if rating:
|
||||
return rating.rating
|
||||
return 0
|
71
bookwyrm/templatetags/shelf_tags.py
Normal file
71
bookwyrm/templatetags/shelf_tags.py
Normal file
|
@ -0,0 +1,71 @@
|
|||
""" Filters and tags related to shelving books """
|
||||
from django import template
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.utils import cache
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(name="is_book_on_shelf")
|
||||
def get_is_book_on_shelf(book, shelf):
|
||||
"""is a book on a shelf"""
|
||||
return cache.get_or_set(
|
||||
f"book-on-shelf-{book.id}-{shelf.id}",
|
||||
lambda b, s: s.books.filter(id=b.id).exists(),
|
||||
book,
|
||||
shelf,
|
||||
timeout=15552000,
|
||||
)
|
||||
|
||||
|
||||
@register.filter(name="next_shelf")
|
||||
def get_next_shelf(current_shelf):
|
||||
"""shelf you'd use to update reading progress"""
|
||||
if current_shelf == "to-read":
|
||||
return "reading"
|
||||
if current_shelf == "reading":
|
||||
return "read"
|
||||
if current_shelf == "read":
|
||||
return "complete"
|
||||
return "to-read"
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def active_shelf(context, book):
|
||||
"""check what shelf a user has a book on, if any"""
|
||||
user = context["request"].user
|
||||
return (
|
||||
cache.get_or_set(
|
||||
f"active_shelf-{user.id}-{book.id}",
|
||||
lambda u, b: (
|
||||
models.ShelfBook.objects.filter(
|
||||
shelf__user=u,
|
||||
book__parent_work__editions=b,
|
||||
).first()
|
||||
or False
|
||||
),
|
||||
user,
|
||||
book,
|
||||
timeout=15552000,
|
||||
)
|
||||
or {"book": book}
|
||||
)
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=False)
|
||||
def latest_read_through(book, user):
|
||||
"""the most recent read activity"""
|
||||
return cache.get_or_set(
|
||||
f"latest_read_through-{user.id}-{book.id}",
|
||||
lambda u, b: (
|
||||
models.ReadThrough.objects.filter(user=u, book=b, is_active=True)
|
||||
.order_by("-start_date")
|
||||
.first()
|
||||
or False
|
||||
),
|
||||
user,
|
||||
book,
|
||||
timeout=15552000,
|
||||
)
|
14
bookwyrm/templatetags/user_page_tags.py
Normal file
14
bookwyrm/templatetags/user_page_tags.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
""" template filters """
|
||||
from django import template
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def mutuals_count(context, user):
|
||||
"""how many users that you follow, follow them"""
|
||||
viewer = context["request"].user
|
||||
if not viewer.is_authenticated:
|
||||
return None
|
||||
return user.followers.filter(followers=viewer).count()
|
62
bookwyrm/tests/templatetags/test_book_display_tags.py
Normal file
62
bookwyrm/tests/templatetags/test_book_display_tags.py
Normal file
|
@ -0,0 +1,62 @@
|
|||
""" style fixes and lookups for templates """
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.templatetags import book_display_tags
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
@patch("bookwyrm.activitystreams.remove_status_task.delay")
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
class BookDisplayTags(TestCase):
|
||||
"""lotta different things here"""
|
||||
|
||||
def setUp(self):
|
||||
"""create some filler objects"""
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
"bookwyrm.activitystreams.populate_stream_task.delay"
|
||||
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
|
||||
self.user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.mouse",
|
||||
"mouseword",
|
||||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
self.book = models.Edition.objects.create(title="Test Book")
|
||||
|
||||
def test_get_book_description(self, *_):
|
||||
"""grab it from the edition or the parent"""
|
||||
work = models.Work.objects.create(title="Test Work")
|
||||
self.book.parent_work = work
|
||||
self.book.save()
|
||||
|
||||
self.assertIsNone(book_display_tags.get_book_description(self.book))
|
||||
|
||||
work.description = "hi"
|
||||
work.save()
|
||||
self.assertEqual(book_display_tags.get_book_description(self.book), "hi")
|
||||
|
||||
self.book.description = "hello"
|
||||
self.book.save()
|
||||
self.assertEqual(book_display_tags.get_book_description(self.book), "hello")
|
||||
|
||||
def test_get_book_file_links(self, *_):
|
||||
"""load approved links"""
|
||||
link = models.FileLink.objects.create(
|
||||
book=self.book,
|
||||
url="https://web.site/hello",
|
||||
)
|
||||
links = book_display_tags.get_book_file_links(self.book)
|
||||
# the link is pending
|
||||
self.assertFalse(links.exists())
|
||||
|
||||
domain = link.domain
|
||||
domain.status = "approved"
|
||||
domain.save()
|
||||
|
||||
links = book_display_tags.get_book_file_links(self.book)
|
||||
self.assertTrue(links.exists())
|
||||
self.assertEqual(links[0], link)
|
|
@ -1,101 +0,0 @@
|
|||
""" style fixes and lookups for templates """
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.templatetags import bookwyrm_tags
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
@patch("bookwyrm.activitystreams.remove_status_task.delay")
|
||||
class BookWyrmTags(TestCase):
|
||||
"""lotta different things here"""
|
||||
|
||||
def setUp(self):
|
||||
"""create some filler objects"""
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
"bookwyrm.activitystreams.populate_stream_task.delay"
|
||||
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
|
||||
self.user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.mouse",
|
||||
"mouseword",
|
||||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
with patch("bookwyrm.models.user.set_remote_server.delay"):
|
||||
self.remote_user = models.User.objects.create_user(
|
||||
"rat",
|
||||
"rat@rat.rat",
|
||||
"ratword",
|
||||
remote_id="http://example.com/rat",
|
||||
local=False,
|
||||
)
|
||||
self.book = models.Edition.objects.create(title="Test Book")
|
||||
|
||||
def test_get_user_rating(self, *_):
|
||||
"""get a user's most recent rating of a book"""
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
|
||||
models.Review.objects.create(user=self.user, book=self.book, rating=3)
|
||||
self.assertEqual(bookwyrm_tags.get_user_rating(self.book, self.user), 3)
|
||||
|
||||
def test_get_user_rating_doesnt_exist(self, *_):
|
||||
"""there is no rating available"""
|
||||
self.assertEqual(bookwyrm_tags.get_user_rating(self.book, self.user), 0)
|
||||
|
||||
def test_get_book_description(self, *_):
|
||||
"""grab it from the edition or the parent"""
|
||||
work = models.Work.objects.create(title="Test Work")
|
||||
self.book.parent_work = work
|
||||
self.book.save()
|
||||
|
||||
self.assertIsNone(bookwyrm_tags.get_book_description(self.book))
|
||||
|
||||
work.description = "hi"
|
||||
work.save()
|
||||
self.assertEqual(bookwyrm_tags.get_book_description(self.book), "hi")
|
||||
|
||||
self.book.description = "hello"
|
||||
self.book.save()
|
||||
self.assertEqual(bookwyrm_tags.get_book_description(self.book), "hello")
|
||||
|
||||
def test_get_next_shelf(self, *_):
|
||||
"""self progress helper"""
|
||||
self.assertEqual(bookwyrm_tags.get_next_shelf("to-read"), "reading")
|
||||
self.assertEqual(bookwyrm_tags.get_next_shelf("reading"), "read")
|
||||
self.assertEqual(bookwyrm_tags.get_next_shelf("read"), "complete")
|
||||
self.assertEqual(bookwyrm_tags.get_next_shelf("blooooga"), "to-read")
|
||||
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
def test_load_subclass(self, *_):
|
||||
"""get a status' real type"""
|
||||
review = models.Review.objects.create(user=self.user, book=self.book, rating=3)
|
||||
status = models.Status.objects.get(id=review.id)
|
||||
self.assertIsInstance(status, models.Status)
|
||||
self.assertIsInstance(bookwyrm_tags.load_subclass(status), models.Review)
|
||||
|
||||
quote = models.Quotation.objects.create(
|
||||
user=self.user, book=self.book, content="hi"
|
||||
)
|
||||
status = models.Status.objects.get(id=quote.id)
|
||||
self.assertIsInstance(status, models.Status)
|
||||
self.assertIsInstance(bookwyrm_tags.load_subclass(status), models.Quotation)
|
||||
|
||||
comment = models.Comment.objects.create(
|
||||
user=self.user, book=self.book, content="hi"
|
||||
)
|
||||
status = models.Status.objects.get(id=comment.id)
|
||||
self.assertIsInstance(status, models.Status)
|
||||
self.assertIsInstance(bookwyrm_tags.load_subclass(status), models.Comment)
|
||||
|
||||
def test_related_status(self, *_):
|
||||
"""gets the subclass model for a notification status"""
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
|
||||
status = models.Status.objects.create(content="hi", user=self.user)
|
||||
notification = models.Notification.objects.create(
|
||||
user=self.user, notification_type="MENTION", related_status=status
|
||||
)
|
||||
|
||||
result = bookwyrm_tags.related_status(notification)
|
||||
self.assertIsInstance(result, models.Status)
|
49
bookwyrm/tests/templatetags/test_feed_page_tags.py
Normal file
49
bookwyrm/tests/templatetags/test_feed_page_tags.py
Normal file
|
@ -0,0 +1,49 @@
|
|||
""" style fixes and lookups for templates """
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.templatetags import feed_page_tags
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
@patch("bookwyrm.activitystreams.remove_status_task.delay")
|
||||
class FeedPageTags(TestCase):
|
||||
"""lotta different things here"""
|
||||
|
||||
def setUp(self):
|
||||
"""create some filler objects"""
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
"bookwyrm.activitystreams.populate_stream_task.delay"
|
||||
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
|
||||
self.user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.mouse",
|
||||
"mouseword",
|
||||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
self.book = models.Edition.objects.create(title="Test Book")
|
||||
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
def test_load_subclass(self, *_):
|
||||
"""get a status' real type"""
|
||||
review = models.Review.objects.create(user=self.user, book=self.book, rating=3)
|
||||
status = models.Status.objects.get(id=review.id)
|
||||
self.assertIsInstance(status, models.Status)
|
||||
self.assertIsInstance(feed_page_tags.load_subclass(status), models.Review)
|
||||
|
||||
quote = models.Quotation.objects.create(
|
||||
user=self.user, book=self.book, content="hi"
|
||||
)
|
||||
status = models.Status.objects.get(id=quote.id)
|
||||
self.assertIsInstance(status, models.Status)
|
||||
self.assertIsInstance(feed_page_tags.load_subclass(status), models.Quotation)
|
||||
|
||||
comment = models.Comment.objects.create(
|
||||
user=self.user, book=self.book, content="hi"
|
||||
)
|
||||
status = models.Status.objects.get(id=comment.id)
|
||||
self.assertIsInstance(status, models.Status)
|
||||
self.assertIsInstance(feed_page_tags.load_subclass(status), models.Comment)
|
37
bookwyrm/tests/templatetags/test_notification_page_tags.py
Normal file
37
bookwyrm/tests/templatetags/test_notification_page_tags.py
Normal file
|
@ -0,0 +1,37 @@
|
|||
""" style fixes and lookups for templates """
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.templatetags import notification_page_tags
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
@patch("bookwyrm.activitystreams.remove_status_task.delay")
|
||||
class NotificationPageTags(TestCase):
|
||||
"""lotta different things here"""
|
||||
|
||||
def setUp(self):
|
||||
"""create some filler objects"""
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
"bookwyrm.activitystreams.populate_stream_task.delay"
|
||||
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
|
||||
self.user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.mouse",
|
||||
"mouseword",
|
||||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
|
||||
def test_related_status(self, *_):
|
||||
"""gets the subclass model for a notification status"""
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
|
||||
status = models.Status.objects.create(content="hi", user=self.user)
|
||||
notification = models.Notification.objects.create(
|
||||
user=self.user, notification_type="MENTION", related_status=status
|
||||
)
|
||||
|
||||
result = notification_page_tags.related_status(notification)
|
||||
self.assertIsInstance(result, models.Status)
|
80
bookwyrm/tests/templatetags/test_rating_tags.py
Normal file
80
bookwyrm/tests/templatetags/test_rating_tags.py
Normal file
|
@ -0,0 +1,80 @@
|
|||
""" Gettings book ratings """
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.templatetags import rating_tags
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
@patch("bookwyrm.activitystreams.remove_status_task.delay")
|
||||
class RatingTags(TestCase):
|
||||
"""lotta different things here"""
|
||||
|
||||
def setUp(self):
|
||||
"""create some filler objects"""
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
"bookwyrm.activitystreams.populate_stream_task.delay"
|
||||
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
|
||||
self.local_user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.mouse",
|
||||
"mouseword",
|
||||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
with patch("bookwyrm.models.user.set_remote_server.delay"):
|
||||
self.remote_user = models.User.objects.create_user(
|
||||
"rat",
|
||||
"rat@rat.rat",
|
||||
"ratword",
|
||||
remote_id="http://example.com/rat",
|
||||
local=False,
|
||||
)
|
||||
work = models.Work.objects.create(title="Work title")
|
||||
self.book = models.Edition.objects.create(
|
||||
title="Test Book",
|
||||
parent_work=work,
|
||||
)
|
||||
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
def test_get_rating(self, *_):
|
||||
"""privacy filtered rating"""
|
||||
# follows-only: not included
|
||||
models.ReviewRating.objects.create(
|
||||
user=self.remote_user,
|
||||
rating=5,
|
||||
book=self.book,
|
||||
privacy="followers",
|
||||
)
|
||||
self.assertEqual(rating_tags.get_rating(self.book, self.local_user), 0)
|
||||
|
||||
# public: included
|
||||
models.ReviewRating.objects.create(
|
||||
user=self.remote_user,
|
||||
rating=5,
|
||||
book=self.book,
|
||||
privacy="public",
|
||||
)
|
||||
self.assertEqual(rating_tags.get_rating(self.book, self.local_user), 5)
|
||||
|
||||
# rating unset: not included
|
||||
models.Review.objects.create(
|
||||
name="blah",
|
||||
user=self.local_user,
|
||||
rating=0,
|
||||
book=self.book,
|
||||
privacy="public",
|
||||
)
|
||||
self.assertEqual(rating_tags.get_rating(self.book, self.local_user), 5)
|
||||
|
||||
def test_get_user_rating(self, *_):
|
||||
"""get a user's most recent rating of a book"""
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
|
||||
models.Review.objects.create(user=self.local_user, book=self.book, rating=3)
|
||||
self.assertEqual(rating_tags.get_user_rating(self.book, self.local_user), 3)
|
||||
|
||||
def test_get_user_rating_doesnt_exist(self, *_):
|
||||
"""there is no rating available"""
|
||||
self.assertEqual(rating_tags.get_user_rating(self.book, self.local_user), 0)
|
70
bookwyrm/tests/templatetags/test_shelf_tags.py
Normal file
70
bookwyrm/tests/templatetags/test_shelf_tags.py
Normal file
|
@ -0,0 +1,70 @@
|
|||
""" style fixes and lookups for templates """
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
from django.test.client import RequestFactory
|
||||
|
||||
from bookwyrm import models
|
||||
from bookwyrm.templatetags import shelf_tags
|
||||
|
||||
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
@patch("bookwyrm.activitystreams.remove_status_task.delay")
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
@patch("bookwyrm.activitystreams.add_book_statuses_task.delay")
|
||||
class ShelfTags(TestCase):
|
||||
"""lotta different things here"""
|
||||
|
||||
def setUp(self):
|
||||
"""create some filler objects"""
|
||||
self.factory = RequestFactory()
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
"bookwyrm.activitystreams.populate_stream_task.delay"
|
||||
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
|
||||
self.local_user = models.User.objects.create_user(
|
||||
"mouse@example.com",
|
||||
"mouse@mouse.mouse",
|
||||
"mouseword",
|
||||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
with patch("bookwyrm.models.user.set_remote_server.delay"):
|
||||
self.remote_user = models.User.objects.create_user(
|
||||
"rat",
|
||||
"rat@rat.rat",
|
||||
"ratword",
|
||||
remote_id="http://example.com/rat",
|
||||
local=False,
|
||||
)
|
||||
self.book = models.Edition.objects.create(
|
||||
title="Test Book",
|
||||
parent_work=models.Work.objects.create(title="Test work"),
|
||||
)
|
||||
|
||||
def test_get_is_book_on_shelf(self, *_):
|
||||
"""check if a book is on a shelf"""
|
||||
shelf = self.local_user.shelf_set.first()
|
||||
self.assertFalse(shelf_tags.get_is_book_on_shelf(self.book, shelf))
|
||||
models.ShelfBook.objects.create(
|
||||
shelf=shelf, book=self.book, user=self.local_user
|
||||
)
|
||||
self.assertTrue(shelf_tags.get_is_book_on_shelf(self.book, shelf))
|
||||
|
||||
def test_get_next_shelf(self, *_):
|
||||
"""self progress helper"""
|
||||
self.assertEqual(shelf_tags.get_next_shelf("to-read"), "reading")
|
||||
self.assertEqual(shelf_tags.get_next_shelf("reading"), "read")
|
||||
self.assertEqual(shelf_tags.get_next_shelf("read"), "complete")
|
||||
self.assertEqual(shelf_tags.get_next_shelf("blooooga"), "to-read")
|
||||
|
||||
def test_active_shelf(self, *_):
|
||||
"""get the shelf a book is on"""
|
||||
shelf = self.local_user.shelf_set.first()
|
||||
request = self.factory.get("")
|
||||
request.user = self.local_user
|
||||
context = {"request": request}
|
||||
self.assertIsInstance(shelf_tags.active_shelf(context, self.book), dict)
|
||||
models.ShelfBook.objects.create(
|
||||
shelf=shelf, book=self.book, user=self.local_user
|
||||
)
|
||||
self.assertEqual(shelf_tags.active_shelf(context, self.book).shelf, shelf)
|
|
@ -1,4 +1,5 @@
|
|||
""" style fixes and lookups for templates """
|
||||
from datetime import datetime
|
||||
from unittest.mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
|
@ -35,6 +36,12 @@ class StatusDisplayTags(TestCase):
|
|||
)
|
||||
self.book = models.Edition.objects.create(title="Test Book")
|
||||
|
||||
def test_get_mentions(self, *_):
|
||||
"""list of people mentioned"""
|
||||
status = models.Status.objects.create(content="hi", user=self.remote_user)
|
||||
result = status_display.get_mentions(status, self.user)
|
||||
self.assertEqual(result, "@rat@example.com ")
|
||||
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
def test_get_replies(self, *_):
|
||||
"""direct replies to a status"""
|
||||
|
@ -83,8 +90,16 @@ class StatusDisplayTags(TestCase):
|
|||
self.assertIsInstance(boosted, models.Review)
|
||||
self.assertEqual(boosted, status)
|
||||
|
||||
def test_get_mentions(self, *_):
|
||||
"""list of people mentioned"""
|
||||
status = models.Status.objects.create(content="hi", user=self.remote_user)
|
||||
result = status_display.get_mentions(status, self.user)
|
||||
self.assertEqual(result, "@rat@example.com ")
|
||||
def test_get_published_date(self, *_):
|
||||
"""date formatting"""
|
||||
date = datetime(2020, 1, 1, 0, 0, tzinfo=timezone.utc)
|
||||
with patch("django.utils.timezone.now") as timezone_mock:
|
||||
timezone_mock.return_value = datetime(2022, 1, 1, 0, 0, tzinfo=timezone.utc)
|
||||
result = status_display.get_published_date(date)
|
||||
self.assertEqual(result, "Jan. 1, 2020")
|
||||
|
||||
date = datetime(2022, 1, 1, 0, 0, tzinfo=timezone.utc)
|
||||
with patch("django.utils.timezone.now") as timezone_mock:
|
||||
timezone_mock.return_value = datetime(2022, 1, 8, 0, 0, tzinfo=timezone.utc)
|
||||
result = status_display.get_published_date(date)
|
||||
self.assertEqual(result, "Jan 1")
|
||||
|
|
|
@ -35,6 +35,15 @@ class UtilitiesTags(TestCase):
|
|||
)
|
||||
self.book = models.Edition.objects.create(title="Test Book")
|
||||
|
||||
def test_get_uuid(self, *_):
|
||||
"""uuid functionality"""
|
||||
uuid = utilities.get_uuid("hi")
|
||||
self.assertTrue(re.match(r"hi[A-Za-z0-9\-]", uuid))
|
||||
|
||||
def test_join(self, *_):
|
||||
"""concats things with underscores"""
|
||||
self.assertEqual(utilities.join("hi", 5, "blah", 0.75), "hi_5_blah_0.75")
|
||||
|
||||
def test_get_user_identifer_local(self, *_):
|
||||
"""fall back to the simplest uid available"""
|
||||
self.assertNotEqual(self.user.username, self.user.localname)
|
||||
|
@ -46,11 +55,6 @@ class UtilitiesTags(TestCase):
|
|||
utilities.get_user_identifier(self.remote_user), "rat@example.com"
|
||||
)
|
||||
|
||||
def test_get_uuid(self, *_):
|
||||
"""uuid functionality"""
|
||||
uuid = utilities.get_uuid("hi")
|
||||
self.assertTrue(re.match(r"hi[A-Za-z0-9\-]", uuid))
|
||||
|
||||
def test_get_title(self, *_):
|
||||
"""the title of a book"""
|
||||
self.assertEqual(utilities.get_title(None), "")
|
||||
|
|
|
@ -51,6 +51,11 @@ class ShelfViews(TestCase):
|
|||
|
||||
def test_shelf_page_all_books(self, *_):
|
||||
"""there are so many views, this just makes sure it LOADS"""
|
||||
models.ShelfBook.objects.create(
|
||||
book=self.book,
|
||||
shelf=self.shelf,
|
||||
user=self.local_user,
|
||||
)
|
||||
view = views.Shelf.as_view()
|
||||
request = self.factory.get("")
|
||||
request.user = self.local_user
|
||||
|
@ -61,6 +66,41 @@ class ShelfViews(TestCase):
|
|||
validate_html(result.render())
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
def test_shelf_page_all_books_empty(self, *_):
|
||||
"""No books shelved"""
|
||||
view = views.Shelf.as_view()
|
||||
request = self.factory.get("")
|
||||
request.user = self.local_user
|
||||
with patch("bookwyrm.views.shelf.shelf.is_api_request") as is_api:
|
||||
is_api.return_value = False
|
||||
result = view(request, self.local_user.username)
|
||||
self.assertIsInstance(result, TemplateResponse)
|
||||
validate_html(result.render())
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
def test_shelf_page_all_books_avoid_duplicates(self, *_):
|
||||
"""Make sure books aren't showing up twice on the all shelves view"""
|
||||
models.ShelfBook.objects.create(
|
||||
book=self.book,
|
||||
shelf=self.shelf,
|
||||
user=self.local_user,
|
||||
)
|
||||
models.ShelfBook.objects.create(
|
||||
book=self.book,
|
||||
shelf=self.local_user.shelf_set.first(),
|
||||
user=self.local_user,
|
||||
)
|
||||
view = views.Shelf.as_view()
|
||||
request = self.factory.get("")
|
||||
request.user = self.local_user
|
||||
with patch("bookwyrm.views.shelf.shelf.is_api_request") as is_api:
|
||||
is_api.return_value = False
|
||||
result = view(request, self.local_user.username)
|
||||
self.assertEqual(result.context_data["books"].object_list.count(), 1)
|
||||
self.assertIsInstance(result, TemplateResponse)
|
||||
validate_html(result.render())
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
def test_shelf_page_all_books_json(self, *_):
|
||||
"""there is no json view here"""
|
||||
view = views.Shelf.as_view()
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
""" the good people stuff! the authors! """
|
||||
from django.contrib.auth.decorators import login_required, permission_required
|
||||
from django.core.paginator import Paginator
|
||||
from django.db.models import OuterRef, Subquery, F, Q
|
||||
from django.shortcuts import get_object_or_404, redirect
|
||||
from django.template.response import TemplateResponse
|
||||
from django.utils.decorators import method_decorator
|
||||
|
@ -12,7 +11,6 @@ from bookwyrm import forms, models
|
|||
from bookwyrm.activitypub import ActivitypubResponse
|
||||
from bookwyrm.connectors import connector_manager
|
||||
from bookwyrm.settings import PAGE_LENGTH
|
||||
from bookwyrm.utils import cache
|
||||
from bookwyrm.views.helpers import is_api_request
|
||||
|
||||
|
||||
|
@ -27,28 +25,9 @@ class Author(View):
|
|||
if is_api_request(request):
|
||||
return ActivitypubResponse(author.to_activity())
|
||||
|
||||
default_editions = models.Edition.objects.filter(
|
||||
parent_work=OuterRef("parent_work")
|
||||
).order_by("-edition_rank")
|
||||
|
||||
book_ids = cache.get_or_set(
|
||||
f"author-books-{author.id}",
|
||||
lambda a: models.Edition.objects.filter(
|
||||
Q(authors=a) | Q(parent_work__authors=a)
|
||||
)
|
||||
.annotate(default_id=Subquery(default_editions.values("id")[:1]))
|
||||
.filter(default_id=F("id"))
|
||||
.distinct()
|
||||
.values_list("id", flat=True),
|
||||
author,
|
||||
timeout=15552000,
|
||||
)
|
||||
|
||||
books = (
|
||||
models.Edition.objects.filter(id__in=book_ids)
|
||||
.order_by("-published_date", "-first_published_date", "-created_date")
|
||||
.prefetch_related("authors")
|
||||
)
|
||||
books = models.Work.objects.filter(
|
||||
authors=author, editions__authors=author
|
||||
).distinct()
|
||||
|
||||
paginated = Paginator(books, PAGE_LENGTH)
|
||||
page = paginated.get_page(request.GET.get("page"))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
""" shelf views """
|
||||
from collections import namedtuple
|
||||
|
||||
from django.db.models import OuterRef, Subquery, F
|
||||
from django.db.models import OuterRef, Subquery, F, Max
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.core.paginator import Paginator
|
||||
from django.http import HttpResponseBadRequest
|
||||
|
@ -72,11 +72,7 @@ class Shelf(View):
|
|||
"start_date"
|
||||
)
|
||||
|
||||
if shelf_identifier:
|
||||
books = books.annotate(shelved_date=F("shelfbook__shelved_date"))
|
||||
else:
|
||||
# sorting by shelved date will cause duplicates in the "all books" view
|
||||
books = books.annotate(shelved_date=F("updated_date"))
|
||||
books = books.annotate(shelved_date=Max("shelfbook__shelved_date"))
|
||||
books = books.annotate(
|
||||
rating=Subquery(reviews.values("rating")[:1]),
|
||||
start_date=Subquery(reading.values("start_date")[:1]),
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 0.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"POT-Creation-Date: 2022-01-20 17:58+0000\n"
|
||||
"PO-Revision-Date: 2021-02-28 17:19-0800\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: English <LL@li.org>\n"
|
||||
|
@ -57,11 +57,11 @@ msgstr ""
|
|||
|
||||
#: bookwyrm/forms.py:485 bookwyrm/templates/shelf/shelf.html:155
|
||||
#: bookwyrm/templates/shelf/shelf.html:187
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:33
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:32
|
||||
msgid "Rating"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/forms.py:487 bookwyrm/templates/lists/list.html:134
|
||||
#: bookwyrm/forms.py:487 bookwyrm/templates/lists/list.html:135
|
||||
msgid "Sort By"
|
||||
msgstr ""
|
||||
|
||||
|
@ -225,69 +225,69 @@ msgstr ""
|
|||
msgid "Everything else"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:121
|
||||
#: bookwyrm/settings.py:173
|
||||
msgid "Home Timeline"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:121
|
||||
#: bookwyrm/settings.py:173
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:122
|
||||
#: bookwyrm/settings.py:174
|
||||
msgid "Books Timeline"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:122 bookwyrm/templates/search/layout.html:21
|
||||
#: bookwyrm/settings.py:174 bookwyrm/templates/search/layout.html:21
|
||||
#: bookwyrm/templates/search/layout.html:42
|
||||
#: bookwyrm/templates/user/layout.html:91
|
||||
msgid "Books"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:196
|
||||
#: bookwyrm/settings.py:248
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:197
|
||||
#: bookwyrm/settings.py:249
|
||||
msgid "Deutsch (German)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:198
|
||||
#: bookwyrm/settings.py:250
|
||||
msgid "Español (Spanish)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:199
|
||||
#: bookwyrm/settings.py:251
|
||||
msgid "Galego (Galician)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:200
|
||||
#: bookwyrm/settings.py:252
|
||||
msgid "Italiano (Italian)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:201
|
||||
#: bookwyrm/settings.py:253
|
||||
msgid "Français (French)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:202
|
||||
#: bookwyrm/settings.py:254
|
||||
msgid "Lietuvių (Lithuanian)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:203
|
||||
#: bookwyrm/settings.py:255
|
||||
msgid "Norsk (Norwegian)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:204
|
||||
#: bookwyrm/settings.py:256
|
||||
msgid "Português do Brasil (Brazilian Portuguese)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:205
|
||||
#: bookwyrm/settings.py:257
|
||||
msgid "Português Europeu (European Portuguese)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:206
|
||||
#: bookwyrm/settings.py:258
|
||||
msgid "简体中文 (Simplified Chinese)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/settings.py:207
|
||||
#: bookwyrm/settings.py:259
|
||||
msgid "繁體中文 (Traditional Chinese)"
|
||||
msgstr ""
|
||||
|
||||
|
@ -352,10 +352,7 @@ msgstr ""
|
|||
|
||||
#: bookwyrm/templates/about/about.html:98
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" %(site_name)s's moderators and administrators keep the site up and running, enforce the <a href=\"coc_path\">code of conduct</a>, and respond when users report spam and bad behavior.\n"
|
||||
" "
|
||||
msgid "%(site_name)s's moderators and administrators keep the site up and running, enforce the <a href=\"coc_path\">code of conduct</a>, and respond when users report spam and bad behavior."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/about/about.html:112
|
||||
|
@ -428,7 +425,7 @@ msgid "Copy address"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/annual_summary/layout.html:68
|
||||
#: bookwyrm/templates/lists/list.html:230
|
||||
#: bookwyrm/templates/lists/list.html:231
|
||||
msgid "Copied!"
|
||||
msgstr ""
|
||||
|
||||
|
@ -497,7 +494,7 @@ msgstr ""
|
|||
#: bookwyrm/templates/annual_summary/layout.html:245
|
||||
#: bookwyrm/templates/book/book.html:47
|
||||
#: bookwyrm/templates/discover/large-book.html:22
|
||||
#: bookwyrm/templates/landing/large-book.html:25
|
||||
#: bookwyrm/templates/landing/large-book.html:26
|
||||
#: bookwyrm/templates/landing/small-book.html:18
|
||||
msgid "by"
|
||||
msgstr ""
|
||||
|
@ -733,9 +730,9 @@ msgstr ""
|
|||
#: bookwyrm/templates/author/sync_modal.html:22
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:108
|
||||
#: bookwyrm/templates/book/sync_modal.html:22
|
||||
#: bookwyrm/templates/groups/members.html:30
|
||||
#: bookwyrm/templates/groups/members.html:29
|
||||
#: bookwyrm/templates/landing/password_reset.html:42
|
||||
#: bookwyrm/templates/snippets/remove_from_group_button.html:16
|
||||
#: bookwyrm/templates/snippets/remove_from_group_button.html:17
|
||||
msgid "Confirm"
|
||||
msgstr ""
|
||||
|
||||
|
@ -819,8 +816,8 @@ msgid "Places"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/book.html:348
|
||||
#: bookwyrm/templates/groups/group.html:20 bookwyrm/templates/layout.html:74
|
||||
#: bookwyrm/templates/lists/curate.html:7 bookwyrm/templates/lists/list.html:10
|
||||
#: bookwyrm/templates/groups/group.html:19 bookwyrm/templates/layout.html:74
|
||||
#: bookwyrm/templates/lists/curate.html:7 bookwyrm/templates/lists/list.html:11
|
||||
#: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12
|
||||
#: bookwyrm/templates/search/layout.html:25
|
||||
#: bookwyrm/templates/search/layout.html:50
|
||||
|
@ -834,7 +831,7 @@ msgstr ""
|
|||
|
||||
#: bookwyrm/templates/book/book.html:369
|
||||
#: bookwyrm/templates/book/cover_add_modal.html:31
|
||||
#: bookwyrm/templates/lists/list.html:208
|
||||
#: bookwyrm/templates/lists/list.html:209
|
||||
#: bookwyrm/templates/settings/email_blocklist/domain_form.html:24
|
||||
#: bookwyrm/templates/settings/ip_blocklist/ip_address_form.html:31
|
||||
msgid "Add"
|
||||
|
@ -936,7 +933,7 @@ msgid "Back"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/edit/edit_book_form.html:21
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:16
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:15
|
||||
msgid "Title:"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1652,7 +1649,7 @@ msgid "What are you reading?"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/get_started/books.html:9
|
||||
#: bookwyrm/templates/layout.html:47 bookwyrm/templates/lists/list.html:162
|
||||
#: bookwyrm/templates/layout.html:47 bookwyrm/templates/lists/list.html:163
|
||||
msgid "Search for a book"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1670,9 +1667,9 @@ msgstr ""
|
|||
#: bookwyrm/templates/get_started/books.html:17
|
||||
#: bookwyrm/templates/get_started/users.html:18
|
||||
#: bookwyrm/templates/get_started/users.html:19
|
||||
#: bookwyrm/templates/groups/members.html:16
|
||||
#: bookwyrm/templates/groups/members.html:17 bookwyrm/templates/layout.html:53
|
||||
#: bookwyrm/templates/layout.html:54 bookwyrm/templates/lists/list.html:166
|
||||
#: bookwyrm/templates/groups/members.html:15
|
||||
#: bookwyrm/templates/groups/members.html:16 bookwyrm/templates/layout.html:53
|
||||
#: bookwyrm/templates/layout.html:54 bookwyrm/templates/lists/list.html:167
|
||||
#: bookwyrm/templates/search/layout.html:4
|
||||
#: bookwyrm/templates/search/layout.html:9
|
||||
msgid "Search"
|
||||
|
@ -1688,7 +1685,7 @@ msgid "Popular on %(site_name)s"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/get_started/books.html:58
|
||||
#: bookwyrm/templates/lists/list.html:179
|
||||
#: bookwyrm/templates/lists/list.html:180
|
||||
msgid "No books found"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1793,7 +1790,7 @@ msgstr ""
|
|||
#: bookwyrm/templates/settings/email_blocklist/email_blocklist.html:49
|
||||
#: bookwyrm/templates/settings/ip_blocklist/ip_blocklist.html:36
|
||||
#: bookwyrm/templates/snippets/follow_request_buttons.html:12
|
||||
#: bookwyrm/templates/snippets/join_invitation_buttons.html:13
|
||||
#: bookwyrm/templates/snippets/join_invitation_buttons.html:14
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1813,17 +1810,17 @@ msgstr ""
|
|||
msgid "Delete group"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/groups/group.html:22
|
||||
#: bookwyrm/templates/groups/group.html:21
|
||||
msgid "Members of this group can create group-curated lists."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/groups/group.html:27
|
||||
#: bookwyrm/templates/groups/group.html:26
|
||||
#: bookwyrm/templates/lists/create_form.html:5
|
||||
#: bookwyrm/templates/lists/lists.html:20
|
||||
msgid "Create List"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/groups/group.html:40
|
||||
#: bookwyrm/templates/groups/group.html:39
|
||||
msgid "This group has no lists"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1831,15 +1828,15 @@ msgstr ""
|
|||
msgid "Edit group"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/groups/members.html:12
|
||||
#: bookwyrm/templates/groups/members.html:11
|
||||
msgid "Search to add a user"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/groups/members.html:33
|
||||
#: bookwyrm/templates/groups/members.html:32
|
||||
msgid "Leave group"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/groups/members.html:55
|
||||
#: bookwyrm/templates/groups/members.html:54
|
||||
#: bookwyrm/templates/groups/suggested_users.html:35
|
||||
#: bookwyrm/templates/snippets/suggested_users.html:31
|
||||
#: bookwyrm/templates/user/user_preview.html:36
|
||||
|
@ -2296,18 +2293,18 @@ msgstr ""
|
|||
msgid "Edit List"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/embed-list.html:7
|
||||
#: bookwyrm/templates/lists/embed-list.html:8
|
||||
#, python-format
|
||||
msgid "%(list_name)s, a list by %(owner)s"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/embed-list.html:17
|
||||
#: bookwyrm/templates/lists/embed-list.html:18
|
||||
#, python-format
|
||||
msgid "on <a href=\"/\">%(site_name)s</a>"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/embed-list.html:26
|
||||
#: bookwyrm/templates/lists/list.html:42
|
||||
#: bookwyrm/templates/lists/embed-list.html:27
|
||||
#: bookwyrm/templates/lists/list.html:43
|
||||
msgid "This list is currently empty"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2368,76 +2365,76 @@ msgstr ""
|
|||
msgid "Delete list"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:34
|
||||
#: bookwyrm/templates/lists/list.html:35
|
||||
msgid "You successfully suggested a book for this list!"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:36
|
||||
#: bookwyrm/templates/lists/list.html:37
|
||||
msgid "You successfully added a book to this list!"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:80
|
||||
#: bookwyrm/templates/lists/list.html:81
|
||||
#, python-format
|
||||
msgid "Added by <a href=\"%(user_path)s\">%(username)s</a>"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:95
|
||||
#: bookwyrm/templates/lists/list.html:96
|
||||
msgid "List position"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:101
|
||||
#: bookwyrm/templates/lists/list.html:102
|
||||
#: bookwyrm/templates/settings/link_domains/edit_domain_modal.html:21
|
||||
msgid "Set"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:116
|
||||
#: bookwyrm/templates/snippets/remove_from_group_button.html:19
|
||||
#: bookwyrm/templates/lists/list.html:117
|
||||
#: bookwyrm/templates/snippets/remove_from_group_button.html:20
|
||||
msgid "Remove"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:130
|
||||
#: bookwyrm/templates/lists/list.html:147
|
||||
#: bookwyrm/templates/lists/list.html:131
|
||||
#: bookwyrm/templates/lists/list.html:148
|
||||
msgid "Sort List"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:140
|
||||
#: bookwyrm/templates/lists/list.html:141
|
||||
msgid "Direction"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:154
|
||||
#: bookwyrm/templates/lists/list.html:155
|
||||
msgid "Add Books"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:156
|
||||
#: bookwyrm/templates/lists/list.html:157
|
||||
msgid "Suggest Books"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:167
|
||||
#: bookwyrm/templates/lists/list.html:168
|
||||
msgid "search"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:173
|
||||
#: bookwyrm/templates/lists/list.html:174
|
||||
msgid "Clear search"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:178
|
||||
#: bookwyrm/templates/lists/list.html:179
|
||||
#, python-format
|
||||
msgid "No books found matching the query \"%(query)s\""
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:210
|
||||
#: bookwyrm/templates/lists/list.html:211
|
||||
msgid "Suggest"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:221
|
||||
#: bookwyrm/templates/lists/list.html:222
|
||||
msgid "Embed this list on a website"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:229
|
||||
#: bookwyrm/templates/lists/list.html:230
|
||||
msgid "Copy embed code"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/lists/list.html:231
|
||||
#: bookwyrm/templates/lists/list.html:232
|
||||
#, python-format
|
||||
msgid "%(list_name)s, a list by %(owner)s on %(site_name)s"
|
||||
msgstr ""
|
||||
|
@ -3913,15 +3910,15 @@ msgstr ""
|
|||
msgid "This shelf is empty."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/add_to_group_button.html:15
|
||||
#: bookwyrm/templates/snippets/add_to_group_button.html:16
|
||||
msgid "Invite"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/add_to_group_button.html:24
|
||||
#: bookwyrm/templates/snippets/add_to_group_button.html:25
|
||||
msgid "Uninvite"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/add_to_group_button.html:28
|
||||
#: bookwyrm/templates/snippets/add_to_group_button.html:29
|
||||
#, python-format
|
||||
msgid "Remove @%(username)s"
|
||||
msgstr ""
|
||||
|
@ -4009,7 +4006,7 @@ msgstr ""
|
|||
msgid "Include spoiler alert"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/layout.html:48
|
||||
#: bookwyrm/templates/snippets/create_status/layout.html:47
|
||||
#: bookwyrm/templates/snippets/reading_modals/form.html:7
|
||||
msgid "Comment:"
|
||||
msgstr ""
|
||||
|
@ -4018,33 +4015,33 @@ msgstr ""
|
|||
msgid "Post"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:17
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:16
|
||||
msgid "Quote:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:25
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:24
|
||||
#, python-format
|
||||
msgid "An excerpt from '%(book_title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:32
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:31
|
||||
msgid "Position:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:45
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:44
|
||||
msgid "On page:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:51
|
||||
#: bookwyrm/templates/snippets/create_status/quotation.html:50
|
||||
msgid "At percent:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:25
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:24
|
||||
#, python-format
|
||||
msgid "Your review of '%(book_title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:40
|
||||
#: bookwyrm/templates/snippets/create_status/review.html:39
|
||||
msgid "Review:"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4098,7 +4095,7 @@ msgid "Unfollow"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/follow_request_buttons.html:7
|
||||
#: bookwyrm/templates/snippets/join_invitation_buttons.html:8
|
||||
#: bookwyrm/templates/snippets/join_invitation_buttons.html:9
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4138,14 +4135,14 @@ msgstr[1] ""
|
|||
|
||||
#: bookwyrm/templates/snippets/generated_status/review_pure_name.html:4
|
||||
#, python-format
|
||||
msgid "Review of \"<a href='%(book_path)s'>%(book_title)s</a>\" (%(display_rating)s star): %(review_title)s"
|
||||
msgid_plural "Review of \"<a href='%(book_path)s'>%(book_title)s</a>\" (%(display_rating)s stars): %(review_title)s"
|
||||
msgid "Review of \"%(book_title)s\" (%(display_rating)s star): %(review_title)s"
|
||||
msgid_plural "Review of \"%(book_title)s\" (%(display_rating)s stars): %(review_title)s"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: bookwyrm/templates/snippets/generated_status/review_pure_name.html:12
|
||||
#, python-format
|
||||
msgid "Review of \"<a href='%(book_path)s'>%(book_title)s</a>\": %(review_title)s"
|
||||
msgid "Review of \"%(book_title)s\": %(review_title)s"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/goal_form.html:4
|
||||
|
@ -4216,11 +4213,11 @@ msgstr ""
|
|||
msgid "Post privacy"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/rate_action.html:4
|
||||
#: bookwyrm/templates/snippets/rate_action.html:5
|
||||
msgid "Leave a rating"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/rate_action.html:19
|
||||
#: bookwyrm/templates/snippets/rate_action.html:20
|
||||
msgid "Rate"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4314,29 +4311,29 @@ msgstr ""
|
|||
msgid "Finish reading"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:73
|
||||
msgid "Content warning"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:80
|
||||
msgid "Show status"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:102
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:126
|
||||
msgid "Open image in new window"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:145
|
||||
msgid "Hide status"
|
||||
msgstr ""
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 20:55\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Error en cargar libro"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "No se pudo encontrar el libro"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Tapa blanda"
|
|||
msgid "Federated"
|
||||
msgstr "Federalizado"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,10 +191,22 @@ msgstr "Seguidores"
|
|||
msgid "Private"
|
||||
msgstr "Privado"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr "Gratuito"
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr "Disponible para compra"
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr "Disponible para préstamo"
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
msgstr "Aprobado"
|
||||
|
||||
#: bookwyrm/models/user.py:32 bookwyrm/templates/book/book.html:272
|
||||
msgid "Reviews"
|
||||
|
@ -677,7 +689,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -699,7 +712,7 @@ msgstr "Guardar"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1055,47 +1068,53 @@ msgstr "Buscar ediciones"
|
|||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:6
|
||||
msgid "Add file link"
|
||||
msgstr ""
|
||||
msgstr "Añadir enlace a archivo"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:19
|
||||
msgid "Links from unknown domains will need to be approved by a moderator before they are added."
|
||||
msgstr ""
|
||||
msgstr "Los enlaces de dominios desconocidos tendrán que ser aprobados por un moderador antes de ser añadidos."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:24
|
||||
msgid "URL:"
|
||||
msgstr ""
|
||||
msgstr "URL:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:29
|
||||
msgid "File type:"
|
||||
msgstr ""
|
||||
msgstr "Tipo de archivo:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr "Disponibilidad:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
msgstr "Editar enlaces"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:11
|
||||
#, python-format
|
||||
msgid "\n"
|
||||
" Links for \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
msgstr ""
|
||||
msgstr "\n"
|
||||
" Enlaces de \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:32
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:6
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
msgstr "URL"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:33
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:7
|
||||
msgid "Added by"
|
||||
msgstr ""
|
||||
msgstr "Añadido por"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:34
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:8
|
||||
msgid "Filetype"
|
||||
msgstr ""
|
||||
msgstr "Tipo de archivo"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:35
|
||||
#: bookwyrm/templates/settings/email_blocklist/email_blocklist.html:25
|
||||
|
@ -1104,49 +1123,60 @@ msgid "Domain"
|
|||
msgstr "Dominio"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Estado"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Acciones"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
msgstr "Denunciar spam"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
msgstr "Ningún enlace disponible para este libro."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
msgstr "Añadir enlace a archivo"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/file_link_page.html:6
|
||||
msgid "File Links"
|
||||
msgstr ""
|
||||
msgstr "Enlaces a archivos"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:9
|
||||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
msgstr "Obtener una copia"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
msgstr "Ningún enlace disponible"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:5
|
||||
msgid "Leaving BookWyrm"
|
||||
msgstr ""
|
||||
msgstr "Saliendo de BookWyrm"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:11
|
||||
#, python-format
|
||||
msgid "This link is taking you to: <code>%(link_url)s</code>.<br> Is that where you'd like to go?"
|
||||
msgstr ""
|
||||
msgstr "Este enlace te lleva a: <code>%(link_url)s</code>.<br> ¿Es ahí adonde quieres ir?"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:20
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
msgstr "Continuar"
|
||||
|
||||
#: bookwyrm/templates/book/publisher_info.html:23
|
||||
#, python-format
|
||||
|
@ -1970,16 +2000,6 @@ msgstr "Reseña"
|
|||
msgid "Book"
|
||||
msgstr "Libro"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Estado"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Previsualización de la importación no disponible."
|
||||
|
@ -2028,8 +2048,8 @@ msgid "Reject"
|
|||
msgstr "Rechazar"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Puede descargar sus datos de Goodreads desde la <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">página de Importación/Exportación</a> de su cuenta de Goodreads."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Puedes descargar tus datos de Goodreads desde la <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">página de importación/exportación</a> de tu cuenta de Goodreads."
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -3079,8 +3099,8 @@ msgstr[1] "%(display_count)s informes abiertos"
|
|||
#, python-format
|
||||
msgid "%(display_count)s domain needs review"
|
||||
msgid_plural "%(display_count)s domains need review"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "%(display_count)s dominio necesita revisión"
|
||||
msgstr[1] "%(display_count)s dominios necesitan revisión"
|
||||
|
||||
#: bookwyrm/templates/settings/dashboard/dashboard.html:65
|
||||
#, python-format
|
||||
|
@ -3477,7 +3497,7 @@ msgstr "Informes"
|
|||
#: bookwyrm/templates/settings/link_domains/link_domains.html:5
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:7
|
||||
msgid "Link Domains"
|
||||
msgstr ""
|
||||
msgstr "Dominios de enlaces"
|
||||
|
||||
#: bookwyrm/templates/settings/layout.html:72
|
||||
msgid "Instance Settings"
|
||||
|
@ -3492,35 +3512,35 @@ msgstr "Configuración de sitio"
|
|||
#: bookwyrm/templates/settings/link_domains/edit_domain_modal.html:5
|
||||
#, python-format
|
||||
msgid "Set display name for %(url)s"
|
||||
msgstr ""
|
||||
msgstr "Establecer nombre con el que mostrar %(url)s"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:11
|
||||
msgid "Link domains must be approved before they are shown on book pages. Please make sure that the domains are not hosting spam, malicious code, or deceptive links before approving."
|
||||
msgstr ""
|
||||
msgstr "Los dominios de enlaces deben ser aprobados antes de que se muestren en las páginas de libros. Por favor, asegúrate de que los dominios no contienen spam, código malicioso o enlaces engañosos antes de aprobarlos."
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:45
|
||||
msgid "Set display name"
|
||||
msgstr ""
|
||||
msgstr "Establecer nombre para mostrar"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:53
|
||||
msgid "View links"
|
||||
msgstr ""
|
||||
msgstr "Ver enlaces"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:96
|
||||
msgid "No domains currently approved"
|
||||
msgstr ""
|
||||
msgstr "Ningún dominio aprobado actualmente"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:98
|
||||
msgid "No domains currently pending"
|
||||
msgstr ""
|
||||
msgstr "Ningún dominio pendiente actualmente"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:100
|
||||
msgid "No domains currently blocked"
|
||||
msgstr ""
|
||||
msgstr "No hay dominios bloqueados actualmente"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:39
|
||||
msgid "No links available for this domain."
|
||||
msgstr ""
|
||||
msgstr "Ningún enlace disponible para este dominio."
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:11
|
||||
msgid "Back to reports"
|
||||
|
@ -3536,7 +3556,7 @@ msgstr "El estado ha sido eliminado"
|
|||
|
||||
#: bookwyrm/templates/settings/reports/report.html:39
|
||||
msgid "Reported links"
|
||||
msgstr ""
|
||||
msgstr "Enlaces denunciados"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:55
|
||||
msgid "Moderator Comments"
|
||||
|
@ -3550,21 +3570,21 @@ msgstr "Comentario"
|
|||
#: bookwyrm/templates/settings/reports/report_header.html:6
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Status posted by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Reporte #%(report_id)s: Estado publicado por @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:12
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Link added by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Reporte #%(report_id)s: Enlace añadido por @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:18
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: User @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Reporte #%(report_id)s: Usuario @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:17
|
||||
msgid "Block domain"
|
||||
msgstr ""
|
||||
msgstr "Bloquear dominio"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:17
|
||||
msgid "No notes provided"
|
||||
|
@ -3573,7 +3593,7 @@ msgstr "No se proporcionó notas"
|
|||
#: bookwyrm/templates/settings/reports/report_preview.html:24
|
||||
#, python-format
|
||||
msgid "Reported by <a href=\"%(path)s\">@%(username)s</a>"
|
||||
msgstr ""
|
||||
msgstr "Denunciado por <a href=\"%(path)s\">@%(username)s</a>"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:34
|
||||
msgid "Re-open"
|
||||
|
@ -3819,7 +3839,7 @@ msgstr "Eliminado permanentemente"
|
|||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:8
|
||||
msgid "User Actions"
|
||||
msgstr ""
|
||||
msgstr "Acciones de usuario"
|
||||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:21
|
||||
msgid "Suspend user"
|
||||
|
@ -4236,12 +4256,12 @@ msgstr "Inscribirse"
|
|||
#: bookwyrm/templates/snippets/report_modal.html:8
|
||||
#, python-format
|
||||
msgid "Report @%(username)s's status"
|
||||
msgstr ""
|
||||
msgstr "Denunciar el estado de @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:10
|
||||
#, python-format
|
||||
msgid "Report %(domain)s link"
|
||||
msgstr ""
|
||||
msgstr "Denunciar el enlace a %(domain)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:12
|
||||
#, python-format
|
||||
|
@ -4255,7 +4275,7 @@ msgstr "Este informe se enviará a los moderadores de %(site_name)s para la revi
|
|||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:36
|
||||
msgid "Links from this domain will be removed until your report has been reviewed."
|
||||
msgstr ""
|
||||
msgstr "Los enlaces a este dominio se eliminarán hasta que tu denuncia haya sido revisada."
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:41
|
||||
msgid "More info about this report:"
|
||||
|
@ -4295,29 +4315,29 @@ msgstr "Quitar de %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Terminar de leer"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Advertencia de contenido"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Mostrar estado"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Página %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Abrir imagen en una nueva ventana"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Ocultar estado"
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 20:55\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: French\n"
|
||||
"Language: fr\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Erreur lors du chargement du livre"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Impossible de trouver une correspondance pour le livre"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Couverture souple"
|
|||
msgid "Federated"
|
||||
msgstr "Fédéré"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,10 +191,22 @@ msgstr "Abonné(e)s"
|
|||
msgid "Private"
|
||||
msgstr "Privé"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr "Gratuit"
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr "Disponible à l’achat"
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr "Disponible à l’emprunt"
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
msgstr "Approuvé"
|
||||
|
||||
#: bookwyrm/models/user.py:32 bookwyrm/templates/book/book.html:272
|
||||
msgid "Reviews"
|
||||
|
@ -677,7 +689,8 @@ msgstr "ISNI :"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -699,7 +712,7 @@ msgstr "Enregistrer"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1055,47 +1068,53 @@ msgstr "Rechercher des éditions"
|
|||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:6
|
||||
msgid "Add file link"
|
||||
msgstr ""
|
||||
msgstr "Ajouter un lien vers un fichier"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:19
|
||||
msgid "Links from unknown domains will need to be approved by a moderator before they are added."
|
||||
msgstr ""
|
||||
msgstr "Les liens vers des domaines inconnus devront être modérés avant d'être ajoutés."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:24
|
||||
msgid "URL:"
|
||||
msgstr ""
|
||||
msgstr "URL :"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:29
|
||||
msgid "File type:"
|
||||
msgstr ""
|
||||
msgstr "Type de fichier :"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr "Disponibilité :"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
msgstr "Modifier les liens"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:11
|
||||
#, python-format
|
||||
msgid "\n"
|
||||
" Links for \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
msgstr ""
|
||||
msgstr "\n"
|
||||
" Liens pour \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:32
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:6
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
msgstr "URL"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:33
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:7
|
||||
msgid "Added by"
|
||||
msgstr ""
|
||||
msgstr "Ajouté par"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:34
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:8
|
||||
msgid "Filetype"
|
||||
msgstr ""
|
||||
msgstr "Type de fichier"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:35
|
||||
#: bookwyrm/templates/settings/email_blocklist/email_blocklist.html:25
|
||||
|
@ -1104,49 +1123,60 @@ msgid "Domain"
|
|||
msgstr "Domaine"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Statut"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Actions"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
msgstr "Signaler un spam"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
msgstr "Aucun lien disponible pour ce livre."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
msgstr "Ajouter un lien vers un fichier"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/file_link_page.html:6
|
||||
msgid "File Links"
|
||||
msgstr ""
|
||||
msgstr "Liens vers un fichier"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:9
|
||||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
msgstr "Obtenir une copie"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
msgstr "Aucun lien disponible"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:5
|
||||
msgid "Leaving BookWyrm"
|
||||
msgstr ""
|
||||
msgstr "Vous quittez BookWyrm"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:11
|
||||
#, python-format
|
||||
msgid "This link is taking you to: <code>%(link_url)s</code>.<br> Is that where you'd like to go?"
|
||||
msgstr ""
|
||||
msgstr "Ce lien vous amène à <code>%(link_url)s</code>.<br>Est-ce là que vous souhaitez aller ?"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:20
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
msgstr "Continuer"
|
||||
|
||||
#: bookwyrm/templates/book/publisher_info.html:23
|
||||
#, python-format
|
||||
|
@ -1970,16 +2000,6 @@ msgstr "Critique"
|
|||
msgid "Book"
|
||||
msgstr "Livre"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Statut"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Aperçu de l'importation indisponible."
|
||||
|
@ -2028,8 +2048,8 @@ msgid "Reject"
|
|||
msgstr "Rejeter"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Vous pouvez télécharger vos données GoodReads depuis la page <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export</a> de votre compte GoodReads."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Vous pouvez télécharger vos données Goodreads depuis la page <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export</a> de votre compte Goodreads."
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -3079,8 +3099,8 @@ msgstr[1] "%(display_count)s signalements ouverts"
|
|||
#, python-format
|
||||
msgid "%(display_count)s domain needs review"
|
||||
msgid_plural "%(display_count)s domains need review"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "%(display_count)s domaine doit être vérifié"
|
||||
msgstr[1] "%(display_count)s domaines doivent être vérifiés"
|
||||
|
||||
#: bookwyrm/templates/settings/dashboard/dashboard.html:65
|
||||
#, python-format
|
||||
|
@ -3477,7 +3497,7 @@ msgstr "Signalements"
|
|||
#: bookwyrm/templates/settings/link_domains/link_domains.html:5
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:7
|
||||
msgid "Link Domains"
|
||||
msgstr ""
|
||||
msgstr "Domaines liés"
|
||||
|
||||
#: bookwyrm/templates/settings/layout.html:72
|
||||
msgid "Instance Settings"
|
||||
|
@ -3492,35 +3512,35 @@ msgstr "Paramètres du site"
|
|||
#: bookwyrm/templates/settings/link_domains/edit_domain_modal.html:5
|
||||
#, python-format
|
||||
msgid "Set display name for %(url)s"
|
||||
msgstr ""
|
||||
msgstr "Définir le nom affiché pour %(url)s"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:11
|
||||
msgid "Link domains must be approved before they are shown on book pages. Please make sure that the domains are not hosting spam, malicious code, or deceptive links before approving."
|
||||
msgstr ""
|
||||
msgstr "Les domaines liés doivent être approuvés avant d’être montrés sur les pages des livres. Assurez-vous que ces domaines n’hébergent pas du spam, du code malicieux ou des liens falsifiés avant de les approuver."
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:45
|
||||
msgid "Set display name"
|
||||
msgstr ""
|
||||
msgstr "Définir le nom à afficher"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:53
|
||||
msgid "View links"
|
||||
msgstr ""
|
||||
msgstr "Voir les liens"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:96
|
||||
msgid "No domains currently approved"
|
||||
msgstr ""
|
||||
msgstr "Aucun domaine actuellement approuvé"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:98
|
||||
msgid "No domains currently pending"
|
||||
msgstr ""
|
||||
msgstr "Aucun domaine en attente"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:100
|
||||
msgid "No domains currently blocked"
|
||||
msgstr ""
|
||||
msgstr "Aucun domaine actuellement bloqué"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:39
|
||||
msgid "No links available for this domain."
|
||||
msgstr ""
|
||||
msgstr "Aucun lien n’est disponible pour ce domaine."
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:11
|
||||
msgid "Back to reports"
|
||||
|
@ -3536,7 +3556,7 @@ msgstr "Le statut a été supprimé"
|
|||
|
||||
#: bookwyrm/templates/settings/reports/report.html:39
|
||||
msgid "Reported links"
|
||||
msgstr ""
|
||||
msgstr "Liens signalés"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:55
|
||||
msgid "Moderator Comments"
|
||||
|
@ -3550,21 +3570,21 @@ msgstr "Commentaire"
|
|||
#: bookwyrm/templates/settings/reports/report_header.html:6
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Status posted by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Signalement #%(report_id)s : statut posté par @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:12
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Link added by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Signalement #%(report_id)s : lien ajouté par @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:18
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: User @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Signalement #%(report_id)s : compte @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:17
|
||||
msgid "Block domain"
|
||||
msgstr ""
|
||||
msgstr "Bloquer le domaine"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:17
|
||||
msgid "No notes provided"
|
||||
|
@ -3573,7 +3593,7 @@ msgstr "Aucune note fournie"
|
|||
#: bookwyrm/templates/settings/reports/report_preview.html:24
|
||||
#, python-format
|
||||
msgid "Reported by <a href=\"%(path)s\">@%(username)s</a>"
|
||||
msgstr ""
|
||||
msgstr "Signalé par <a href=\"%(path)s\">@%(username)s</a>"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:34
|
||||
msgid "Re-open"
|
||||
|
@ -3819,7 +3839,7 @@ msgstr "Supprimé définitivement"
|
|||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:8
|
||||
msgid "User Actions"
|
||||
msgstr ""
|
||||
msgstr "Actions de l'utilisateur"
|
||||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:21
|
||||
msgid "Suspend user"
|
||||
|
@ -4236,12 +4256,12 @@ msgstr "S’enregistrer"
|
|||
#: bookwyrm/templates/snippets/report_modal.html:8
|
||||
#, python-format
|
||||
msgid "Report @%(username)s's status"
|
||||
msgstr ""
|
||||
msgstr "Signaler le statut de @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:10
|
||||
#, python-format
|
||||
msgid "Report %(domain)s link"
|
||||
msgstr ""
|
||||
msgstr "Signaler le lien de %(domain)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:12
|
||||
#, python-format
|
||||
|
@ -4255,7 +4275,7 @@ msgstr "Ce signalement sera envoyé à l’équipe de modération de %(site_name
|
|||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:36
|
||||
msgid "Links from this domain will be removed until your report has been reviewed."
|
||||
msgstr ""
|
||||
msgstr "Les liens vers ce domaine seront retirés jusqu’à ce que votre signalement ait été vérifié."
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:41
|
||||
msgid "More info about this report:"
|
||||
|
@ -4295,29 +4315,29 @@ msgstr "Retirer de %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Terminer la lecture"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Avertissement sur le contenu"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Afficher le statut"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Page %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Ouvrir l’image dans une nouvelle fenêtre"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Masquer le statut"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-18 06:22\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Galician\n"
|
||||
"Language: gl\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Erro ao cargar o libro"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Non se atopan coincidencias para o libro"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "En rústica"
|
|||
msgid "Federated"
|
||||
msgstr "Federado"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,10 +191,22 @@ msgstr "Seguidoras"
|
|||
msgid "Private"
|
||||
msgstr "Privado"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr "Gratuíto"
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr "Dispoñible"
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr "Dispoñible para aluguer"
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
msgstr "Aprobado"
|
||||
|
||||
#: bookwyrm/models/user.py:32 bookwyrm/templates/book/book.html:272
|
||||
msgid "Reviews"
|
||||
|
@ -677,7 +689,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -699,7 +712,7 @@ msgstr "Gardar"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1055,47 +1068,53 @@ msgstr "Buscar edicións"
|
|||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:6
|
||||
msgid "Add file link"
|
||||
msgstr ""
|
||||
msgstr "Engadir ligazón ao ficheiro"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:19
|
||||
msgid "Links from unknown domains will need to be approved by a moderator before they are added."
|
||||
msgstr ""
|
||||
msgstr "As ligazóns a dominios descoñecidos teñen que ser aprobados pola moderación antes de ser engadidos."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:24
|
||||
msgid "URL:"
|
||||
msgstr ""
|
||||
msgstr "URL:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:29
|
||||
msgid "File type:"
|
||||
msgstr ""
|
||||
msgstr "Tipo de ficheiro:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr "Dispoñibilidade:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
msgstr "Editar ligazóns"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:11
|
||||
#, python-format
|
||||
msgid "\n"
|
||||
" Links for \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
msgstr ""
|
||||
msgstr "\n"
|
||||
"Ligazóns para \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:32
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:6
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
msgstr "URL"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:33
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:7
|
||||
msgid "Added by"
|
||||
msgstr ""
|
||||
msgstr "Engadido por"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:34
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:8
|
||||
msgid "Filetype"
|
||||
msgstr ""
|
||||
msgstr "Tipo de ficheiro"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:35
|
||||
#: bookwyrm/templates/settings/email_blocklist/email_blocklist.html:25
|
||||
|
@ -1104,49 +1123,60 @@ msgid "Domain"
|
|||
msgstr "Dominio"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Estado"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Accións"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
msgstr "Denunciar spam"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
msgstr "Sen ligazóns para para este libro."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
msgstr "Engadir ligazón ao ficheiro"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/file_link_page.html:6
|
||||
msgid "File Links"
|
||||
msgstr ""
|
||||
msgstr "Ligazóns do ficheiro"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:9
|
||||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
msgstr "Obter unha copia"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
msgstr "Sen ligazóns dispoñibles"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:5
|
||||
msgid "Leaving BookWyrm"
|
||||
msgstr ""
|
||||
msgstr "Saír de BookWyrm"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:11
|
||||
#, python-format
|
||||
msgid "This link is taking you to: <code>%(link_url)s</code>.<br> Is that where you'd like to go?"
|
||||
msgstr ""
|
||||
msgstr "Esta ligazón vaite levar a: <code>%(link_url)s</code>.<br>É ahí a onde queres ir?"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:20
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
msgstr "Continuar"
|
||||
|
||||
#: bookwyrm/templates/book/publisher_info.html:23
|
||||
#, python-format
|
||||
|
@ -1970,16 +2000,6 @@ msgstr "Revisar"
|
|||
msgid "Book"
|
||||
msgstr "Libro"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Estado"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Non dispoñible vista previa da importación."
|
||||
|
@ -2028,8 +2048,8 @@ msgid "Reject"
|
|||
msgstr "Rexeitar"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Podes descargar os teus datos en Goodreads desde a <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">páxina de Importación/Exportación</a> na túa conta Goodreads."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Podes descargar os teus datos de Goodreads desde a <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">páxina de Exportación/Importación</a> da túa conta Goodreads."
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -3079,8 +3099,8 @@ msgstr[1] "%(display_count)s denuncias abertas"
|
|||
#, python-format
|
||||
msgid "%(display_count)s domain needs review"
|
||||
msgid_plural "%(display_count)s domains need review"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "hai que revisar %(display_count)s dominio"
|
||||
msgstr[1] "hai que revisar %(display_count)s dominios"
|
||||
|
||||
#: bookwyrm/templates/settings/dashboard/dashboard.html:65
|
||||
#, python-format
|
||||
|
@ -3477,7 +3497,7 @@ msgstr "Denuncias"
|
|||
#: bookwyrm/templates/settings/link_domains/link_domains.html:5
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:7
|
||||
msgid "Link Domains"
|
||||
msgstr ""
|
||||
msgstr "Dominios das ligazóns"
|
||||
|
||||
#: bookwyrm/templates/settings/layout.html:72
|
||||
msgid "Instance Settings"
|
||||
|
@ -3492,35 +3512,35 @@ msgstr "Axustes da web"
|
|||
#: bookwyrm/templates/settings/link_domains/edit_domain_modal.html:5
|
||||
#, python-format
|
||||
msgid "Set display name for %(url)s"
|
||||
msgstr ""
|
||||
msgstr "Nome público para %(url)s"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:11
|
||||
msgid "Link domains must be approved before they are shown on book pages. Please make sure that the domains are not hosting spam, malicious code, or deceptive links before approving."
|
||||
msgstr ""
|
||||
msgstr "As ligazóns a dominios teñen que ser aprobadas para mostralas nas páxinas dos libros. Pon coidado en que non sexan spam, código pernicioso, ou ligazóns estragadas antes de aprobalas."
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:45
|
||||
msgid "Set display name"
|
||||
msgstr ""
|
||||
msgstr "Establecer nome público"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:53
|
||||
msgid "View links"
|
||||
msgstr ""
|
||||
msgstr "Ver ligazóns"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:96
|
||||
msgid "No domains currently approved"
|
||||
msgstr ""
|
||||
msgstr "Non hai dominios aprobados"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:98
|
||||
msgid "No domains currently pending"
|
||||
msgstr ""
|
||||
msgstr "Non hai dominios pendentes"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:100
|
||||
msgid "No domains currently blocked"
|
||||
msgstr ""
|
||||
msgstr "Non hai dominios bloqueados"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:39
|
||||
msgid "No links available for this domain."
|
||||
msgstr ""
|
||||
msgstr "Non hai ligazóns dispoñibles para este dominio."
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:11
|
||||
msgid "Back to reports"
|
||||
|
@ -3536,7 +3556,7 @@ msgstr "O estado foi eliminado"
|
|||
|
||||
#: bookwyrm/templates/settings/reports/report.html:39
|
||||
msgid "Reported links"
|
||||
msgstr ""
|
||||
msgstr "Ligazóns denunciadas"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:55
|
||||
msgid "Moderator Comments"
|
||||
|
@ -3550,21 +3570,21 @@ msgstr "Comentario"
|
|||
#: bookwyrm/templates/settings/reports/report_header.html:6
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Status posted by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Denuncia #%(report_id)s: Estado publicado por @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:12
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Link added by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Denuncia #%(report_id)s: Ligazón engadida por @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:18
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: User @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Denuncia #%(report_id)s: Usuaria @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:17
|
||||
msgid "Block domain"
|
||||
msgstr ""
|
||||
msgstr "Bloquear dominio"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:17
|
||||
msgid "No notes provided"
|
||||
|
@ -3573,7 +3593,7 @@ msgstr "Non hai notas"
|
|||
#: bookwyrm/templates/settings/reports/report_preview.html:24
|
||||
#, python-format
|
||||
msgid "Reported by <a href=\"%(path)s\">@%(username)s</a>"
|
||||
msgstr ""
|
||||
msgstr "Denunciado por <a href=\"%(path)s\">@%(username)s</a>"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:34
|
||||
msgid "Re-open"
|
||||
|
@ -3819,7 +3839,7 @@ msgstr "Eliminada definitivamente"
|
|||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:8
|
||||
msgid "User Actions"
|
||||
msgstr ""
|
||||
msgstr "Accións da usuaria"
|
||||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:21
|
||||
msgid "Suspend user"
|
||||
|
@ -4236,12 +4256,12 @@ msgstr "Inscribirse"
|
|||
#: bookwyrm/templates/snippets/report_modal.html:8
|
||||
#, python-format
|
||||
msgid "Report @%(username)s's status"
|
||||
msgstr ""
|
||||
msgstr "Denunciar o estado de @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:10
|
||||
#, python-format
|
||||
msgid "Report %(domain)s link"
|
||||
msgstr ""
|
||||
msgstr "Denunciar ligazón %(domain)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:12
|
||||
#, python-format
|
||||
|
@ -4255,7 +4275,7 @@ msgstr "Esta denuncia vaise enviar á moderación en %(site_name)s para o seu an
|
|||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:36
|
||||
msgid "Links from this domain will be removed until your report has been reviewed."
|
||||
msgstr ""
|
||||
msgstr "As ligazóns deste dominio van ser eliminadas ata que se revise a denuncia."
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:41
|
||||
msgid "More info about this report:"
|
||||
|
@ -4295,29 +4315,29 @@ msgstr "Eliminar de %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Rematar a lectura"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Aviso sobre o contido"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Mostrar estado"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Páxina %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Abrir imaxe en nova ventá"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Agochar estado"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-19 23:20\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Italian\n"
|
||||
"Language: it\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Errore nel caricamento del libro"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Impossibile trovare una corrispondenza per il libro"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Brossura"
|
|||
msgid "Federated"
|
||||
msgstr "Federato"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,10 +191,22 @@ msgstr "Followers"
|
|||
msgid "Private"
|
||||
msgstr "Privata"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr "Libero"
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr "Acquistabile"
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr "Disponibile per il prestito"
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
msgstr "Approvato"
|
||||
|
||||
#: bookwyrm/models/user.py:32 bookwyrm/templates/book/book.html:272
|
||||
msgid "Reviews"
|
||||
|
@ -677,7 +689,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -699,7 +712,7 @@ msgstr "Salva"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1055,47 +1068,53 @@ msgstr "Ricerca edizioni"
|
|||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:6
|
||||
msgid "Add file link"
|
||||
msgstr ""
|
||||
msgstr "Aggiungi collegamento al file"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:19
|
||||
msgid "Links from unknown domains will need to be approved by a moderator before they are added."
|
||||
msgstr ""
|
||||
msgstr "I link da domini sconosciuti dovranno essere approvati da un moderatore prima di essere aggiunti."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:24
|
||||
msgid "URL:"
|
||||
msgstr ""
|
||||
msgstr "URL:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:29
|
||||
msgid "File type:"
|
||||
msgstr ""
|
||||
msgstr "Tipo di file:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr "Disponibilità:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
msgstr "Modifica collegamenti"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:11
|
||||
#, python-format
|
||||
msgid "\n"
|
||||
" Links for \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
msgstr ""
|
||||
msgstr "\n"
|
||||
" Link per \"<em>%(title)s</em>\"\n"
|
||||
" "
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:32
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:6
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
msgstr "URL"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:33
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:7
|
||||
msgid "Added by"
|
||||
msgstr ""
|
||||
msgstr "Aggiunto da"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:34
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:8
|
||||
msgid "Filetype"
|
||||
msgstr ""
|
||||
msgstr "Tipo di file"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:35
|
||||
#: bookwyrm/templates/settings/email_blocklist/email_blocklist.html:25
|
||||
|
@ -1104,49 +1123,60 @@ msgid "Domain"
|
|||
msgstr "Dominio"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Stato"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Azioni"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
msgstr "Segnala come spam"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
msgstr "Nessun collegamento disponibile per questo libro."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
msgstr "Aggiungi collegamento al file"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/file_link_page.html:6
|
||||
msgid "File Links"
|
||||
msgstr ""
|
||||
msgstr "Collegamenti ai file"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:9
|
||||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
msgstr "Ottieni una copia"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
msgstr "Nessun collegamento disponibile"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:5
|
||||
msgid "Leaving BookWyrm"
|
||||
msgstr ""
|
||||
msgstr "Esci da BookWyrm"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:11
|
||||
#, python-format
|
||||
msgid "This link is taking you to: <code>%(link_url)s</code>.<br> Is that where you'd like to go?"
|
||||
msgstr ""
|
||||
msgstr "Questo link ti sta portando a: <code>%(link_url)s</code>.<br> È qui che vuoi andare?"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:20
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
msgstr "Continua"
|
||||
|
||||
#: bookwyrm/templates/book/publisher_info.html:23
|
||||
#, python-format
|
||||
|
@ -1970,16 +2000,6 @@ msgstr "Recensione"
|
|||
msgid "Book"
|
||||
msgstr "Libro"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Stato"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Anteprima di importazione non disponibile."
|
||||
|
@ -2028,8 +2048,8 @@ msgid "Reject"
|
|||
msgstr "Rifiutato"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Puoi scaricare i tuoi dati Goodreads dalla pagina <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Importa/Esportazione</a> del tuo account Goodreads."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Puoi scaricare i tuoi dati Goodreads dalla pagina <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">\"Importa/Esporta\"</a> del tuo account Goodreads."
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -3079,8 +3099,8 @@ msgstr[1] "%(display_count)s reports aperti"
|
|||
#, python-format
|
||||
msgid "%(display_count)s domain needs review"
|
||||
msgid_plural "%(display_count)s domains need review"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "%(display_count)s dominio necessita di una revisione"
|
||||
msgstr[1] "%(display_count)s domini necessitano di una revisione"
|
||||
|
||||
#: bookwyrm/templates/settings/dashboard/dashboard.html:65
|
||||
#, python-format
|
||||
|
@ -3477,7 +3497,7 @@ msgstr "Reports"
|
|||
#: bookwyrm/templates/settings/link_domains/link_domains.html:5
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:7
|
||||
msgid "Link Domains"
|
||||
msgstr ""
|
||||
msgstr "Link ai domini"
|
||||
|
||||
#: bookwyrm/templates/settings/layout.html:72
|
||||
msgid "Instance Settings"
|
||||
|
@ -3492,35 +3512,35 @@ msgstr "Impostazioni Sito"
|
|||
#: bookwyrm/templates/settings/link_domains/edit_domain_modal.html:5
|
||||
#, python-format
|
||||
msgid "Set display name for %(url)s"
|
||||
msgstr ""
|
||||
msgstr "Imposta il nome visualizzato per %(url)s"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:11
|
||||
msgid "Link domains must be approved before they are shown on book pages. Please make sure that the domains are not hosting spam, malicious code, or deceptive links before approving."
|
||||
msgstr ""
|
||||
msgstr "I collegamenti a domini devono essere approvati prima di essere visualizzati nelle pagine dei libri. Si prega di assicurarsi che i domini non ospitino spam, codice dannoso o link ingannevoli prima dell'approvazione."
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:45
|
||||
msgid "Set display name"
|
||||
msgstr ""
|
||||
msgstr "Imposta nome visualizzato"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:53
|
||||
msgid "View links"
|
||||
msgstr ""
|
||||
msgstr "Visualizza collegamenti"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:96
|
||||
msgid "No domains currently approved"
|
||||
msgstr ""
|
||||
msgstr "Nessun dominio attualmente approvato"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:98
|
||||
msgid "No domains currently pending"
|
||||
msgstr ""
|
||||
msgstr "Nessun dominio attualmente in attesa"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:100
|
||||
msgid "No domains currently blocked"
|
||||
msgstr ""
|
||||
msgstr "Nessun dominio attualmente bloccato"
|
||||
|
||||
#: bookwyrm/templates/settings/link_domains/link_table.html:39
|
||||
msgid "No links available for this domain."
|
||||
msgstr ""
|
||||
msgstr "Nessun collegamento disponibile per questo libro."
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:11
|
||||
msgid "Back to reports"
|
||||
|
@ -3536,7 +3556,7 @@ msgstr "Lo stato è stato eliminato"
|
|||
|
||||
#: bookwyrm/templates/settings/reports/report.html:39
|
||||
msgid "Reported links"
|
||||
msgstr ""
|
||||
msgstr "Collegamenti segnalati"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report.html:55
|
||||
msgid "Moderator Comments"
|
||||
|
@ -3550,21 +3570,21 @@ msgstr "Commenta"
|
|||
#: bookwyrm/templates/settings/reports/report_header.html:6
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Status posted by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Report #%(report_id)s: Stato pubblicato da @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:12
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: Link added by @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Report #%(report_id)s: Collegamento aggiunto da @%(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_header.html:18
|
||||
#, python-format
|
||||
msgid "Report #%(report_id)s: User @%(username)s"
|
||||
msgstr ""
|
||||
msgstr "Report #%(report_id)s: %(username)s"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:17
|
||||
msgid "Block domain"
|
||||
msgstr ""
|
||||
msgstr "Domini bloccati"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:17
|
||||
msgid "No notes provided"
|
||||
|
@ -3573,7 +3593,7 @@ msgstr "Nessuna nota disponibile"
|
|||
#: bookwyrm/templates/settings/reports/report_preview.html:24
|
||||
#, python-format
|
||||
msgid "Reported by <a href=\"%(path)s\">@%(username)s</a>"
|
||||
msgstr ""
|
||||
msgstr "Segnalato da <a href=\"%(path)s\">%(username)s</a>"
|
||||
|
||||
#: bookwyrm/templates/settings/reports/report_preview.html:34
|
||||
msgid "Re-open"
|
||||
|
@ -3819,7 +3839,7 @@ msgstr "Elimina definitivamente"
|
|||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:8
|
||||
msgid "User Actions"
|
||||
msgstr ""
|
||||
msgstr "Azioni dell'utente"
|
||||
|
||||
#: bookwyrm/templates/settings/users/user_moderation_actions.html:21
|
||||
msgid "Suspend user"
|
||||
|
@ -4236,12 +4256,12 @@ msgstr "Iscriviti"
|
|||
#: bookwyrm/templates/snippets/report_modal.html:8
|
||||
#, python-format
|
||||
msgid "Report @%(username)s's status"
|
||||
msgstr ""
|
||||
msgstr "Segnala lo stato di%(username)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:10
|
||||
#, python-format
|
||||
msgid "Report %(domain)s link"
|
||||
msgstr ""
|
||||
msgstr "Segnala il link %(domain)s"
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:12
|
||||
#, python-format
|
||||
|
@ -4255,7 +4275,7 @@ msgstr "Questo report verrà inviato ai moderatori di %(site_name)s per la revis
|
|||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:36
|
||||
msgid "Links from this domain will be removed until your report has been reviewed."
|
||||
msgstr ""
|
||||
msgstr "I collegamenti da questo dominio verranno rimossi fino a quando il rapporto non sarà stato rivisto."
|
||||
|
||||
#: bookwyrm/templates/snippets/report_modal.html:41
|
||||
msgid "More info about this report:"
|
||||
|
@ -4295,29 +4315,29 @@ msgstr "Rimuovi da %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Finito di leggere"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Avviso sul contenuto"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Mostra stato"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Pagina %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Apri immagine in una nuova finestra"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Nascondi lo stato"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 19:57\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Lithuanian\n"
|
||||
"Language: lt\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Klaida įkeliant knygą"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Nepavyko rasti tokios knygos"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Knyga minkštais viršeliais"
|
|||
msgid "Federated"
|
||||
msgstr "Susijungę"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,7 +191,19 @@ msgstr "Sekėjai"
|
|||
msgid "Private"
|
||||
msgstr "Privatu"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
|
@ -683,7 +695,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -705,7 +718,7 @@ msgstr "Išsaugoti"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1077,9 +1090,13 @@ msgstr ""
|
|||
msgid "File type:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1112,21 +1129,32 @@ msgid "Domain"
|
|||
msgstr "Domenas"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Būsena"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Veiksmai"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
|
@ -1139,7 +1167,7 @@ msgstr ""
|
|||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1990,16 +2018,6 @@ msgstr "Apžvalga"
|
|||
msgid "Book"
|
||||
msgstr "Knyga"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Būsena"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Nepavyko įkelti peržiūros."
|
||||
|
@ -2048,8 +2066,8 @@ msgid "Reject"
|
|||
msgstr "Atmesti"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Galite atsisiųsti savo „Goodreads“ duomenis iš <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Importavimo ir eksportavimo puslapio</a>, esančio jūsų „Goodreads“ paskyroje."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -4337,29 +4355,29 @@ msgstr "Pašalinti iš %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Baigti skaityti"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Įspėjimas dėl turinio"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Rodyti būseną"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Psl. %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Atidaryti paveikslėlį naujame lange"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Slėpti būseną"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 19:57\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Norwegian\n"
|
||||
"Language: no\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Feilet ved lasting av bok"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Fant ikke den boka"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Paperback"
|
|||
msgid "Federated"
|
||||
msgstr "Føderert"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,7 +191,19 @@ msgstr "Følgere"
|
|||
msgid "Private"
|
||||
msgstr "Privat"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
|
@ -677,7 +689,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -699,7 +712,7 @@ msgstr "Lagre"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1069,9 +1082,13 @@ msgstr ""
|
|||
msgid "File type:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1104,21 +1121,32 @@ msgid "Domain"
|
|||
msgstr "Domene"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Status"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Handlinger"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
|
@ -1131,7 +1159,7 @@ msgstr ""
|
|||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1970,16 +1998,6 @@ msgstr "Anmeldelse"
|
|||
msgid "Book"
|
||||
msgstr "Bok"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Status"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Forhåndsvisning av import er ikke tilgjengelig."
|
||||
|
@ -2028,8 +2046,8 @@ msgid "Reject"
|
|||
msgstr "Avslå"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Du kan laste ned Goodread-dataene fra <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export sida</a> på Goodread-kontoen din."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -4295,29 +4313,29 @@ msgstr "Fjern fra %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Fullfør lesing"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Varsel om følsomt innhold"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Vis status"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(side %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Åpne bilde i nytt vindu"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Skjul status"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-18 14:10\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Portuguese, Brazilian\n"
|
||||
"Language: pt\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Erro ao carregar livro"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Não foi possível encontrar o livro"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Capa mole"
|
|||
msgid "Federated"
|
||||
msgstr "Federado"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,7 +191,19 @@ msgstr "Seguidores"
|
|||
msgid "Private"
|
||||
msgstr "Particular"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr "Gratuito"
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr "Comprável"
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr "Disponível para empréstimo"
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr "Aprovado"
|
||||
|
@ -676,7 +688,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -698,7 +711,7 @@ msgstr "Salvar"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1068,9 +1081,13 @@ msgstr "URL:"
|
|||
msgid "File type:"
|
||||
msgstr "Tipo do arquivo:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr "Disponibilidade:"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr "Editar links"
|
||||
|
||||
|
@ -1105,21 +1122,32 @@ msgid "Domain"
|
|||
msgstr "Domínio"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Publicação"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Ações"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr "Denunciar spam"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr "Nenhum link disponível para este livro."
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr "Adicionar link ao arquivo"
|
||||
|
@ -1132,7 +1160,7 @@ msgstr "Links de arquivo"
|
|||
msgid "Get a copy"
|
||||
msgstr "Obter uma cópia"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr "Nenhum link disponível"
|
||||
|
||||
|
@ -1971,16 +1999,6 @@ msgstr "Resenhar"
|
|||
msgid "Book"
|
||||
msgstr "Livro"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Publicação"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Pré-visualização de importação indisponível."
|
||||
|
@ -2029,8 +2047,8 @@ msgid "Reject"
|
|||
msgstr "Rejeitar"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Você pode baixar seus dados do Goodreads na <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">página de Importar/Exportar</a> da sua conta."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Você pode baixar seus dados do Goodreads na <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">página de Importar/Exportar</a> da sua conta."
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -4296,29 +4314,29 @@ msgstr "Remover de %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Terminar de ler"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Aviso de conteúdo"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Mostrar publicação"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Página %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Abrir imagem em nova janela"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Esconder publicação"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 19:57\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Portuguese\n"
|
||||
"Language: pt\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "Erro ao carregar o livro"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "Não foi possível encontrar um resultado para o livro pedido"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "Capa mole"
|
|||
msgid "Federated"
|
||||
msgstr "Federado"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,7 +191,19 @@ msgstr "Seguidores"
|
|||
msgid "Private"
|
||||
msgstr "Privado"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
|
@ -675,7 +687,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -697,7 +710,7 @@ msgstr "Salvar"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1067,9 +1080,13 @@ msgstr ""
|
|||
msgid "File type:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1102,21 +1119,32 @@ msgid "Domain"
|
|||
msgstr "Domínio"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Estado"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "Acções"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
|
@ -1129,7 +1157,7 @@ msgstr ""
|
|||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1968,16 +1996,6 @@ msgstr "Critica"
|
|||
msgid "Book"
|
||||
msgstr "Livro"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "Estado"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "Importação de pré-visualização indisponível."
|
||||
|
@ -2026,8 +2044,8 @@ msgid "Reject"
|
|||
msgstr "Rejeitar"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "Podes fazer download dos teus dados do Goodreads na <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Importar/Exportar página</a> da tua conta do Goodreads."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -4293,29 +4311,29 @@ msgstr "Remover de %(name)s"
|
|||
msgid "Finish reading"
|
||||
msgstr "Terminar leitura"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "Aviso de Conteúdo"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "Mostrar o estado"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(Página %(page)s)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "Abrir imagem numa nova janela"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "Ocultar estado"
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 19:57\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Chinese Simplified\n"
|
||||
"Language: zh\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr "加载书籍时出错"
|
|||
msgid "Could not find a match for book"
|
||||
msgstr "找不到匹配的书"
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr "平装"
|
|||
msgid "Federated"
|
||||
msgstr "跨站"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,7 +191,19 @@ msgstr "关注者"
|
|||
msgid "Private"
|
||||
msgstr "私密"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
|
@ -671,7 +683,8 @@ msgstr "ISNI:"
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -693,7 +706,7 @@ msgstr "保存"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1062,9 +1075,13 @@ msgstr ""
|
|||
msgid "File type:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1097,21 +1114,32 @@ msgid "Domain"
|
|||
msgstr "域名"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "状态"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "动作"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
|
@ -1124,7 +1152,7 @@ msgstr ""
|
|||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1957,16 +1985,6 @@ msgstr "书评"
|
|||
msgid "Book"
|
||||
msgstr "书目"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "状态"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr "导入预览不可用。"
|
||||
|
@ -2015,8 +2033,8 @@ msgid "Reject"
|
|||
msgstr "驳回"
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr "您可以从 <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">导入/导出页面</a> 下载或导出您的 Goodread 数据。"
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
msgid "Failed items"
|
||||
|
@ -4271,29 +4289,29 @@ msgstr "从 %(name)s 移除"
|
|||
msgid "Finish reading"
|
||||
msgstr "完成阅读"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr "内容警告"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr "显示状态"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr "(第 %(page)s 页)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr "(%(percent)s%%)"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "在新窗口中打开图像"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr "隐藏状态"
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: bookwyrm\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-17 16:05+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 17:10\n"
|
||||
"POT-Creation-Date: 2022-01-17 19:26+0000\n"
|
||||
"PO-Revision-Date: 2022-01-17 19:57\n"
|
||||
"Last-Translator: Mouse Reeve <mousereeve@riseup.net>\n"
|
||||
"Language-Team: Chinese Traditional\n"
|
||||
"Language: zh\n"
|
||||
|
@ -84,7 +84,7 @@ msgstr ""
|
|||
msgid "Could not find a match for book"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:62
|
||||
#: bookwyrm/models/base_model.py:17 bookwyrm/models/link.py:72
|
||||
#: bookwyrm/templates/import/import_status.html:200
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:19
|
||||
msgid "Pending"
|
||||
|
@ -132,7 +132,7 @@ msgstr ""
|
|||
msgid "Federated"
|
||||
msgstr "跨站"
|
||||
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:61
|
||||
#: bookwyrm/models/federated_server.py:12 bookwyrm/models/link.py:71
|
||||
#: bookwyrm/templates/settings/federation/edit_instance.html:44
|
||||
#: bookwyrm/templates/settings/federation/instance.html:10
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:23
|
||||
|
@ -191,7 +191,19 @@ msgstr "關注者"
|
|||
msgid "Private"
|
||||
msgstr "私密"
|
||||
|
||||
#: bookwyrm/models/link.py:60
|
||||
#: bookwyrm/models/link.py:51
|
||||
msgid "Free"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:52
|
||||
msgid "Purchasable"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:53
|
||||
msgid "Available for loan"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/models/link.py:70
|
||||
#: bookwyrm/templates/settings/link_domains/link_domains.html:23
|
||||
msgid "Approved"
|
||||
msgstr ""
|
||||
|
@ -671,7 +683,8 @@ msgstr ""
|
|||
#: bookwyrm/templates/author/edit_author.html:115
|
||||
#: bookwyrm/templates/book/book.html:193
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:121
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:50
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:58
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:82
|
||||
#: bookwyrm/templates/groups/form.html:30
|
||||
#: bookwyrm/templates/lists/bookmark_button.html:15
|
||||
#: bookwyrm/templates/lists/form.html:130
|
||||
|
@ -693,7 +706,7 @@ msgstr "儲存"
|
|||
#: bookwyrm/templates/book/cover_add_modal.html:32
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:123
|
||||
#: bookwyrm/templates/book/edit/edit_book.html:126
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:52
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:60
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:21
|
||||
#: bookwyrm/templates/book/sync_modal.html:23
|
||||
#: bookwyrm/templates/groups/delete_group_modal.html:17
|
||||
|
@ -1062,9 +1075,13 @@ msgstr ""
|
|||
msgid "File type:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/add_link_modal.html:48
|
||||
msgid "Availability:"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:5
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:22
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
#: bookwyrm/templates/book/file_links/links.html:53
|
||||
msgid "Edit links"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1097,21 +1114,32 @@ msgid "Domain"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:36
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "狀態"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:37
|
||||
#: bookwyrm/templates/settings/federation/instance.html:94
|
||||
#: bookwyrm/templates/settings/reports/report_links_table.html:6
|
||||
msgid "Actions"
|
||||
msgstr "動作"
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:52
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:53
|
||||
#: bookwyrm/templates/book/file_links/verification_modal.html:25
|
||||
msgid "Report spam"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:65
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:97
|
||||
msgid "No links available for this book."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:76
|
||||
#: bookwyrm/templates/book/file_links/edit_links.html:108
|
||||
#: bookwyrm/templates/book/file_links/links.html:18
|
||||
msgid "Add link to file"
|
||||
msgstr ""
|
||||
|
@ -1124,7 +1152,7 @@ msgstr ""
|
|||
msgid "Get a copy"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/book/file_links/links.html:41
|
||||
#: bookwyrm/templates/book/file_links/links.html:47
|
||||
msgid "No links available"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1957,16 +1985,6 @@ msgstr "書評"
|
|||
msgid "Book"
|
||||
msgstr "書目"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:127
|
||||
#: bookwyrm/templates/settings/announcements/announcements.html:38
|
||||
#: bookwyrm/templates/settings/federation/instance_list.html:46
|
||||
#: bookwyrm/templates/settings/invites/manage_invite_requests.html:44
|
||||
#: bookwyrm/templates/settings/invites/status_filter.html:5
|
||||
#: bookwyrm/templates/settings/users/user_admin.html:34
|
||||
#: bookwyrm/templates/settings/users/user_info.html:20
|
||||
msgid "Status"
|
||||
msgstr "狀態"
|
||||
|
||||
#: bookwyrm/templates/import/import_status.html:135
|
||||
msgid "Import preview unavailable."
|
||||
msgstr ""
|
||||
|
@ -2015,7 +2033,7 @@ msgid "Reject"
|
|||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/import/tooltip.html:6
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener\">Import/Export page</a> of your Goodreads account."
|
||||
msgid "You can download your Goodreads data from the <a href=\"https://www.goodreads.com/review/import\" target=\"_blank\" rel=\"noopener noreferrer\">Import/Export page</a> of your Goodreads account."
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/import/troubleshoot.html:7
|
||||
|
@ -4271,29 +4289,29 @@ msgstr "從 %(name)s 移除"
|
|||
msgid "Finish reading"
|
||||
msgstr "完成閱讀"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:75
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:72
|
||||
msgid "Content warning"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:82
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:79
|
||||
msgid "Show status"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:104
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:101
|
||||
#, python-format
|
||||
msgid "(Page %(page)s)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:106
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:103
|
||||
#, python-format
|
||||
msgid "(%(percent)s%%)"
|
||||
msgstr ""
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:128
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:125
|
||||
msgid "Open image in new window"
|
||||
msgstr "在新視窗中開啟圖片"
|
||||
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:147
|
||||
#: bookwyrm/templates/snippets/status/content_status.html:144
|
||||
msgid "Hide status"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue