From fd8db27a8807e6f93fc3e38a6b8aca40a50a6df5 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:51:47 -0800 Subject: [PATCH] Fix signup form html, translation string --- src/documents/templates/socialaccount/signup.html | 8 ++++---- src/locale/en_US/LC_MESSAGES/django.po | 10 ++++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/documents/templates/socialaccount/signup.html b/src/documents/templates/socialaccount/signup.html index ef208d8ad..b4b855832 100644 --- a/src/documents/templates/socialaccount/signup.html +++ b/src/documents/templates/socialaccount/signup.html @@ -39,7 +39,6 @@ - {% if form.errors.username %} {% endif %} - {% blocktrans with provider_name=account.get_provider.name site_name=site.name %}You are about to use your {{provider_name}} account to login to -{{site_name}}. As a final step, please complete the following form:{% endblocktrans %} -

+

+ {% blocktrans with provider_name=account.get_provider.name %}You are about to use your {{provider_name}} account to login.{% endblocktrans %} + {% blocktrans %}As a final step, please complete the following form:{% endblocktrans %} +

{% translate "Username" as i18n_username %} {% translate "Email" as i18n_email %}
diff --git a/src/locale/en_US/LC_MESSAGES/django.po b/src/locale/en_US/LC_MESSAGES/django.po index 403ba262e..bfc3a2069 100644 --- a/src/locale/en_US/LC_MESSAGES/django.po +++ b/src/locale/en_US/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ngx\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-08 11:56-0800\n" +"POT-Creation-Date: 2024-02-14 16:47-0800\n" "PO-Revision-Date: 2022-02-17 04:17\n" "Last-Translator: \n" "Language-Team: English\n" @@ -946,9 +946,11 @@ msgstr "" #: documents/templates/socialaccount/signup.html:53 #, python-format -msgid "" -"You are about to use your %(provider_name)s account to login to\n" -"%(site_name)s. As a final step, please complete the following form:" +msgid "You are about to use your %(provider_name)s account to login." +msgstr "" + +#: documents/templates/socialaccount/signup.html:54 +msgid "As a final step, please complete the following form:" msgstr "" #: documents/templates/socialaccount/signup.html:72