diff --git a/bookwyrm/templates/annual_summary/layout.html b/bookwyrm/templates/annual_summary/layout.html index ac418d70e..ebcf72435 100644 --- a/bookwyrm/templates/annual_summary/layout.html +++ b/bookwyrm/templates/annual_summary/layout.html @@ -1,6 +1,7 @@ {% extends 'layout.html' %} {% load i18n %} {% load static %} +{% load humanize %} {% block title %}{% blocktrans %}{{ year }} in the books{% endblocktrans %}{% endblock %} @@ -111,7 +112,7 @@

{% trans "That’s great!" %}

- {% blocktrans %}That makes an average of {{ pages_average }} pages per book.{% endblocktrans %} + {% blocktrans with pages=pages_average|intcomma %}That makes an average of {{ pages }} pages per book.{% endblocktrans %}

{% if no_page_number %} diff --git a/bookwyrm/views/annual_summary.py b/bookwyrm/views/annual_summary.py index f9d938756..15de28123 100644 --- a/bookwyrm/views/annual_summary.py +++ b/bookwyrm/views/annual_summary.py @@ -5,7 +5,7 @@ from uuid import uuid4 from django.contrib.auth.decorators import login_required from django.db.models import Case, When, Avg, Sum from django.http import Http404 -from django.shortcuts import get_object_or_404, redirect +from django.shortcuts import redirect from django.template.response import TemplateResponse from django.views import View from django.views.decorators.http import require_POST @@ -41,7 +41,14 @@ class AnnualSummary(View): ) # get data - read_book_ids_in_year = get_read_book_ids_in_year(user, year) + read_book_ids_in_year = ( + user.readthrough_set.filter( + finish_date__year__gte=year, + finish_date__year__lt=int(year) + 1, + ) + .order_by("-finish_date") + .values_list("book__id", flat=True) + ) if len(read_book_ids_in_year) == 0: data = { @@ -222,45 +229,6 @@ def get_earliest_year(user, year): return year -def get_read_book_ids_in_year(user, year): - """return an ordered QuerySet of the read book ids""" - - read_shelf = get_object_or_404(user.shelf_set, identifier="read") - shelved_book_ids = ( - models.ShelfBook.objects.filter(shelf=read_shelf) - .filter(user=user) - .values_list("book", "shelved_date") - ) - - book_dates = [] - - for book in shelved_book_ids: - finished_in_year = ( - models.ReadThrough.objects.filter(user__id=user.id) - .filter(book_id=book[0]) - .filter(finish_date__year=year) - .values("finish_date") - .first() - ) - - if finished_in_year: - # Finished a readthrough in the year - book_dates.append((book[0], finished_in_year["finish_date"])) - else: - has_other_year_readthrough = ( - models.ReadThrough.objects.filter(user__id=user.id) - .filter(book_id=book[0]) - .exists() - ) - if not has_other_year_readthrough and book[1].year == int(year): - # No readthrough but shelved this year - book_dates.append(book) - - book_dates = sorted(book_dates, key=lambda tup: tup[1]) - - return [book[0] for book in book_dates] - - def get_books_from_shelfbooks(books_ids): """return an ordered QuerySet of books from a list""" diff --git a/locale/de_DE/LC_MESSAGES/django.mo b/locale/de_DE/LC_MESSAGES/django.mo index 16789e1f0..54f5a3aaf 100644 Binary files a/locale/de_DE/LC_MESSAGES/django.mo and b/locale/de_DE/LC_MESSAGES/django.mo differ diff --git a/locale/de_DE/LC_MESSAGES/django.po b/locale/de_DE/LC_MESSAGES/django.po index bfd061973..ef1ff400e 100644 --- a/locale/de_DE/LC_MESSAGES/django.po +++ b/locale/de_DE/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-16 14:48\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: German\n" "Language: de\n" @@ -72,16 +72,16 @@ msgstr "Aufsteigend" msgid "Descending" msgstr "Absteigend" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "Fehler beim Laden des Buches" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "Keine Übereinstimmung für das Buch gefunden" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "Ausstehend" @@ -1505,28 +1505,28 @@ msgstr "Bücher importieren" msgid "Data source:" msgstr "Datenquelle:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "Datei:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "Besprechungen einschließen" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "Datenschutzeinstellung für importierte Besprechungen:" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "Importieren" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "Zuletzt importiert" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "Keine aktuellen Importe" @@ -1594,27 +1594,31 @@ msgstr "Titel" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "Autor*in" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "Regal" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "Besprechen" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "Buch" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1624,31 +1628,31 @@ msgstr "Buch" msgid "Status" msgstr "Status" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "" -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "Importiert" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "Erneut versuchen" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "" -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "" @@ -4145,7 +4149,7 @@ msgstr "Datei überschreitet die maximale Größe von 10MB" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s: %(subtitle)s" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "Keine gültige CSV-Datei" diff --git a/locale/en_US/LC_MESSAGES/django.po b/locale/en_US/LC_MESSAGES/django.po index 6ebbeb7f4..14596fa39 100644 --- a/locale/en_US/LC_MESSAGES/django.po +++ b/locale/en_US/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"POT-Creation-Date: 2021-12-27 22:24+0000\n" "PO-Revision-Date: 2021-02-28 17:19-0800\n" "Last-Translator: Mouse Reeve \n" "Language-Team: English \n" @@ -145,7 +145,7 @@ msgstr "" msgid "%(value)s is not a valid username" msgstr "" -#: bookwyrm/models/fields.py:183 bookwyrm/templates/layout.html:171 +#: bookwyrm/models/fields.py:183 bookwyrm/templates/layout.html:173 #: bookwyrm/templates/ostatus/error.html:29 msgid "username" msgstr "" @@ -244,6 +244,132 @@ msgstr "" msgid "Something went wrong! Sorry about that." msgstr "" +#: bookwyrm/templates/annual_summary/layout.html:6 +#: bookwyrm/templates/feed/summary_card.html:8 +#, python-format +msgid "%(year)s in the books" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:42 +#, python-format +msgid "%(year)s in the books" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:46 +#, python-format +msgid "%(display_name)s’s year of reading" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:52 +msgid "Share this page" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:60 +msgid "Copy address" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:60 +#: bookwyrm/templates/lists/list.html:194 +msgid "Copied!" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:68 +msgid "Sharing status: public with key" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:69 +msgid "The page can be seen by anyone with the complete address." +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:74 +msgid "Make page private" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:80 +msgid "Sharing status: private" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:81 +msgid "The page is private, only you can see it." +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:86 +msgid "Make page public" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:90 +msgid "When you make your page private, the old key won’t give access to the page anymore. A new key will be created if the page is once again made public." +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:103 +#, python-format +msgid "Sadly %(display_name)s didn’t finish any book in %(year)s" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:109 +#, python-format +msgid "In %(year)s, %(display_name)s read %(books_total)s books
for a total of %(pages_total)s pages!" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:111 +msgid "That’s great!" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:114 +#, python-format +msgid "That makes an average of %(pages_average)s pages per book." +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:119 +#, python-format +msgid "(%(no_page_number)s book doesn’t have pages)" +msgid_plural "(%(no_page_number)s books don’t have pages)" +msgstr[0] "" +msgstr[1] "" + +#: bookwyrm/templates/annual_summary/layout.html:135 +msgid "Their shortest read this year…" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:142 +#: bookwyrm/templates/annual_summary/layout.html:163 +#: bookwyrm/templates/annual_summary/layout.html:203 +#: bookwyrm/templates/book/book.html:47 +#: bookwyrm/templates/discover/large-book.html:22 +#: bookwyrm/templates/landing/large-book.html:25 +#: bookwyrm/templates/landing/small-book.html:18 +msgid "by" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:148 +#: bookwyrm/templates/annual_summary/layout.html:169 +#, python-format +msgid "%(pages)s pages" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:156 +msgid "…and the longest" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:186 +#, python-format +msgid "%(display_name)s left %(ratings_total)s ratings,
their average rating is %(rating_average)s" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:196 +msgid "Their best rated review" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:209 +#, python-format +msgid "Their rating: %(rating)s" +msgstr "" + +#: bookwyrm/templates/annual_summary/layout.html:226 +#, python-format +msgid "All the books %(display_name)s read in 2021" +msgstr "" + #: bookwyrm/templates/author/author.html:18 #: bookwyrm/templates/author/author.html:19 msgid "Edit Author" @@ -432,13 +558,6 @@ msgstr "" msgid "Confirm" msgstr "" -#: bookwyrm/templates/book/book.html:47 -#: bookwyrm/templates/discover/large-book.html:22 -#: bookwyrm/templates/landing/large-book.html:25 -#: bookwyrm/templates/landing/small-book.html:18 -msgid "by" -msgstr "" - #: bookwyrm/templates/book/book.html:55 bookwyrm/templates/book/book.html:56 msgid "Edit Book" msgstr "" @@ -519,7 +638,7 @@ msgstr "" msgid "Places" msgstr "" -#: bookwyrm/templates/book/book.html:320 bookwyrm/templates/layout.html:75 +#: bookwyrm/templates/book/book.html:320 bookwyrm/templates/layout.html:77 #: bookwyrm/templates/lists/lists.html:5 bookwyrm/templates/lists/lists.html:12 #: bookwyrm/templates/search/layout.html:25 #: bookwyrm/templates/search/layout.html:50 @@ -894,7 +1013,7 @@ msgstr "" #: bookwyrm/templates/directory/directory.html:4 #: bookwyrm/templates/directory/directory.html:9 -#: bookwyrm/templates/layout.html:101 +#: bookwyrm/templates/layout.html:103 msgid "Directory" msgstr "" @@ -1012,7 +1131,7 @@ msgstr "" #: bookwyrm/templates/discover/discover.html:4 #: bookwyrm/templates/discover/discover.html:10 -#: bookwyrm/templates/layout.html:78 +#: bookwyrm/templates/layout.html:80 msgid "Discover" msgstr "" @@ -1129,18 +1248,18 @@ msgstr "" msgid "Reset your %(site_name)s password" msgstr "" -#: bookwyrm/templates/embed-layout.html:21 bookwyrm/templates/layout.html:37 +#: bookwyrm/templates/embed-layout.html:21 bookwyrm/templates/layout.html:39 #, python-format msgid "%(site_name)s home page" msgstr "" #: bookwyrm/templates/embed-layout.html:34 -#: bookwyrm/templates/landing/about.html:7 bookwyrm/templates/layout.html:230 +#: bookwyrm/templates/landing/about.html:7 bookwyrm/templates/layout.html:232 #, python-format msgid "About %(site_name)s" msgstr "" -#: bookwyrm/templates/embed-layout.html:40 bookwyrm/templates/layout.html:234 +#: bookwyrm/templates/embed-layout.html:40 bookwyrm/templates/layout.html:236 msgid "Contact site admin" msgstr "" @@ -1154,7 +1273,7 @@ msgid "Direct Messages with %(username)s" msgstr "" #: bookwyrm/templates/feed/direct_messages.html:10 -#: bookwyrm/templates/layout.html:111 +#: bookwyrm/templates/layout.html:113 msgid "Direct Messages" msgstr "" @@ -1183,11 +1302,11 @@ msgstr "" msgid "load 0 unread status(es)" msgstr "" -#: bookwyrm/templates/feed/feed.html:80 +#: bookwyrm/templates/feed/feed.html:86 msgid "There aren't any activities right now! Try following a user to get started" msgstr "" -#: bookwyrm/templates/feed/feed.html:81 +#: bookwyrm/templates/feed/feed.html:87 msgid "Alternatively, you can try enabling more status types" msgstr "" @@ -1207,7 +1326,7 @@ msgstr "" msgid "Updates" msgstr "" -#: bookwyrm/templates/feed/layout.html:12 bookwyrm/templates/layout.html:106 +#: bookwyrm/templates/feed/layout.html:12 bookwyrm/templates/layout.html:108 msgid "Your Books" msgstr "" @@ -1261,6 +1380,15 @@ msgstr "" msgid "View directory" msgstr "" +#: bookwyrm/templates/feed/summary_card.html:14 +msgid "The end of the year is the best moment to take stock of all the books read during the last 12 months. How many pages have you read? Which book is your best-rated of the year? We compiled these stats, and more!" +msgstr "" + +#: bookwyrm/templates/feed/summary_card.html:19 +#, python-format +msgid "Discover your stats for %(year)s!" +msgstr "" + #: bookwyrm/templates/get_started/book_preview.html:6 #, python-format msgid "Have you read %(book_title)s?" @@ -1275,7 +1403,7 @@ msgid "What are you reading?" msgstr "" #: bookwyrm/templates/get_started/books.html:9 -#: bookwyrm/templates/layout.html:45 bookwyrm/templates/lists/list.html:138 +#: bookwyrm/templates/layout.html:47 bookwyrm/templates/lists/list.html:138 msgid "Search for a book" msgstr "" @@ -1294,8 +1422,8 @@ msgstr "" #: bookwyrm/templates/get_started/users.html:18 #: bookwyrm/templates/get_started/users.html:19 #: bookwyrm/templates/groups/group.html:19 -#: bookwyrm/templates/groups/group.html:20 bookwyrm/templates/layout.html:51 -#: bookwyrm/templates/layout.html:52 bookwyrm/templates/lists/list.html:142 +#: bookwyrm/templates/groups/group.html:20 bookwyrm/templates/layout.html:53 +#: bookwyrm/templates/layout.html:54 bookwyrm/templates/lists/list.html:142 #: bookwyrm/templates/search/layout.html:4 #: bookwyrm/templates/search/layout.html:9 msgid "Search" @@ -1774,7 +1902,7 @@ msgid "Login" msgstr "" #: bookwyrm/templates/landing/login.html:7 -#: bookwyrm/templates/landing/login.html:36 bookwyrm/templates/layout.html:179 +#: bookwyrm/templates/landing/login.html:36 bookwyrm/templates/layout.html:181 #: bookwyrm/templates/ostatus/error.html:37 msgid "Log in" msgstr "" @@ -1783,7 +1911,7 @@ msgstr "" msgid "Success! Email address confirmed." msgstr "" -#: bookwyrm/templates/landing/login.html:21 bookwyrm/templates/layout.html:170 +#: bookwyrm/templates/landing/login.html:21 bookwyrm/templates/layout.html:172 #: bookwyrm/templates/ostatus/error.html:28 #: bookwyrm/templates/snippets/register_form.html:4 msgid "Username:" @@ -1791,12 +1919,12 @@ msgstr "" #: bookwyrm/templates/landing/login.html:27 #: bookwyrm/templates/landing/password_reset.html:26 -#: bookwyrm/templates/layout.html:174 bookwyrm/templates/ostatus/error.html:32 +#: bookwyrm/templates/layout.html:176 bookwyrm/templates/ostatus/error.html:32 #: bookwyrm/templates/snippets/register_form.html:20 msgid "Password:" msgstr "" -#: bookwyrm/templates/landing/login.html:39 bookwyrm/templates/layout.html:176 +#: bookwyrm/templates/landing/login.html:39 bookwyrm/templates/layout.html:178 #: bookwyrm/templates/ostatus/error.html:34 msgid "Forgot your password?" msgstr "" @@ -1824,23 +1952,23 @@ msgstr "" msgid "%(site_name)s search" msgstr "" -#: bookwyrm/templates/layout.html:43 +#: bookwyrm/templates/layout.html:45 msgid "Search for a book, user, or list" msgstr "" -#: bookwyrm/templates/layout.html:61 bookwyrm/templates/layout.html:62 +#: bookwyrm/templates/layout.html:63 bookwyrm/templates/layout.html:64 msgid "Main navigation menu" msgstr "" -#: bookwyrm/templates/layout.html:72 +#: bookwyrm/templates/layout.html:74 msgid "Feed" msgstr "" -#: bookwyrm/templates/layout.html:116 +#: bookwyrm/templates/layout.html:118 msgid "Settings" msgstr "" -#: bookwyrm/templates/layout.html:125 +#: bookwyrm/templates/layout.html:127 #: bookwyrm/templates/settings/invites/manage_invite_requests.html:15 #: bookwyrm/templates/settings/invites/manage_invites.html:3 #: bookwyrm/templates/settings/invites/manage_invites.html:15 @@ -1848,46 +1976,46 @@ msgstr "" msgid "Invites" msgstr "" -#: bookwyrm/templates/layout.html:132 +#: bookwyrm/templates/layout.html:134 msgid "Admin" msgstr "" -#: bookwyrm/templates/layout.html:139 +#: bookwyrm/templates/layout.html:141 msgid "Log out" msgstr "" -#: bookwyrm/templates/layout.html:147 bookwyrm/templates/layout.html:148 +#: bookwyrm/templates/layout.html:149 bookwyrm/templates/layout.html:150 #: bookwyrm/templates/notifications/notifications_page.html:5 #: bookwyrm/templates/notifications/notifications_page.html:10 msgid "Notifications" msgstr "" -#: bookwyrm/templates/layout.html:175 bookwyrm/templates/ostatus/error.html:33 +#: bookwyrm/templates/layout.html:177 bookwyrm/templates/ostatus/error.html:33 msgid "password" msgstr "" -#: bookwyrm/templates/layout.html:187 +#: bookwyrm/templates/layout.html:189 msgid "Join" msgstr "" -#: bookwyrm/templates/layout.html:221 +#: bookwyrm/templates/layout.html:223 msgid "Successfully posted status" msgstr "" -#: bookwyrm/templates/layout.html:222 +#: bookwyrm/templates/layout.html:224 msgid "Error posting status" msgstr "" -#: bookwyrm/templates/layout.html:238 +#: bookwyrm/templates/layout.html:240 msgid "Documentation" msgstr "" -#: bookwyrm/templates/layout.html:245 +#: bookwyrm/templates/layout.html:247 #, python-format msgid "Support %(site_name)s on %(support_title)s" msgstr "" -#: bookwyrm/templates/layout.html:249 +#: bookwyrm/templates/layout.html:251 msgid "BookWyrm's source code is freely available. You can contribute or report issues on GitHub." msgstr "" @@ -2080,15 +2208,11 @@ msgstr "" msgid "Embed this list on a website" msgstr "" -#: bookwyrm/templates/lists/list.html:193 +#: bookwyrm/templates/lists/list.html:194 msgid "Copy embed code" msgstr "" -#: bookwyrm/templates/lists/list.html:193 -msgid "Copied!" -msgstr "" - -#: bookwyrm/templates/lists/list.html:193 +#: bookwyrm/templates/lists/list.html:194 #, python-format msgid "%(list_name)s, a list by %(owner)s on %(site_name)s" msgstr "" diff --git a/locale/es_ES/LC_MESSAGES/django.mo b/locale/es_ES/LC_MESSAGES/django.mo index fb346ca0b..b928b798c 100644 Binary files a/locale/es_ES/LC_MESSAGES/django.mo and b/locale/es_ES/LC_MESSAGES/django.mo differ diff --git a/locale/es_ES/LC_MESSAGES/django.po b/locale/es_ES/LC_MESSAGES/django.po index c9f60634c..adb9c0501 100644 --- a/locale/es_ES/LC_MESSAGES/django.po +++ b/locale/es_ES/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-09 18:56\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: Spanish\n" "Language: es\n" @@ -72,16 +72,16 @@ msgstr "Ascendente" msgid "Descending" msgstr "Descendente" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "Error en cargar libro" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "No se pudo encontrar el libro" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "Pendiente" @@ -1505,28 +1505,28 @@ msgstr "Importar libros" msgid "Data source:" msgstr "Fuente de datos:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "Archivo de datos:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "Incluir reseñas" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "Configuración de privacidad para las reseñas importadas:" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "Importar" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "Importaciones recientes" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "No hay ninguna importación reciente" @@ -1594,27 +1594,31 @@ msgstr "Título" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "Clave de OpenLibrary" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "Autor/Autora" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "Estantería" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "Reseña" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "Libro" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1624,31 +1628,31 @@ msgstr "Libro" msgid "Status" msgstr "Estado" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "Previsualización de la importación no disponible." -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "Ver reseña importada" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "Importado" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "Necesita revisión manual" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "Reintentar" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "Esta importación está en un formato antiguo que ya no es compatible. Si desea solucionar los elementos que faltan en esta importación, haga clic en el botón de abajo para actualizar el formato de importación." -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "Actualizar importación" @@ -4145,7 +4149,7 @@ msgstr "Archivo excede el tamaño máximo: 10MB" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s: %(subtitle)s" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "No un archivo csv válido" diff --git a/locale/fr_FR/LC_MESSAGES/django.mo b/locale/fr_FR/LC_MESSAGES/django.mo index ad27eec03..bc4eed45a 100644 Binary files a/locale/fr_FR/LC_MESSAGES/django.mo and b/locale/fr_FR/LC_MESSAGES/django.mo differ diff --git a/locale/fr_FR/LC_MESSAGES/django.po b/locale/fr_FR/LC_MESSAGES/django.po index e895d5c7b..fc2188e14 100644 --- a/locale/fr_FR/LC_MESSAGES/django.po +++ b/locale/fr_FR/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-26 09:59\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: French\n" "Language: fr\n" @@ -72,16 +72,16 @@ msgstr "Ordre croissant" msgid "Descending" msgstr "Ordre décroissant" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "Erreur lors du chargement du livre" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "Impossible de trouver une correspondance pour le livre" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "En attente" @@ -1505,28 +1505,28 @@ msgstr "Importer des livres" msgid "Data source:" msgstr "Source de données :" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "Fichier de données :" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "Importer les critiques" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "Confidentialité des critiques importées :" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "Importer" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "Importations récentes" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "Aucune importation récente" @@ -1594,27 +1594,31 @@ msgstr "Titre" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "Auteur/autrice" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "Étagère" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "Critique" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "Livre" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1624,31 +1628,31 @@ msgstr "Livre" msgid "Status" msgstr "Statut" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "Aperçu de l'importation indisponible." -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "Afficher la critique importée" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "Importé" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "Nécessite une vérification manuelle" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "Réessayer" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "Cette importation est dans un ancien format qui n'est plus pris en charge. Si vous souhaitez corriger les éléments manquants de cette importation, cliquez sur le bouton ci-dessous pour mettre à jour le format d'importation." -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "Mettre à jour l'importation" @@ -4145,7 +4149,7 @@ msgstr "Ce fichier dépasse la taille limite : 10 Mo" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s (%(subtitle)s)" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "Fichier CSV non valide" diff --git a/locale/gl_ES/LC_MESSAGES/django.mo b/locale/gl_ES/LC_MESSAGES/django.mo index edb8f24af..ca3c47fa1 100644 Binary files a/locale/gl_ES/LC_MESSAGES/django.mo and b/locale/gl_ES/LC_MESSAGES/django.mo differ diff --git a/locale/gl_ES/LC_MESSAGES/django.po b/locale/gl_ES/LC_MESSAGES/django.po index 13a766ff9..58cf82cd5 100644 --- a/locale/gl_ES/LC_MESSAGES/django.po +++ b/locale/gl_ES/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-10 05:04\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: Galician\n" "Language: gl\n" @@ -72,16 +72,16 @@ msgstr "Ascendente" msgid "Descending" msgstr "Descendente" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "Erro ao cargar o libro" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "Non se atopan coincidencias para o libro" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "Pendente" @@ -1505,28 +1505,28 @@ msgstr "Importar libros" msgid "Data source:" msgstr "Fonte de datos:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "Ficheiro de datos:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "Incluír recensións" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "Axuste de privacidade para recensións importadas:" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "Importar" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "Importacións recentes" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "Sen importacións recentes" @@ -1594,27 +1594,31 @@ msgstr "Título" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "Autor" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "Estante" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "Revisar" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "Libro" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1624,31 +1628,31 @@ msgstr "Libro" msgid "Status" msgstr "Estado" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "Non dispoñible vista previa da importación." -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "Ver revisión importada" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "Importado" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "Precisa revisión manual" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "Volver a intentar" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "Esta importación ten un formato antigo xa non soportado. Se queres intentar recuperar os elementos que faltan nesta importación preme no botón inferior para actualizar o formato de importación." -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "Actualizar importación" @@ -4145,7 +4149,7 @@ msgstr "O ficheiro supera o tamaño máximo: 10MB" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s: %(subtitle)s" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "Non é un ficheiro csv válido" diff --git a/locale/lt_LT/LC_MESSAGES/django.mo b/locale/lt_LT/LC_MESSAGES/django.mo index f97f2900a..a56881030 100644 Binary files a/locale/lt_LT/LC_MESSAGES/django.mo and b/locale/lt_LT/LC_MESSAGES/django.mo differ diff --git a/locale/lt_LT/LC_MESSAGES/django.po b/locale/lt_LT/LC_MESSAGES/django.po index eb96f47f7..5aa72f966 100644 --- a/locale/lt_LT/LC_MESSAGES/django.po +++ b/locale/lt_LT/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-26 20:36\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: Lithuanian\n" "Language: lt\n" @@ -72,16 +72,16 @@ msgstr "Didėjančia tvarka" msgid "Descending" msgstr "Mažėjančia tvarka" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "Klaida įkeliant knygą" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "Nepavyko rasti tokios knygos" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "Laukiama" @@ -1515,28 +1515,28 @@ msgstr "Importuoti knygas" msgid "Data source:" msgstr "Duomenų šaltinis:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "Duomenų failas:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "Įtraukti atsiliepimus" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "Privatumo nustatymai svarbiems atsiliepimams:" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "Importuoti" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "Pastaruoju metu importuota" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "Pastaruoju metu neimportuota" @@ -1608,27 +1608,31 @@ msgstr "Pavadinimas" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "„Openlibrary“ raktas" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "Autorius" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "Lentyna" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "Apžvalga" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "Knyga" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1638,31 +1642,31 @@ msgstr "Knyga" msgid "Status" msgstr "Būsena" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "Nepavyko įkelti peržiūros." -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "Peržiūrėti įkeltą atsiliepimą" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "Importuota" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "Reikalinga peržvelgti" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "Bandyti dar kartą" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "Tai seno formato importas, kuris nebepalaikomas. Jei norite matyti importo metu praleistus elementus, spustelėkite žemiau esantį mygtuką ir atnaujinkite importavimo formatą." -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "Atnaujinti importą" @@ -4183,7 +4187,7 @@ msgstr "Failas viršijo maksimalų dydį: 10 MB" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s: %(subtitle)s" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "Netinkamas csv failas" diff --git a/locale/pt_BR/LC_MESSAGES/django.mo b/locale/pt_BR/LC_MESSAGES/django.mo index 1ab8ce8a1..4ed782a3d 100644 Binary files a/locale/pt_BR/LC_MESSAGES/django.mo and b/locale/pt_BR/LC_MESSAGES/django.mo differ diff --git a/locale/pt_BR/LC_MESSAGES/django.po b/locale/pt_BR/LC_MESSAGES/django.po index f8232107b..0679f511d 100644 --- a/locale/pt_BR/LC_MESSAGES/django.po +++ b/locale/pt_BR/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-18 17:19\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: Portuguese, Brazilian\n" "Language: pt\n" @@ -72,16 +72,16 @@ msgstr "Crescente" msgid "Descending" msgstr "Decrescente" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "Erro ao carregar livro" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "Não foi possível encontrar o livro" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "Pendente" @@ -1505,28 +1505,28 @@ msgstr "Importar livros" msgid "Data source:" msgstr "Fonte dos dados:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "Arquivo de dados:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "Incluir resenhas" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "Configurações de privacidade para resenhas importadas:" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "Importar" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "Importações recentes" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "Nenhuma importação recente" @@ -1594,27 +1594,31 @@ msgstr "Título" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "Chave Openlibrary" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "Autor/a" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "Estante" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "Resenhar" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "Livro" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1624,31 +1628,31 @@ msgstr "Livro" msgid "Status" msgstr "Publicação" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "Pré-visualização de importação indisponível." -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "Visualizar resenha importada" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "Importado" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "Precisa de resenha manual" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "Tentar novamente" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "Esta importação está em um formato antigo que não é mais compatível. Se quiser resolver alguns itens faltantes dessa importação, clique no botão abaixo para atualizar o formato da importação." -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "Atualizar importação" @@ -4145,7 +4149,7 @@ msgstr "Arquivo excede o tamanho máximo: 10MB" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s: %(subtitle)s" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "Não é um arquivo csv válido" diff --git a/locale/zh_Hans/LC_MESSAGES/django.mo b/locale/zh_Hans/LC_MESSAGES/django.mo index 8dc3158c4..5e07fbea9 100644 Binary files a/locale/zh_Hans/LC_MESSAGES/django.mo and b/locale/zh_Hans/LC_MESSAGES/django.mo differ diff --git a/locale/zh_Hans/LC_MESSAGES/django.po b/locale/zh_Hans/LC_MESSAGES/django.po index cd0ab3f47..bd8d2fd2f 100644 --- a/locale/zh_Hans/LC_MESSAGES/django.po +++ b/locale/zh_Hans/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-09 18:56\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: Chinese Simplified\n" "Language: zh\n" @@ -72,16 +72,16 @@ msgstr "升序" msgid "Descending" msgstr "降序" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "加载书籍时出错" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "找不到匹配的书" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "待处理" @@ -1500,28 +1500,28 @@ msgstr "导入书目" msgid "Data source:" msgstr "数据来源:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "数据文件:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "纳入书评" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "导入书评的隐私设定" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "导入" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "最近的导入" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "无最近的导入" @@ -1587,27 +1587,31 @@ msgstr "标题" msgid "ISBN" msgstr "ISBN" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "作者" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "书架" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "书评" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "书目" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1617,31 +1621,31 @@ msgstr "书目" msgid "Status" msgstr "状态" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "导入预览不可用。" -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "查看已导入的书评" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "已导入" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "需要手动批准" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "重试" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "此导入所用格式已不再受支持。 如果您想要在此次导入中排查缺失的项目,请点击下面的按钮来更新导入格式。" -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "更新导入" @@ -4126,7 +4130,7 @@ msgstr "文件超过了最大大小: 10MB" msgid "%(title)s: %(subtitle)s" msgstr "%(title)s:%(subtitle)s" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "不是有效的 csv 文件" diff --git a/locale/zh_Hant/LC_MESSAGES/django.mo b/locale/zh_Hant/LC_MESSAGES/django.mo index a8b4f6274..dd5a9d7c8 100644 Binary files a/locale/zh_Hant/LC_MESSAGES/django.mo and b/locale/zh_Hant/LC_MESSAGES/django.mo differ diff --git a/locale/zh_Hant/LC_MESSAGES/django.po b/locale/zh_Hant/LC_MESSAGES/django.po index b136569d1..87a42018e 100644 --- a/locale/zh_Hant/LC_MESSAGES/django.po +++ b/locale/zh_Hant/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: bookwyrm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-12-08 15:40+0000\n" -"PO-Revision-Date: 2021-12-09 18:56\n" +"POT-Creation-Date: 2021-12-27 20:43+0000\n" +"PO-Revision-Date: 2021-12-27 22:00\n" "Last-Translator: Mouse Reeve \n" "Language-Team: Chinese Traditional\n" "Language: zh\n" @@ -72,16 +72,16 @@ msgstr "升序" msgid "Descending" msgstr "降序" -#: bookwyrm/importers/importer.py:141 bookwyrm/importers/importer.py:163 +#: bookwyrm/importers/importer.py:145 bookwyrm/importers/importer.py:167 msgid "Error loading book" msgstr "" -#: bookwyrm/importers/importer.py:150 +#: bookwyrm/importers/importer.py:154 msgid "Could not find a match for book" msgstr "" #: bookwyrm/models/base_model.py:17 -#: bookwyrm/templates/import/import_status.html:190 +#: bookwyrm/templates/import/import_status.html:200 msgid "Pending" msgstr "" @@ -1500,28 +1500,28 @@ msgstr "匯入書目" msgid "Data source:" msgstr "資料來源:" -#: bookwyrm/templates/import/import.html:37 +#: bookwyrm/templates/import/import.html:40 msgid "Data file:" msgstr "資料檔案:" -#: bookwyrm/templates/import/import.html:45 +#: bookwyrm/templates/import/import.html:48 msgid "Include reviews" msgstr "納入書評" -#: bookwyrm/templates/import/import.html:50 +#: bookwyrm/templates/import/import.html:53 msgid "Privacy setting for imported reviews:" msgstr "匯入書評的隱私設定" -#: bookwyrm/templates/import/import.html:56 +#: bookwyrm/templates/import/import.html:59 #: bookwyrm/templates/settings/federation/instance_blocklist.html:64 msgid "Import" msgstr "匯入" -#: bookwyrm/templates/import/import.html:61 +#: bookwyrm/templates/import/import.html:64 msgid "Recent Imports" msgstr "最近的匯入" -#: bookwyrm/templates/import/import.html:63 +#: bookwyrm/templates/import/import.html:66 msgid "No recent imports" msgstr "無最近的匯入" @@ -1587,27 +1587,31 @@ msgstr "標題" msgid "ISBN" msgstr "" -#: bookwyrm/templates/import/import_status.html:109 +#: bookwyrm/templates/import/import_status.html:110 +msgid "Openlibrary key" +msgstr "" + +#: bookwyrm/templates/import/import_status.html:114 #: bookwyrm/templates/shelf/shelf.html:145 #: bookwyrm/templates/shelf/shelf.html:169 msgid "Author" msgstr "作者" -#: bookwyrm/templates/import/import_status.html:112 +#: bookwyrm/templates/import/import_status.html:117 msgid "Shelf" msgstr "" -#: bookwyrm/templates/import/import_status.html:115 +#: bookwyrm/templates/import/import_status.html:120 #: bookwyrm/templates/import/manual_review.html:13 #: bookwyrm/templates/snippets/create_status.html:17 msgid "Review" msgstr "書評" -#: bookwyrm/templates/import/import_status.html:119 +#: bookwyrm/templates/import/import_status.html:124 msgid "Book" msgstr "書目" -#: bookwyrm/templates/import/import_status.html:122 +#: 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 @@ -1617,31 +1621,31 @@ msgstr "書目" msgid "Status" msgstr "狀態" -#: bookwyrm/templates/import/import_status.html:130 +#: bookwyrm/templates/import/import_status.html:135 msgid "Import preview unavailable." msgstr "" -#: bookwyrm/templates/import/import_status.html:162 +#: bookwyrm/templates/import/import_status.html:172 msgid "View imported review" msgstr "" -#: bookwyrm/templates/import/import_status.html:176 +#: bookwyrm/templates/import/import_status.html:186 msgid "Imported" msgstr "已匯入" -#: bookwyrm/templates/import/import_status.html:182 +#: bookwyrm/templates/import/import_status.html:192 msgid "Needs manual review" msgstr "" -#: bookwyrm/templates/import/import_status.html:195 +#: bookwyrm/templates/import/import_status.html:205 msgid "Retry" msgstr "" -#: bookwyrm/templates/import/import_status.html:213 +#: bookwyrm/templates/import/import_status.html:223 msgid "This import is in an old format that is no longer supported. If you would like to troubleshoot missing items from this import, click the button below to update the import format." msgstr "" -#: bookwyrm/templates/import/import_status.html:215 +#: bookwyrm/templates/import/import_status.html:225 msgid "Update import" msgstr "" @@ -4126,7 +4130,7 @@ msgstr "檔案超過了最大大小: 10MB" msgid "%(title)s: %(subtitle)s" msgstr "" -#: bookwyrm/views/imports/import_data.py:64 +#: bookwyrm/views/imports/import_data.py:67 msgid "Not a valid csv file" msgstr "不是有效的 csv 檔案"