From 982cd49c51e623c85407214bb4bc170dab593399 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 6 Oct 2021 16:33:07 -0700 Subject: [PATCH] Fixes english grammar weirdness --- bookwyrm/views/password.py | 2 +- locale/de_DE/LC_MESSAGES/django.po | 9 ++++----- locale/en_US/LC_MESSAGES/django.po | 4 ++-- locale/es/LC_MESSAGES/django.po | 4 ++-- locale/fr_FR/LC_MESSAGES/django.po | 9 ++++----- locale/zh_Hans/LC_MESSAGES/django.po | 9 ++++----- locale/zh_Hant/LC_MESSAGES/django.po | 11 +++++------ 7 files changed, 22 insertions(+), 26 deletions(-) diff --git a/bookwyrm/views/password.py b/bookwyrm/views/password.py index ff2a0262..d3104ad4 100644 --- a/bookwyrm/views/password.py +++ b/bookwyrm/views/password.py @@ -38,7 +38,7 @@ class PasswordResetRequest(View): # create a new reset code code = models.PasswordReset.objects.create(user=user) password_reset_email(code) - data = {"message": _(f"A password reset link sent to {email}")} + data = {"message": _(f"A password reset link was sent to {email}")} return TemplateResponse(request, "password_reset_request.html", data) diff --git a/locale/de_DE/LC_MESSAGES/django.po b/locale/de_DE/LC_MESSAGES/django.po index 5481b3df..b963c5ef 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-10-06 23:23+0000\n" +"POT-Creation-Date: 2021-10-06 23:29+0000\n" "PO-Revision-Date: 2021-03-02 17:19-0800\n" "Last-Translator: Mouse Reeve \n" "Language-Team: English \n" @@ -4039,10 +4039,9 @@ msgid "No user with that email address was found." msgstr "Dieser Benutzename ist bereits vergeben." #: bookwyrm/views/password.py:41 -#, fuzzy, python-brace-format -#| msgid "A password reset link sent to %s" -msgid "A password reset link sent to {email}" -msgstr "Ein Passwortwiederherstellungslinl wurde zu %s gesendet" +#, python-brace-format +msgid "A password reset link was sent to {email}" +msgstr "Ein Passwortwiederherstellungslinl wurde zu {email} gesendet" #: bookwyrm/views/rss_feed.py:35 #, python-brace-format diff --git a/locale/en_US/LC_MESSAGES/django.po b/locale/en_US/LC_MESSAGES/django.po index 41a28845..5b931219 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-10-06 23:23+0000\n" +"POT-Creation-Date: 2021-10-06 23:29+0000\n" "PO-Revision-Date: 2021-02-28 17:19-0800\n" "Last-Translator: Mouse Reeve \n" "Language-Team: English \n" @@ -3578,7 +3578,7 @@ msgstr "" #: bookwyrm/views/password.py:41 #, python-brace-format -msgid "A password reset link sent to {email}" +msgid "A password reset link was sent to {email}" msgstr "" #: bookwyrm/views/rss_feed.py:35 diff --git a/locale/es/LC_MESSAGES/django.po b/locale/es/LC_MESSAGES/django.po index f78ad99c..3ff6f517 100644 --- a/locale/es/LC_MESSAGES/django.po +++ b/locale/es/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-10-06 23:23+0000\n" +"POT-Creation-Date: 2021-10-06 23:29+0000\n" "PO-Revision-Date: 2021-03-19 11:49+0800\n" "Last-Translator: Reese Porter \n" "Language-Team: LANGUAGE \n" @@ -3586,7 +3586,7 @@ msgstr "No se pudo encontrar un usuario con esa dirección de correo electrónic #: bookwyrm/views/password.py:41 #, python-brace-format -msgid "A password reset link sent to {email}" +msgid "A password reset link was sent to {email}" msgstr "Un enlace para reestablecer tu contraseña se envió a {email}" #: bookwyrm/views/rss_feed.py:35 diff --git a/locale/fr_FR/LC_MESSAGES/django.po b/locale/fr_FR/LC_MESSAGES/django.po index ea98e092..30656413 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-10-06 23:23+0000\n" +"POT-Creation-Date: 2021-10-06 23:29+0000\n" "PO-Revision-Date: 2021-04-05 12:44+0100\n" "Last-Translator: Fabien Basmaison \n" "Language-Team: Mouse Reeve \n" @@ -3763,10 +3763,9 @@ msgid "No user with that email address was found." msgstr "Aucun compte avec cette adresse email n’a été trouvé." #: bookwyrm/views/password.py:41 -#, fuzzy, python-brace-format -#| msgid "A password reset link sent to %s" -msgid "A password reset link sent to {email}" -msgstr "Un lien de réinitialisation a été envoyé à %s." +#, python-brace-format +msgid "A password reset link was sent to {email}" +msgstr "Un lien de réinitialisation a été envoyé à {email}." #: bookwyrm/views/rss_feed.py:35 #, python-brace-format diff --git a/locale/zh_Hans/LC_MESSAGES/django.po b/locale/zh_Hans/LC_MESSAGES/django.po index 023a71f7..67aacaf1 100644 --- a/locale/zh_Hans/LC_MESSAGES/django.po +++ b/locale/zh_Hans/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-10-06 23:23+0000\n" +"POT-Creation-Date: 2021-10-06 23:29+0000\n" "PO-Revision-Date: 2021-03-20 00:56+0000\n" "Last-Translator: Kana \n" "Language-Team: Mouse Reeve \n" @@ -3701,10 +3701,9 @@ msgid "No user with that email address was found." msgstr "没有找到使用该邮箱的用户。" #: bookwyrm/views/password.py:41 -#, fuzzy, python-brace-format -#| msgid "A password reset link sent to %s" -msgid "A password reset link sent to {email}" -msgstr "密码重置连接已发送给 %s" +#, python-brace-format +msgid "A password reset link was sent to {email}" +msgstr "密码重置连接已发送给 {email}" #: bookwyrm/views/rss_feed.py:35 #, python-brace-format diff --git a/locale/zh_Hant/LC_MESSAGES/django.po b/locale/zh_Hant/LC_MESSAGES/django.po index bee422ef..07483650 100644 --- a/locale/zh_Hant/LC_MESSAGES/django.po +++ b/locale/zh_Hant/LC_MESSAGES/django.po @@ -8,10 +8,10 @@ msgid "" msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-10-06 23:23+0000\n" +"POT-Creation-Date: 2021-10-06 23:29+0000\n" "PO-Revision-Date: 2021-06-30 10:36+0000\n" "Last-Translator: Grace Cheng \n" -"Language-Team: LANGUAGE \n" +"Language-Team: \n" "Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -3758,10 +3758,9 @@ msgid "No user with that email address was found." msgstr "沒有找到使用該郵箱的使用者。" #: bookwyrm/views/password.py:41 -#, fuzzy, python-brace-format -#| msgid "A password reset link sent to %s" -msgid "A password reset link sent to {email}" -msgstr "密碼重置連結已傳送給 %s" +#, python-brace-format +msgid "A password reset link was sent to {email}" +msgstr "密碼重置連結已傳送給 {email}" #: bookwyrm/views/rss_feed.py:35 #, python-brace-format