diff --git a/bookwyrm/templates/discover/landing_layout.html b/bookwyrm/templates/discover/landing_layout.html index 3aa27e393..5cfa1fd39 100644 --- a/bookwyrm/templates/discover/landing_layout.html +++ b/bookwyrm/templates/discover/landing_layout.html @@ -54,11 +54,11 @@

{% trans "Your Account" %}

{% include 'user/user_preview.html' with user=request.user %} + {% if request.user.summary %}
- {% if request.user.summary %} {{ request.user.summary | to_markdown | safe }} - {% endif %}
+ {% endif %}
{% endif %} diff --git a/bookwyrm/templates/discover/large-book.html b/bookwyrm/templates/discover/large-book.html index 7881a33ab..44b91b946 100644 --- a/bookwyrm/templates/discover/large-book.html +++ b/bookwyrm/templates/discover/large-book.html @@ -1,4 +1,5 @@ {% load bookwyrm_tags %} +{% load i18n %} {% if book %}
@@ -8,7 +9,7 @@

{{ book.title }}

{% if book.authors %} -

by {% include 'snippets/authors.html' with book=book %}

+

{% trans "by" %} {% include 'snippets/authors.html' with book=book %}

{% endif %} {% if book|book_description %}
{{ book|book_description|to_markdown|safe|truncatewords_html:50 }}
diff --git a/bookwyrm/templates/discover/small-book.html b/bookwyrm/templates/discover/small-book.html index 72108c309..6df277466 100644 --- a/bookwyrm/templates/discover/small-book.html +++ b/bookwyrm/templates/discover/small-book.html @@ -1,11 +1,12 @@ {% load bookwyrm_tags %} +{% load i18n %} {% if book %} {% include 'snippets/book_cover.html' with book=book %} {% include 'snippets/stars.html' with rating=book|rating:request.user %}

{{ book.title }}

{% if book.authors %} -

by {% include 'snippets/authors.html' with book=book %}

+

{% trans "by" %} {% include 'snippets/authors.html' with book=book %}

