From bca6274eb5ab6c3f7c7023b56eb0a98e6ccfc576 Mon Sep 17 00:00:00 2001 From: Andy Armstrong Date: Thu, 8 Jan 2015 15:26:10 -0500 Subject: [PATCH] Miscellaneous text updates --- cms/lib/xblock/test/test_authoring_mixin.py | 8 +++---- cms/templates/js/publish-xblock.underscore | 2 +- cms/templates/visibility_editor.html | 8 +++---- .../discussion/test_cohort_management.py | 3 +-- .../tests/lms/test_lms_user_preview.py | 2 +- .../tests/studio/test_studio_container.py | 22 +++++++++---------- .../js/spec/groups/views/cohorts_spec.js | 1 - .../courseware/course_navigation.html | 2 +- .../cohort-form.underscore | 2 +- 9 files changed, 24 insertions(+), 26 deletions(-) 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") %>

<% } %>