diff --git a/cms/lib/xblock/test/test_authoring_mixin.py b/cms/lib/xblock/test/test_authoring_mixin.py index 5cf93fa469..563f605a66 100644 --- a/cms/lib/xblock/test/test_authoring_mixin.py +++ b/cms/lib/xblock/test/test_authoring_mixin.py @@ -73,11 +73,11 @@ class AuthoringMixinTestCase(ModuleStoreTestCase): self.assertIn(string, html) def test_html_no_partition(self): - self.verify_visibility_view_contains(self.video, 'You have not set up any groups to manage visibility with.') + self.verify_visibility_view_contains(self.video, 'No content groups exist') def test_html_empty_partition(self): self.create_content_groups([]) - self.verify_visibility_view_contains(self.video, 'You have not set up any groups to manage visibility with.') + self.verify_visibility_view_contains(self.video, 'No content groups exist') def test_html_populated_partition(self): self.create_content_groups(self.pet_groups) @@ -85,12 +85,12 @@ class AuthoringMixinTestCase(ModuleStoreTestCase): def test_html_no_partition_staff_locked(self): self.set_staff_only(self.vertical) - self.verify_visibility_view_contains(self.video, ['You have not set up any groups to manage visibility with.']) + self.verify_visibility_view_contains(self.video, ['No content groups exist']) def test_html_empty_partition_staff_locked(self): self.create_content_groups([]) self.set_staff_only(self.vertical) - self.verify_visibility_view_contains(self.video, 'You have not set up any groups to manage visibility with.') + self.verify_visibility_view_contains(self.video, 'No content groups exist') def test_html_populated_partition_staff_locked(self): self.create_content_groups(self.pet_groups) diff --git a/cms/templates/js/publish-xblock.underscore b/cms/templates/js/publish-xblock.underscore index 521cfc31a2..8d40947443 100644 --- a/cms/templates/js/publish-xblock.underscore +++ b/cms/templates/js/publish-xblock.underscore @@ -80,7 +80,7 @@ var visibleToStaffOnly = visibilityState === 'staff_only'; <% if (hasContentGroupComponents) { %>

- <%= gettext("Some content in this unit is only visible to particular groups") %> + <%= gettext("Some content in this unit is visible only to particular content groups") %>

<% } %>