Change webmaster to website administrator in the admin ()

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
pull/7880/head
Naomi I. Morduch Toubman 2022-01-20 15:39:09 -05:00 zatwierdzone przez GitHub
rodzic 533e85c8d1
commit 9b1a05a55d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
8 zmienionych plików z 8 dodań i 5 usunięć
docs
reference
releases
wagtail
documents/views
images
templates/wagtailimages/multiple

Wyświetl plik

@ -38,6 +38,7 @@ Changelog
* Implemented a locale switcher on the forms listing page in the admin (Dan Braghis)
* Implemented a locale switcher on the page chooser modal (Dan Braghis)
* Implemented the `wagtail_site` template tag for Jinja2 (Vladimir Tananko)
* Change webmaster to website administrator in the admin (Naomi Morduch Toubman)
* Fix: Accessibility fixes for Windows high contrast mode; Dashboard icons colour and contrast, help/error/warning blocks for fields and general content, side comment buttons within the page editor, dropdown buttons (Sakshi Uppoor, Shariq Jamil, LB (Ben Johnston), Jason Attwood)
* Fix: Rename additional 'spin' CSS animations to avoid clashes with other libraries (Kevin Gutiérrez)
* Fix: `default_app_config` deprecations for Django >= 3.2 (Tibor Leupold)

Wyświetl plik

@ -449,7 +449,7 @@ Email Notifications
WAGTAILADMIN_NOTIFICATION_FROM_EMAIL = 'wagtail@myhost.io'
Wagtail sends email notifications when content is submitted for moderation, and when the content is accepted or rejected. This setting lets you pick which email address these automatic notifications will come from. If omitted, Wagtail will fall back to using Django's ``DEFAULT_FROM_EMAIL`` setting if set, or ``webmaster@localhost`` if not.
Wagtail sends email notifications when content is submitted for moderation, and when the content is accepted or rejected. This setting lets you pick which email address these automatic notifications will come from. If omitted, Wagtail will fall back to using Django's ``DEFAULT_FROM_EMAIL`` setting.
``WAGTAILADMIN_NOTIFICATION_USE_HTML``
--------------------------------------

Wyświetl plik

@ -41,6 +41,7 @@
* Implemented a locale switcher on the forms listing page in the admin (Dan Braghis)
* Implemented a locale switcher on the page chooser modal (Dan Braghis)
* Implemented the `wagtail_site` template tag for Jinja2 (Vladimir Tananko)
* Change webmaster to website administrator in the admin (Naomi Morduch Toubman)
### Bug fixes

Wyświetl plik

@ -41,6 +41,7 @@ def send_mail(subject, message, recipient_list, from_email=None, **kwargs):
elif hasattr(settings, 'DEFAULT_FROM_EMAIL'):
from_email = settings.DEFAULT_FROM_EMAIL
else:
# We are no longer using the term `webmaster` except in this case, where we continue to match Django's default: https://github.com/django/django/blob/stable/3.2.x/django/conf/global_settings.py#L223
from_email = 'webmaster@localhost'
connection = kwargs.get('connection', False) or get_connection(

Wyświetl plik

@ -571,7 +571,7 @@ class BaseTaskChooserView(TemplateView):
def get_form_js_context(self):
return {
'error_label': _("Server Error"),
'error_message': _("Report this error to your webmaster with the following information:"),
'error_message': _("Report this error to your website administrator with the following information:"),
}
def get_task_listing_context_data(self):

Wyświetl plik

@ -109,7 +109,7 @@ class ChooseView(BaseChooseView):
json_data={
'step': 'chooser',
'error_label': _("Server Error"),
'error_message': _("Report this error to your webmaster with the following information:"),
'error_message': _("Report this error to your website administrator with the following information:"),
'tag_autocomplete_url': reverse('wagtailadmin_tag_autocomplete'),
}
)

Wyświetl plik

@ -72,7 +72,7 @@
<p class="status-msg failure">{% trans "Sorry, upload failed." %}</p>
<p class="status-msg server-error">
<strong>{% trans "Server Error" %}</strong>
{% trans "Report this error to your webmaster with the following information:"%}
{% trans "Report this error to your website administrator with the following information:"%}
<br /><span class="error-text"></span> - <span class="error-code"></span>
</p>
<p class="status-msg update-success">{% trans "Image updated." %}</p>

Wyświetl plik

@ -123,7 +123,7 @@ class ChooseView(BaseChooseView):
json_data={
'step': 'chooser',
'error_label': _("Server Error"),
'error_message': _("Report this error to your webmaster with the following information:"),
'error_message': _("Report this error to your website administrator with the following information:"),
'tag_autocomplete_url': reverse('wagtailadmin_tag_autocomplete'),
}
)