kopia lustrzana https://github.com/wagtail/wagtail
Clarify schedule publishing dialog message text
The old text is confusing, as it might be interpreted as 'the publishing schedule only takes effect after the publishing has happened', which doesn't make sense.pull/10596/head
rodzic
5f85a39642
commit
d204acbaaa
|
@ -6,7 +6,7 @@
|
|||
{% if page %}
|
||||
{% page_permissions instance as page_perms %}
|
||||
{% if page_perms.can_publish %}
|
||||
{% trans "This publishing schedule will only take effect after you have published" as message_heading %}
|
||||
{% trans 'This publishing schedule will only take effect after you select the "Publish" option' as message_heading %}
|
||||
{% else %}
|
||||
{% trans "Anyone with editing permissions can create schedules" as message_heading %}
|
||||
{% trans "But only those with publishing permissions can make them effective." as message_description %}
|
||||
|
|
|
@ -447,7 +447,7 @@ class TestPageEdit(WagtailTestUtils, TestCase):
|
|||
|
||||
self.assertContains(
|
||||
response,
|
||||
"This publishing schedule will only take effect after you have published",
|
||||
'This publishing schedule will only take effect after you select the "Publish" option',
|
||||
)
|
||||
|
||||
def test_edit_post_scheduled_custom_timezone(self):
|
||||
|
@ -541,7 +541,7 @@ class TestPageEdit(WagtailTestUtils, TestCase):
|
|||
|
||||
self.assertContains(
|
||||
response,
|
||||
"This publishing schedule will only take effect after you have published",
|
||||
'This publishing schedule will only take effect after you select the "Publish" option',
|
||||
)
|
||||
|
||||
def test_schedule_panel_without_publish_permission(self):
|
||||
|
|
Ładowanie…
Reference in New Issue