{% endif %} {% endif %} diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 6e4458893..ee42b4f6e 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -149,12 +149,12 @@
- +
@@ -165,7 +165,7 @@ {% if site.allow_registration and request.path != '' and request.path != '/' %} {% endif %} @@ -199,7 +199,7 @@ {% if site.support_link %}
- Support {{ site.name }} on {{ site.support_title }} + {% blocktrans %}Support {{ site.name }} on {{ site.support_title }}{% endblocktrans %}
{% endif %}
diff --git a/bookwyrm/templates/snippets/username.html b/bookwyrm/templates/snippets/username.html index e18ba1f8d..b004582d5 100644 --- a/bookwyrm/templates/snippets/username.html +++ b/bookwyrm/templates/snippets/username.html @@ -4,7 +4,7 @@ <{% if anchor %}a href="{{ user.local_path }}"{% else %}span{% endif %} class="user ml-1" > - {{ user.name|default:user|username }} + {{ user.display_name }} {% if possessive %}'s{% endif %} @@ -12,4 +12,4 @@ {% if show_full and user.name or show_full and user.localname %} ({{ user.username }}) {% endif %} -{% endspaceless %} \ No newline at end of file +{% endspaceless %} diff --git a/bookwyrm/templates/user/user_layout.html b/bookwyrm/templates/user/user_layout.html index bc7fe126e..d76291608 100644 --- a/bookwyrm/templates/user/user_layout.html +++ b/bookwyrm/templates/user/user_layout.html @@ -17,11 +17,11 @@ {% include 'user/user_preview.html' with user=user %}
+ {% if user.summary %}
- {% if user.summary %} {{ user.summary | to_markdown | safe }} - {% endif %}
+ {% endif %}
{% if not is_self and request.user.is_authenticated %} {% include 'snippets/follow_button.html' with user=user %} diff --git a/locale/de_DE/LC_MESSAGES/django.mo b/locale/de_DE/LC_MESSAGES/django.mo index a12144464..b6d454f67 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 1887fcd80..7b3a42525 100644 --- a/locale/de_DE/LC_MESSAGES/django.po +++ b/locale/de_DE/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-03-04 04:13+0000\n" +"POT-Creation-Date: 2021-03-04 22:24+0000\n" "PO-Revision-Date: 2021-03-02 17:19-0800\n" "Last-Translator: Mouse Reeve \n" "Language-Team: English \n" @@ -55,7 +55,7 @@ msgstr "%(value)s ist keine gültige remote_id" msgid "%(value)s is not a valid username" msgstr "%(value)s ist kein gültiger Username" -#: bookwyrm/models/fields.py:164 +#: bookwyrm/models/fields.py:164 bookwyrm/templates/layout.html:152 #, fuzzy #| msgid "Server name" msgid "username" @@ -100,6 +100,8 @@ msgid "Books by %(name)s" msgstr "Bücher von %(name)s" #: bookwyrm/templates/book.html:21 +#: bookwyrm/templates/discover/large-book.html:12 +#: bookwyrm/templates/discover/small-book.html:9 msgid "by" msgstr "von" @@ -432,7 +434,7 @@ msgid "Direct Messages with %(username)s" msgstr "Direktnachrichten mit %(username)s" #: bookwyrm/templates/feed/direct_messages.html:10 -#: bookwyrm/templates/layout.html:79 +#: bookwyrm/templates/layout.html:87 msgid "Direct Messages" msgstr "Direktnachrichten" @@ -542,7 +544,7 @@ msgid "%(username)s's %(year)s Books" msgstr "%(username)ss %(year)s Bücher" #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 -#: bookwyrm/templates/layout.html:94 +#: bookwyrm/templates/layout.html:102 msgid "Import Books" msgstr "Bücher importieren" @@ -665,55 +667,72 @@ msgstr "Deine Regale" msgid "Feed" msgstr "" -#: bookwyrm/templates/layout.html:84 +#: bookwyrm/templates/layout.html:92 #: bookwyrm/templates/preferences/preferences_layout.html:14 msgid "Profile" msgstr "" -#: bookwyrm/templates/layout.html:89 +#: bookwyrm/templates/layout.html:97 msgid "Settings" msgstr "Einstellungen" -#: bookwyrm/templates/layout.html:103 +#: bookwyrm/templates/layout.html:111 #: bookwyrm/templates/settings/admin_layout.html:19 #: bookwyrm/templates/settings/manage_invites.html:3 msgid "Invites" msgstr "Einladungen" -#: bookwyrm/templates/layout.html:110 +#: bookwyrm/templates/layout.html:118 msgid "Site Configuration" msgstr "Seiteneinstellungen" -#: bookwyrm/templates/layout.html:117 +#: bookwyrm/templates/layout.html:125 msgid "Log out" msgstr "Abmelden" -#: bookwyrm/templates/layout.html:125 bookwyrm/templates/layout.html:126 +#: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134 #: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:10 msgid "Notifications" msgstr "Benachrichtigungen" -#: bookwyrm/templates/layout.html:143 bookwyrm/templates/layout.html:147 +#: bookwyrm/templates/layout.html:151 bookwyrm/templates/layout.html:155 #: bookwyrm/templates/login.html:17 #: bookwyrm/templates/snippets/register_form.html:4 msgid "Username:" msgstr "" -#: bookwyrm/templates/layout.html:152 bookwyrm/templates/login.html:10 +#: bookwyrm/templates/layout.html:156 +msgid "password" +msgstr "Passwort" + +#: bookwyrm/templates/layout.html:157 bookwyrm/templates/login.html:36 +msgid "Forgot your password?" +msgstr "Passwort vergessen?" + +#: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:10 #: bookwyrm/templates/login.html:33 msgid "Log in" msgstr "Anmelden" -#: bookwyrm/templates/layout.html:183 +#: bookwyrm/templates/layout.html:168 +msgid "Join" +msgstr "" + +#: bookwyrm/templates/layout.html:191 msgid "About this server" msgstr "Über diesen Server" -#: bookwyrm/templates/layout.html:187 +#: bookwyrm/templates/layout.html:195 msgid "Contact site admin" msgstr "Admin kontaktieren" -#: bookwyrm/templates/layout.html:198 +#: bookwyrm/templates/layout.html:202 +#, python-format +msgid "Support %(site.name)s on %(site.support_title)s" +msgstr "" + +#: bookwyrm/templates/layout.html:206 msgid "BookWyrm is open source software. You can contribute or report issues on GitHub." msgstr "BookWyrm ist open source Software. Du kannst dich auf GitHub beteiligen oder etwas melden." @@ -859,10 +878,6 @@ msgstr "" msgid "Password:" msgstr "Passwort:" -#: bookwyrm/templates/login.html:36 -msgid "Forgot your password?" -msgstr "Passwort vergessen?" - #: bookwyrm/templates/login.html:49 msgid "Contact an administrator to get an invite" msgstr "Kontaktiere für eine Einladung eine*n Admin" @@ -876,8 +891,6 @@ msgid "Not Found" msgstr "Nicht gefunden" #: bookwyrm/templates/notfound.html:9 -#, fuzzy -#| msgid "The page your requested doesn't seem to exist!" msgid "The page you requested doesn't seem to exist!" msgstr "Die Seite die du angefordert hast scheint nicht zu existieren!" @@ -955,18 +968,18 @@ msgstr "hat dir eine Folgeanfrage geschickt" #: bookwyrm/templates/notifications.html:90 #, python-format -msgid "boosted your review of %(book.title)s" -msgstr "hat deine Bewertung von %(book.title)s geteilt" +msgid "boosted your review of %(book_title)s" +msgstr "hat deine Bewertung von %(book_title)s geteilt" #: bookwyrm/templates/notifications.html:92 #, python-format -msgid "boosted your comment on%(book.title)s" -msgstr "hat deinen Kommentar zu%(book.title)s geteilt" +msgid "boosted your comment on%(book_title)s" +msgstr "hat deinen Kommentar zu%(book_title)s geteilt" #: bookwyrm/templates/notifications.html:94 #, python-format -msgid "boosted your quote from %(book.title)s" -msgstr "hat dein Zitat aus %(book.title)s geteilt" +msgid "boosted your quote from %(book_title)s" +msgstr "hat dein Zitat aus %(book_title)s geteilt" #: bookwyrm/templates/notifications.html:96 #, python-format @@ -1654,17 +1667,17 @@ msgstr "geteilt" msgid "Reply" msgstr "Antwort" -#: bookwyrm/templates/snippets/status/status_content.html:16 -#: bookwyrm/templates/snippets/trimmed_text.html:12 +#: bookwyrm/templates/snippets/status/status_content.html:18 +#: bookwyrm/templates/snippets/trimmed_text.html:15 msgid "Show more" msgstr "Mehr anzeigen" -#: bookwyrm/templates/snippets/status/status_content.html:23 -#: bookwyrm/templates/snippets/trimmed_text.html:18 +#: bookwyrm/templates/snippets/status/status_content.html:25 +#: bookwyrm/templates/snippets/trimmed_text.html:25 msgid "Show less" msgstr "Weniger anzeigen" -#: bookwyrm/templates/snippets/status/status_content.html:44 +#: bookwyrm/templates/snippets/status/status_content.html:46 msgid "Open image in new window" msgstr "Bild in neuem Fenster öffnen" @@ -1674,8 +1687,6 @@ msgid "More options" msgstr "Mehr Optionen" #: bookwyrm/templates/snippets/status/status_options.html:17 -#, fuzzy -#| msgid "Delete post" msgid "Delete status" msgstr "Post löschen" @@ -1699,8 +1710,6 @@ msgstr "Mit \"%(tag.name)s\" markierte Bücher" #: bookwyrm/templates/user/create_shelf_form.html:5 #: bookwyrm/templates/user/create_shelf_form.html:22 -#, fuzzy -#| msgid "Create shelf" msgid "Create Shelf" msgstr "Regal erstellen" diff --git a/locale/en_US/LC_MESSAGES/django.po b/locale/en_US/LC_MESSAGES/django.po index 32ee02b75..bf9b8a922 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-03-04 04:13+0000\n" +"POT-Creation-Date: 2021-03-04 22:24+0000\n" "PO-Revision-Date: 2021-02-28 17:19-0800\n" "Last-Translator: Mouse Reeve \n" "Language-Team: English \n" @@ -53,7 +53,7 @@ msgstr "" msgid "%(value)s is not a valid username" msgstr "" -#: bookwyrm/models/fields.py:164 +#: bookwyrm/models/fields.py:164 bookwyrm/templates/layout.html:152 msgid "username" msgstr "" @@ -96,6 +96,8 @@ msgid "Books by %(name)s" msgstr "" #: bookwyrm/templates/book.html:21 +#: bookwyrm/templates/discover/large-book.html:12 +#: bookwyrm/templates/discover/small-book.html:9 msgid "by" msgstr "" @@ -423,7 +425,7 @@ msgid "Direct Messages with %(username)s" msgstr "" #: bookwyrm/templates/feed/direct_messages.html:10 -#: bookwyrm/templates/layout.html:79 +#: bookwyrm/templates/layout.html:87 msgid "Direct Messages" msgstr "" @@ -529,7 +531,7 @@ msgid "%(username)s's %(year)s Books" msgstr "" #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 -#: bookwyrm/templates/layout.html:94 +#: bookwyrm/templates/layout.html:102 msgid "Import Books" msgstr "" @@ -652,55 +654,72 @@ msgstr "" msgid "Feed" msgstr "" -#: bookwyrm/templates/layout.html:84 +#: bookwyrm/templates/layout.html:92 #: bookwyrm/templates/preferences/preferences_layout.html:14 msgid "Profile" msgstr "" -#: bookwyrm/templates/layout.html:89 +#: bookwyrm/templates/layout.html:97 msgid "Settings" msgstr "" -#: bookwyrm/templates/layout.html:103 +#: bookwyrm/templates/layout.html:111 #: bookwyrm/templates/settings/admin_layout.html:19 #: bookwyrm/templates/settings/manage_invites.html:3 msgid "Invites" msgstr "" -#: bookwyrm/templates/layout.html:110 +#: bookwyrm/templates/layout.html:118 msgid "Site Configuration" msgstr "" -#: bookwyrm/templates/layout.html:117 +#: bookwyrm/templates/layout.html:125 msgid "Log out" msgstr "" -#: bookwyrm/templates/layout.html:125 bookwyrm/templates/layout.html:126 +#: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134 #: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:10 msgid "Notifications" msgstr "" -#: bookwyrm/templates/layout.html:143 bookwyrm/templates/layout.html:147 +#: bookwyrm/templates/layout.html:151 bookwyrm/templates/layout.html:155 #: bookwyrm/templates/login.html:17 #: bookwyrm/templates/snippets/register_form.html:4 msgid "Username:" msgstr "" -#: bookwyrm/templates/layout.html:152 bookwyrm/templates/login.html:10 +#: bookwyrm/templates/layout.html:156 +msgid "password" +msgstr "" + +#: bookwyrm/templates/layout.html:157 bookwyrm/templates/login.html:36 +msgid "Forgot your password?" +msgstr "" + +#: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:10 #: bookwyrm/templates/login.html:33 msgid "Log in" msgstr "" -#: bookwyrm/templates/layout.html:183 +#: bookwyrm/templates/layout.html:168 +msgid "Join" +msgstr "" + +#: bookwyrm/templates/layout.html:191 msgid "About this server" msgstr "" -#: bookwyrm/templates/layout.html:187 +#: bookwyrm/templates/layout.html:195 msgid "Contact site admin" msgstr "" -#: bookwyrm/templates/layout.html:198 +#: bookwyrm/templates/layout.html:202 +#, python-format +msgid "Support %(site.name)s on %(site.support_title)s" +msgstr "" + +#: bookwyrm/templates/layout.html:206 msgid "BookWyrm is open source software. You can contribute or report issues on GitHub." msgstr "" @@ -844,10 +863,6 @@ msgstr "" msgid "Password:" msgstr "" -#: bookwyrm/templates/login.html:36 -msgid "Forgot your password?" -msgstr "" - #: bookwyrm/templates/login.html:49 msgid "Contact an administrator to get an invite" msgstr "" @@ -938,17 +953,17 @@ msgstr "" #: bookwyrm/templates/notifications.html:90 #, python-format -msgid "boosted your review of %(book.title)s" +msgid "boosted your review of %(book_title)s" msgstr "" #: bookwyrm/templates/notifications.html:92 #, python-format -msgid "boosted your comment on%(book.title)s" +msgid "boosted your comment on%(book_title)s" msgstr "" #: bookwyrm/templates/notifications.html:94 #, python-format -msgid "boosted your quote from %(book.title)s" +msgid "boosted your quote from %(book_title)s" msgstr "" #: bookwyrm/templates/notifications.html:96 @@ -1637,17 +1652,17 @@ msgstr "" msgid "Reply" msgstr "" -#: bookwyrm/templates/snippets/status/status_content.html:16 -#: bookwyrm/templates/snippets/trimmed_text.html:12 +#: bookwyrm/templates/snippets/status/status_content.html:18 +#: bookwyrm/templates/snippets/trimmed_text.html:15 msgid "Show more" msgstr "" -#: bookwyrm/templates/snippets/status/status_content.html:23 -#: bookwyrm/templates/snippets/trimmed_text.html:18 +#: bookwyrm/templates/snippets/status/status_content.html:25 +#: bookwyrm/templates/snippets/trimmed_text.html:25 msgid "Show less" msgstr "" -#: bookwyrm/templates/snippets/status/status_content.html:44 +#: bookwyrm/templates/snippets/status/status_content.html:46 msgid "Open image in new window" msgstr "" diff --git a/locale/es/LC_MESSAGES/django.mo b/locale/es/LC_MESSAGES/django.mo index ee2cf48de..78c835c25 100644 Binary files a/locale/es/LC_MESSAGES/django.mo and b/locale/es/LC_MESSAGES/django.mo differ diff --git a/locale/es/LC_MESSAGES/django.po b/locale/es/LC_MESSAGES/django.po index 75e24e0e8..f2bde711c 100644 --- a/locale/es/LC_MESSAGES/django.po +++ b/locale/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-04 04:13+0000\n" +"POT-Creation-Date: 2021-03-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -40,8 +40,6 @@ msgid "%(count)d uses" msgstr "%(count)d usos" #: bookwyrm/forms.py:192 -#, fuzzy -#| msgid "Unlisted" msgid "Unlimited" msgstr "Sin límite" @@ -55,11 +53,9 @@ msgstr "%(value)s no es un remote_id válido" msgid "%(value)s is not a valid username" msgstr "%(value)s no es un usuario válido" -#: bookwyrm/models/fields.py:164 -#, fuzzy -#| msgid "Username:" +#: bookwyrm/models/fields.py:164 bookwyrm/templates/layout.html:152 msgid "username" -msgstr "Nombre de usuario:" +msgstr "nombre de usuario" #: bookwyrm/models/fields.py:169 msgid "A user with that username already exists." @@ -100,6 +96,8 @@ msgid "Books by %(name)s" msgstr "Libros de %(name)s" #: bookwyrm/templates/book.html:21 +#: bookwyrm/templates/discover/large-book.html:12 +#: bookwyrm/templates/discover/small-book.html:9 msgid "by" msgstr "por" @@ -129,16 +127,14 @@ msgid "ASIN:" msgstr "ASIN:" #: bookwyrm/templates/book.html:84 -#, fuzzy, python-format -#| msgid "of %(book.pages)s pages" +#, python-format msgid "%(format)s, %(pages)s pages" -msgstr "de %(book.pages)s páginas" +msgstr "%(format)s, %(pages)s páginas" #: bookwyrm/templates/book.html:86 -#, fuzzy, python-format -#| msgid "of %(book.pages)s pages" +#, python-format msgid "%(pages)s pages" -msgstr "de %(book.pages)s páginas" +msgstr "%(pages)s páginas" #: bookwyrm/templates/book.html:91 msgid "View on OpenLibrary" @@ -183,20 +179,17 @@ msgid "Cancel" msgstr "Cancelar" #: bookwyrm/templates/book.html:127 -#, fuzzy, python-format -#| msgid "%(title)s by " +#, python-format msgid "%(count)s editions" msgstr "%(count)s ediciones" #: bookwyrm/templates/book.html:135 -#, fuzzy, python-format -#| msgid "Direct Messages with %(username)s" +#, python-format msgid "This edition is on your %(shelf_name)s shelf." msgstr "Esta edición está en tu %(shelf_name)s estante." #: bookwyrm/templates/book.html:141 -#, fuzzy, python-format -#| msgid " added %(book_title)s to your list \"%(list_name)s\"" +#, python-format msgid "A different edition of this book is on your %(shelf_name)s shelf." msgstr "Una edición diferente de este libro está en tu %(shelf_name)s estante." @@ -432,7 +425,7 @@ msgid "Direct Messages with %(username)s" msgstr "Mensajes directos con %(username)s" #: bookwyrm/templates/feed/direct_messages.html:10 -#: bookwyrm/templates/layout.html:79 +#: bookwyrm/templates/layout.html:87 msgid "Direct Messages" msgstr "Mensajes directos" @@ -483,15 +476,12 @@ msgstr "¡No hay ningún libro aqui ahorita! Busca a un libro para empezar" #: bookwyrm/templates/feed/feed_layout.html:23 #: bookwyrm/templates/user/shelf.html:24 -#, fuzzy #| msgid "Read" msgid "To Read" -msgstr "Leer" +msgstr "Para leer" #: bookwyrm/templates/feed/feed_layout.html:24 #: bookwyrm/templates/user/shelf.html:24 -#, fuzzy -#| msgid "Start reading" msgid "Currently Reading" msgstr "Leyendo actualmente" @@ -542,7 +532,7 @@ msgid "%(username)s's %(year)s Books" msgstr "Los libros de %(username)s para %(year)s" #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 -#: bookwyrm/templates/layout.html:94 +#: bookwyrm/templates/layout.html:102 msgid "Import Books" msgstr "Importar libros" @@ -665,55 +655,72 @@ msgstr "Tus estantes" msgid "Feed" msgstr "Actividad" -#: bookwyrm/templates/layout.html:84 +#: bookwyrm/templates/layout.html:92 #: bookwyrm/templates/preferences/preferences_layout.html:14 msgid "Profile" msgstr "Perfil" -#: bookwyrm/templates/layout.html:89 +#: bookwyrm/templates/layout.html:97 msgid "Settings" msgstr "Configuración" -#: bookwyrm/templates/layout.html:103 +#: bookwyrm/templates/layout.html:111 #: bookwyrm/templates/settings/admin_layout.html:19 #: bookwyrm/templates/settings/manage_invites.html:3 msgid "Invites" msgstr "Invitaciones" -#: bookwyrm/templates/layout.html:110 +#: bookwyrm/templates/layout.html:118 msgid "Site Configuration" msgstr "Configuracion de sitio" -#: bookwyrm/templates/layout.html:117 +#: bookwyrm/templates/layout.html:125 msgid "Log out" msgstr "Cerrar sesión" -#: bookwyrm/templates/layout.html:125 bookwyrm/templates/layout.html:126 +#: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134 #: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:10 msgid "Notifications" msgstr "Notificaciones" -#: bookwyrm/templates/layout.html:143 bookwyrm/templates/layout.html:147 +#: bookwyrm/templates/layout.html:151 bookwyrm/templates/layout.html:155 #: bookwyrm/templates/login.html:17 #: bookwyrm/templates/snippets/register_form.html:4 msgid "Username:" msgstr "Nombre de usuario:" -#: bookwyrm/templates/layout.html:152 bookwyrm/templates/login.html:10 +#: bookwyrm/templates/layout.html:156 +msgid "password" +msgstr "contraseña" + +#: bookwyrm/templates/layout.html:157 bookwyrm/templates/login.html:36 +msgid "Forgot your password?" +msgstr "¿Olvidaste tu contraseña?" + +#: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:10 #: bookwyrm/templates/login.html:33 msgid "Log in" msgstr "Iniciar sesión" -#: bookwyrm/templates/layout.html:183 +#: bookwyrm/templates/layout.html:168 +msgid "Join" +msgstr "" + +#: bookwyrm/templates/layout.html:191 msgid "About this server" msgstr "Sobre este servidor" -#: bookwyrm/templates/layout.html:187 +#: bookwyrm/templates/layout.html:195 msgid "Contact site admin" msgstr "Contactarse con administradores del sitio" -#: bookwyrm/templates/layout.html:198 +#: bookwyrm/templates/layout.html:202 +#, python-format +msgid "Support %(site.name)s on %(site.support_title)s" +msgstr "" + +#: bookwyrm/templates/layout.html:206 msgid "BookWyrm is open source software. You can contribute or report issues on GitHub." msgstr "BookWyrm es software de código abierto. Puedes contribuir o reportar problemas en GitHub." @@ -784,8 +791,7 @@ msgid "This list is currently empty" msgstr "Esta lista está vacia" #: bookwyrm/templates/lists/list.html:35 -#, fuzzy, python-format -#| msgid "Direct Messages with %(username)s" +#, python-format msgid "Added by %(username)s" msgstr "Agregado por %(username)s" @@ -841,8 +847,7 @@ msgid "Your lists" msgstr "Tus listas" #: bookwyrm/templates/lists/lists.html:32 -#, fuzzy, python-format -#| msgid "See all %(size)s" +#, python-format msgid "See all %(size)s lists" msgstr "Ver las %(size)s listas" @@ -859,10 +864,6 @@ msgstr "Iniciar sesión" msgid "Password:" msgstr "Contraseña:" -#: bookwyrm/templates/login.html:36 -msgid "Forgot your password?" -msgstr "¿Olvidaste tu contraseña?" - #: bookwyrm/templates/login.html:49 msgid "Contact an administrator to get an invite" msgstr "Contactar a unx administradorx para recibir una invitación" @@ -953,18 +954,18 @@ msgstr "te quiere seguir" #: bookwyrm/templates/notifications.html:90 #, python-format -msgid "boosted your review of %(book.title)s" -msgstr "respaldó tu reseña de %(book.title)s" +msgid "boosted your review of %(book_title)s" +msgstr "respaldó tu reseña de %(book_title)s" #: bookwyrm/templates/notifications.html:92 #, python-format -msgid "boosted your comment on%(book.title)s" -msgstr "respaldó tu comentario en%(book.title)s" +msgid "boosted your comment on%(book_title)s" +msgstr "respaldó tu comentario en%(book_title)s" #: bookwyrm/templates/notifications.html:94 #, python-format -msgid "boosted your quote from %(book.title)s" -msgstr "respaldó tucita de %(book.title)s" +msgid "boosted your quote from %(book_title)s" +msgstr "respaldó tucita de %(book_title)s" #: bookwyrm/templates/notifications.html:96 #, python-format @@ -1652,17 +1653,17 @@ msgstr "respaldó" msgid "Reply" msgstr "Respuesta" -#: bookwyrm/templates/snippets/status/status_content.html:16 -#: bookwyrm/templates/snippets/trimmed_text.html:12 +#: bookwyrm/templates/snippets/status/status_content.html:18 +#: bookwyrm/templates/snippets/trimmed_text.html:15 msgid "Show more" msgstr "Mostrar más" -#: bookwyrm/templates/snippets/status/status_content.html:23 -#: bookwyrm/templates/snippets/trimmed_text.html:18 +#: bookwyrm/templates/snippets/status/status_content.html:25 +#: bookwyrm/templates/snippets/trimmed_text.html:25 msgid "Show less" msgstr "Mostrar menos" -#: bookwyrm/templates/snippets/status/status_content.html:44 +#: bookwyrm/templates/snippets/status/status_content.html:46 msgid "Open image in new window" msgstr "Abrir imagen en una nueva ventana" @@ -1672,8 +1673,6 @@ msgid "More options" msgstr "Más opciones" #: bookwyrm/templates/snippets/status/status_options.html:17 -#, fuzzy -#| msgid "Delete post" msgid "Delete status" msgstr "Eliminar status" @@ -1697,8 +1696,6 @@ msgstr "Libros etiquetados con \"%(tag.name)s\"" #: bookwyrm/templates/user/create_shelf_form.html:5 #: bookwyrm/templates/user/create_shelf_form.html:22 -#, fuzzy -#| msgid "Create shelf" msgid "Create Shelf" msgstr "Crear estante" diff --git a/locale/fr_FR/LC_MESSAGES/django.po b/locale/fr_FR/LC_MESSAGES/django.po index 68bb0c465..49f43c4cd 100644 --- a/locale/fr_FR/LC_MESSAGES/django.po +++ b/locale/fr_FR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-04 04:13+0000\n" +"POT-Creation-Date: 2021-03-04 22:24+0000\n" "PO-Revision-Date: 2021-03-02 12:37+0100\n" "Last-Translator: Fabien Basmaison \n" "Language-Team: Mouse Reeve \n" @@ -55,7 +55,7 @@ msgstr "" msgid "%(value)s is not a valid username" msgstr "" -#: bookwyrm/models/fields.py:164 +#: bookwyrm/models/fields.py:164 bookwyrm/templates/layout.html:152 #, fuzzy #| msgid "Username:" msgid "username" @@ -100,6 +100,8 @@ msgid "Books by %(name)s" msgstr "Livres par %(name)s" #: bookwyrm/templates/book.html:21 +#: bookwyrm/templates/discover/large-book.html:12 +#: bookwyrm/templates/discover/small-book.html:9 msgid "by" msgstr "" @@ -440,7 +442,7 @@ msgid "Direct Messages with %(username)s" msgstr "Messages directs avec %(username)s" #: bookwyrm/templates/feed/direct_messages.html:10 -#: bookwyrm/templates/layout.html:79 +#: bookwyrm/templates/layout.html:87 msgid "Direct Messages" msgstr "Messages directs" @@ -556,7 +558,7 @@ msgid "%(username)s's %(year)s Books" msgstr "Livres de %(username)s en %(year)s" #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 -#: bookwyrm/templates/layout.html:94 +#: bookwyrm/templates/layout.html:102 msgid "Import Books" msgstr "Importer des livres" @@ -679,57 +681,76 @@ msgstr "Vos étagères" msgid "Feed" msgstr "Fil d’actualité" -#: bookwyrm/templates/layout.html:84 +#: bookwyrm/templates/layout.html:92 #: bookwyrm/templates/preferences/preferences_layout.html:14 msgid "Profile" msgstr "Profil" -#: bookwyrm/templates/layout.html:89 +#: bookwyrm/templates/layout.html:97 #, fuzzy #| msgid "Instance Settings" msgid "Settings" msgstr "Paramètres de l’instance" -#: bookwyrm/templates/layout.html:103 +#: bookwyrm/templates/layout.html:111 #: bookwyrm/templates/settings/admin_layout.html:19 #: bookwyrm/templates/settings/manage_invites.html:3 msgid "Invites" msgstr "Invitations" -#: bookwyrm/templates/layout.html:110 +#: bookwyrm/templates/layout.html:118 msgid "Site Configuration" msgstr "Configuration du site" -#: bookwyrm/templates/layout.html:117 +#: bookwyrm/templates/layout.html:125 msgid "Log out" msgstr "Se déconnecter" -#: bookwyrm/templates/layout.html:125 bookwyrm/templates/layout.html:126 +#: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134 #: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:10 msgid "Notifications" msgstr "Notifications" -#: bookwyrm/templates/layout.html:143 bookwyrm/templates/layout.html:147 +#: bookwyrm/templates/layout.html:151 bookwyrm/templates/layout.html:155 #: bookwyrm/templates/login.html:17 #: bookwyrm/templates/snippets/register_form.html:4 msgid "Username:" msgstr "Nom d’utilisateur :" -#: bookwyrm/templates/layout.html:152 bookwyrm/templates/login.html:10 +#: bookwyrm/templates/layout.html:156 +#, fuzzy +#| msgid "Password:" +msgid "password" +msgstr "Mot de passe :" + +#: bookwyrm/templates/layout.html:157 bookwyrm/templates/login.html:36 +msgid "Forgot your password?" +msgstr "Mot de passe oublié ?" + +#: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:10 #: bookwyrm/templates/login.html:33 msgid "Log in" msgstr "Se connecter" -#: bookwyrm/templates/layout.html:183 +#: bookwyrm/templates/layout.html:168 +msgid "Join" +msgstr "" + +#: bookwyrm/templates/layout.html:191 msgid "About this server" msgstr "À propos de ce serveur" -#: bookwyrm/templates/layout.html:187 +#: bookwyrm/templates/layout.html:195 msgid "Contact site admin" msgstr "Contacter l’administrateur du site" -#: bookwyrm/templates/layout.html:198 +#: bookwyrm/templates/layout.html:202 +#, python-format +msgid "Support %(site.name)s on %(site.support_title)s" +msgstr "" + +#: bookwyrm/templates/layout.html:206 msgid "BookWyrm is open source software. You can contribute or report issues on GitHub." msgstr "Bookwyrm est un logiciel libre. Vous pouvez contribuer ou faire des rapports de bogues via GitHub." @@ -875,10 +896,6 @@ msgstr "Connexion" msgid "Password:" msgstr "Mot de passe :" -#: bookwyrm/templates/login.html:36 -msgid "Forgot your password?" -msgstr "Mot de passe oublié ?" - #: bookwyrm/templates/login.html:49 msgid "Contact an administrator to get an invite" msgstr "Contacter un administrateur pour obtenir une invitation" @@ -1288,6 +1305,7 @@ msgid "Un-block" msgstr "Débloquer" #: bookwyrm/templates/snippets/book_titleby.html:3 +#, python-format msgid "%(title)s by " msgstr "%(title)s par " @@ -1675,17 +1693,17 @@ msgstr "partagé" msgid "Reply" msgstr "Répondre" -#: bookwyrm/templates/snippets/status/status_content.html:16 -#: bookwyrm/templates/snippets/trimmed_text.html:12 +#: bookwyrm/templates/snippets/status/status_content.html:18 +#: bookwyrm/templates/snippets/trimmed_text.html:15 msgid "Show more" msgstr "Déplier" -#: bookwyrm/templates/snippets/status/status_content.html:23 -#: bookwyrm/templates/snippets/trimmed_text.html:18 +#: bookwyrm/templates/snippets/status/status_content.html:25 +#: bookwyrm/templates/snippets/trimmed_text.html:25 msgid "Show less" msgstr "Replier" -#: bookwyrm/templates/snippets/status/status_content.html:44 +#: bookwyrm/templates/snippets/status/status_content.html:46 msgid "Open image in new window" msgstr "Ouvrir l’image dans une nouvelle fenêtre" @@ -1767,6 +1785,7 @@ msgid "Your Shelves" msgstr "Vos étagères" #: bookwyrm/templates/user/shelf.html:11 +#, python-format msgid "%(username)s: Shelves" msgstr "%(username)s : Étagères" diff --git a/locale/zh_CN/LC_MESSAGES/django.mo b/locale/zh_CN/LC_MESSAGES/django.mo index 63517fd06..250368556 100644 Binary files a/locale/zh_CN/LC_MESSAGES/django.mo and b/locale/zh_CN/LC_MESSAGES/django.mo differ diff --git a/locale/zh_CN/LC_MESSAGES/django.po b/locale/zh_CN/LC_MESSAGES/django.po index 21b46f816..f5dcadb6a 100644 --- a/locale/zh_CN/LC_MESSAGES/django.po +++ b/locale/zh_CN/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-04 04:13+0000\n" +"POT-Creation-Date: 2021-03-04 22:24+0000\n" "PO-Revision-Date: 2021-03-02 10:35+0000\n" "Last-Translator: Kana \n" "Language-Team: Mouse Reeve \n" @@ -55,11 +55,9 @@ msgstr "" msgid "%(value)s is not a valid username" msgstr "" -#: bookwyrm/models/fields.py:164 -#, fuzzy -#| msgid "Username:" +#: bookwyrm/models/fields.py:164 bookwyrm/templates/layout.html:152 msgid "username" -msgstr "用户名:" +msgstr "用户名" #: bookwyrm/models/fields.py:169 msgid "A user with that username already exists." @@ -100,6 +98,8 @@ msgid "Books by %(name)s" msgstr "%(name)s 所著的书" #: bookwyrm/templates/book.html:21 +#: bookwyrm/templates/discover/large-book.html:12 +#: bookwyrm/templates/discover/small-book.html:9 msgid "by" msgstr "" @@ -431,7 +431,7 @@ msgid "Direct Messages with %(username)s" msgstr "与 %(username)s 私信" #: bookwyrm/templates/feed/direct_messages.html:10 -#: bookwyrm/templates/layout.html:79 +#: bookwyrm/templates/layout.html:87 msgid "Direct Messages" msgstr "私信" @@ -541,7 +541,7 @@ msgid "%(username)s's %(year)s Books" msgstr "%(username)s 在 %(year)s 的书目" #: bookwyrm/templates/import.html:5 bookwyrm/templates/import.html:9 -#: bookwyrm/templates/layout.html:94 +#: bookwyrm/templates/layout.html:102 msgid "Import Books" msgstr "导入书目" @@ -664,55 +664,72 @@ msgstr "你的书架" msgid "Feed" msgstr "动态" -#: bookwyrm/templates/layout.html:84 +#: bookwyrm/templates/layout.html:92 #: bookwyrm/templates/preferences/preferences_layout.html:14 msgid "Profile" msgstr "个人资料" -#: bookwyrm/templates/layout.html:89 +#: bookwyrm/templates/layout.html:97 msgid "Settings" msgstr "设置" -#: bookwyrm/templates/layout.html:103 +#: bookwyrm/templates/layout.html:111 #: bookwyrm/templates/settings/admin_layout.html:19 #: bookwyrm/templates/settings/manage_invites.html:3 msgid "Invites" msgstr "邀请" -#: bookwyrm/templates/layout.html:110 +#: bookwyrm/templates/layout.html:118 msgid "Site Configuration" msgstr "站点配置" -#: bookwyrm/templates/layout.html:117 +#: bookwyrm/templates/layout.html:125 msgid "Log out" msgstr "登出" -#: bookwyrm/templates/layout.html:125 bookwyrm/templates/layout.html:126 +#: bookwyrm/templates/layout.html:133 bookwyrm/templates/layout.html:134 #: bookwyrm/templates/notifications.html:6 #: bookwyrm/templates/notifications.html:10 msgid "Notifications" msgstr "通知" -#: bookwyrm/templates/layout.html:143 bookwyrm/templates/layout.html:147 +#: bookwyrm/templates/layout.html:151 bookwyrm/templates/layout.html:155 #: bookwyrm/templates/login.html:17 #: bookwyrm/templates/snippets/register_form.html:4 msgid "Username:" msgstr "用户名:" -#: bookwyrm/templates/layout.html:152 bookwyrm/templates/login.html:10 +#: bookwyrm/templates/layout.html:156 +msgid "password" +msgstr "密码" + +#: bookwyrm/templates/layout.html:157 bookwyrm/templates/login.html:36 +msgid "Forgot your password?" +msgstr "忘记了密码?" + +#: bookwyrm/templates/layout.html:160 bookwyrm/templates/login.html:10 #: bookwyrm/templates/login.html:33 msgid "Log in" msgstr "登录" -#: bookwyrm/templates/layout.html:183 +#: bookwyrm/templates/layout.html:168 +msgid "Join" +msgstr "" + +#: bookwyrm/templates/layout.html:191 msgid "About this server" msgstr "关于本服务器" -#: bookwyrm/templates/layout.html:187 +#: bookwyrm/templates/layout.html:195 msgid "Contact site admin" msgstr "联系站点管理员" -#: bookwyrm/templates/layout.html:198 +#: bookwyrm/templates/layout.html:202 +#, python-format +msgid "Support %(site.name)s on %(site.support_title)s" +msgstr "" + +#: bookwyrm/templates/layout.html:206 msgid "BookWyrm is open source software. You can contribute or report issues on GitHub." msgstr "BookWyrm 是开源软件。你可以在GitHub 贡献或报告问题。" @@ -858,10 +875,6 @@ msgstr "登录" msgid "Password:" msgstr "密码:" -#: bookwyrm/templates/login.html:36 -msgid "Forgot your password?" -msgstr "忘记了密码?" - #: bookwyrm/templates/login.html:49 msgid "Contact an administrator to get an invite" msgstr "联系管理员以取得邀请" @@ -875,8 +888,6 @@ msgid "Not Found" msgstr "未找到" #: bookwyrm/templates/notfound.html:9 -#, fuzzy -#| msgid "The page your requested doesn't seem to exist!" msgid "The page you requested doesn't seem to exist!" msgstr "你请求的页面似乎并不存在!" @@ -954,18 +965,18 @@ msgstr "向你发送了关注请求" #: bookwyrm/templates/notifications.html:90 #, python-format -msgid "boosted your review of %(book.title)s" -msgstr "转发了你的 %(book.title)s 的书评" +msgid "boosted your review of %(book_title)s" +msgstr "转发了你的 %(book_title)s 的书评" #: bookwyrm/templates/notifications.html:92 #, python-format -msgid "boosted your comment on%(book.title)s" -msgstr "转发了你的 %(book.title)s 的评论" +msgid "boosted your comment on%(book_title)s" +msgstr "转发了你的 %(book_title)s 的评论" #: bookwyrm/templates/notifications.html:94 #, python-format -msgid "boosted your quote from %(book.title)s" -msgstr "转发了你的 %(book.title)s 的引用" +msgid "boosted your quote from %(book_title)s" +msgstr "转发了你的 %(book_title)s 的引用" #: bookwyrm/templates/notifications.html:96 #, python-format @@ -995,7 +1006,6 @@ msgstr "你什么也没错过!" #: bookwyrm/templates/password_reset.html:10 #: bookwyrm/templates/password_reset_request.html:4 #: bookwyrm/templates/password_reset_request.html:10 -#, fuzzy msgid "Reset Password" msgstr "重设密码" @@ -1653,17 +1663,17 @@ msgstr "转发了" msgid "Reply" msgstr "回复" -#: bookwyrm/templates/snippets/status/status_content.html:16 -#: bookwyrm/templates/snippets/trimmed_text.html:12 +#: bookwyrm/templates/snippets/status/status_content.html:18 +#: bookwyrm/templates/snippets/trimmed_text.html:15 msgid "Show more" msgstr "显示更多" -#: bookwyrm/templates/snippets/status/status_content.html:23 -#: bookwyrm/templates/snippets/trimmed_text.html:18 +#: bookwyrm/templates/snippets/status/status_content.html:25 +#: bookwyrm/templates/snippets/trimmed_text.html:25 msgid "Show less" msgstr "显示更少" -#: bookwyrm/templates/snippets/status/status_content.html:44 +#: bookwyrm/templates/snippets/status/status_content.html:46 msgid "Open image in new window" msgstr "在新窗口中打开图像" @@ -1673,8 +1683,6 @@ msgid "More options" msgstr "更多选项" #: bookwyrm/templates/snippets/status/status_options.html:17 -#, fuzzy -#| msgid "Delete post" msgid "Delete status" msgstr "删除发文" @@ -1698,8 +1706,6 @@ msgstr "标有 \"%(tag.name)s\" 标签的书" #: bookwyrm/templates/user/create_shelf_form.html:5 #: bookwyrm/templates/user/create_shelf_form.html:22 -#, fuzzy -#| msgid "Create shelf" msgid "Create Shelf" msgstr "创建书架"