fix: updated messages (#146)
* fix: updated messages * fix: updated test
This commit is contained in:
@@ -9,7 +9,7 @@ export function getPages() {
|
||||
showSettings: false,
|
||||
showStatus: false,
|
||||
showEnable: true,
|
||||
description: 'Encourage participation and engagement in your course with discussion forums',
|
||||
description: 'Encourage participation and engagement in your course with discussion forums.',
|
||||
},
|
||||
{
|
||||
id: 'teams',
|
||||
@@ -18,7 +18,7 @@ export function getPages() {
|
||||
showSettings: true,
|
||||
showStatus: true,
|
||||
showEnable: false,
|
||||
description: 'Leverage teams to allow learners to connect by topic of interest',
|
||||
description: 'Leverage teams to allow learners to connect by topic of interest.',
|
||||
},
|
||||
{
|
||||
id: 'progress',
|
||||
@@ -27,7 +27,7 @@ export function getPages() {
|
||||
showSettings: true,
|
||||
showStatus: true,
|
||||
showEnable: false,
|
||||
description: 'Allow students to track their progress throughout the course lorem ipsum',
|
||||
description: 'Allow students to track their progress throughout the course lorem ipsum.',
|
||||
},
|
||||
{
|
||||
id: 'textbooks',
|
||||
@@ -36,7 +36,7 @@ export function getPages() {
|
||||
showSettings: true,
|
||||
showStatus: true,
|
||||
showEnable: false,
|
||||
description: 'Provide links to applicable resources for your course',
|
||||
description: 'Provide links to applicable resources for your course.',
|
||||
},
|
||||
{
|
||||
id: 'notes',
|
||||
@@ -45,7 +45,7 @@ export function getPages() {
|
||||
showSettings: true,
|
||||
showStatus: true,
|
||||
showEnable: false,
|
||||
description: 'Support individual note taking that is visible only to the students',
|
||||
description: 'Support individual note taking that is visible only to the students.',
|
||||
},
|
||||
{
|
||||
id: 'wiki',
|
||||
@@ -54,7 +54,7 @@ export function getPages() {
|
||||
showSettings: false,
|
||||
showStatus: false,
|
||||
showEnable: true,
|
||||
description: 'Share your wiki content to provide additional course material',
|
||||
description: 'Share your wiki content to provide additional course material.',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -125,7 +125,7 @@ describe('DiscussionsSettings', () => {
|
||||
// content has been loaded - prior to proceeding with our expectations.
|
||||
await waitForElementToBeRemoved(screen.getByRole('status'));
|
||||
|
||||
userEvent.click(queryByLabelText(container, 'Select edX Discussions'));
|
||||
userEvent.click(queryByLabelText(container, 'Select edX'));
|
||||
userEvent.click(queryByText(container, appListMessages.nextButton.defaultMessage));
|
||||
|
||||
expect(queryByTestId(container, 'appList')).not.toBeInTheDocument();
|
||||
|
||||
@@ -90,11 +90,11 @@ const messages = defineMessages({
|
||||
},
|
||||
allowAnonymousPostsPeersLabel: {
|
||||
id: 'authoring.discussions.builtIn.allowAnonymousPeers.label',
|
||||
defaultMessage: 'Allow Anonymous Discussion Posts to Peers',
|
||||
defaultMessage: 'Allow anonymous discussion posts to peers',
|
||||
},
|
||||
allowAnonymousPostsPeersHelp: {
|
||||
id: 'authoring.discussions.builtIn.allowAnonymousPeers.help',
|
||||
defaultMessage: 'Enter true or false. If true, students can create discussion posts that are anonymous to other students. This setting does not make posts anonymous to course staff.',
|
||||
defaultMessage: 'Learners will be able to post anonymously to other peers but all posts will be visible to course staff.',
|
||||
},
|
||||
|
||||
// Discussion Topics
|
||||
|
||||
@@ -7,7 +7,7 @@ const messages = defineMessages({
|
||||
},
|
||||
configure: {
|
||||
id: 'authoring.discussions.configure',
|
||||
defaultMessage: 'Configure Discussions',
|
||||
defaultMessage: 'Configure discussions',
|
||||
},
|
||||
backButton: {
|
||||
id: 'authoring.discussions.backButton',
|
||||
@@ -48,7 +48,7 @@ const messages = defineMessages({
|
||||
},
|
||||
'appName-inscribe': {
|
||||
id: 'authoring.discussions.appConfigForm.appName-inscribe',
|
||||
defaultMessage: 'Inscribe',
|
||||
defaultMessage: 'InScribe',
|
||||
description: 'The name of the inscribe app.',
|
||||
},
|
||||
'appName-discourse': {
|
||||
|
||||
@@ -7,7 +7,7 @@ const messages = defineMessages({
|
||||
},
|
||||
supportedFeatures: {
|
||||
id: 'authoring.discussions.supportedFeatures',
|
||||
defaultMessage: 'Supported Features',
|
||||
defaultMessage: 'Supported features',
|
||||
},
|
||||
'supportedFeatureList-mobile-show': {
|
||||
id: 'authoring.discussions.supportedFeatureList-mobile-show',
|
||||
@@ -48,7 +48,7 @@ const messages = defineMessages({
|
||||
// Legacy
|
||||
'appName-legacy': {
|
||||
id: 'authoring.discussions.appList.appName-legacy',
|
||||
defaultMessage: 'edX Discussions',
|
||||
defaultMessage: 'edX',
|
||||
description: 'The name of the Legacy edX Discussions app.',
|
||||
},
|
||||
'appDescription-legacy': {
|
||||
@@ -95,12 +95,12 @@ const messages = defineMessages({
|
||||
// edX inscribe
|
||||
'appName-inscribe': {
|
||||
id: 'authoring.discussions.appList.appName-inscribe',
|
||||
defaultMessage: 'Inscribe',
|
||||
defaultMessage: 'InScribe',
|
||||
description: 'The name of the inscribe app.',
|
||||
},
|
||||
'appDescription-inscribe': {
|
||||
id: 'authoring.discussions.appList.appDescription-inscribe',
|
||||
defaultMessage: 'InScribe · InScribe leverages the power of community + artificial intelligence to connect individuals to the answers, resources, and people they need to succeed.',
|
||||
defaultMessage: 'InScribe leverages the power of community + artificial intelligence to connect individuals to the answers, resources, and people they need to succeed.',
|
||||
description: 'A description of the inscibe app.',
|
||||
},
|
||||
// discourse
|
||||
@@ -129,127 +129,127 @@ const messages = defineMessages({
|
||||
// Features
|
||||
'featureName-discussion-page': {
|
||||
id: 'authoring.discussions.featureName-discussion-page',
|
||||
defaultMessage: 'Discussion Page',
|
||||
defaultMessage: 'Discussion page',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-embedded-course-sections': {
|
||||
id: 'authoring.discussions.featureName-embedded-course-sections',
|
||||
defaultMessage: 'Embedded Course Sections',
|
||||
defaultMessage: 'Embedded course sections',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-lti': {
|
||||
id: 'authoring.discussions.featureName-lti',
|
||||
defaultMessage: 'LTI Integration',
|
||||
defaultMessage: 'LTI integration',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-advanced-in-context-discussion': {
|
||||
id: 'authoring.discussions.featureName-advanced-in-context-discussion',
|
||||
defaultMessage: 'Advanced In Context Discussion',
|
||||
defaultMessage: 'Advanced in context discussion',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-anonymous-posting': {
|
||||
id: 'authoring.discussions.featureName-anonymous-posting',
|
||||
defaultMessage: 'Anonymous Posting',
|
||||
defaultMessage: 'Anonymous posting',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-automatic-learner-enrollment': {
|
||||
id: 'authoring.discussions.featureName-automatic-learner-enrollment',
|
||||
defaultMessage: 'Automatic Learner Enrollment',
|
||||
defaultMessage: 'Automatic learner enrollment',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-blackout-discussion-dates': {
|
||||
id: 'authoring.discussions.featureName-blackout-discussion-dates',
|
||||
defaultMessage: 'Blackout Discussion Dates',
|
||||
defaultMessage: 'Blackout discussion dates',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-community-ta-support': {
|
||||
id: 'authoring.discussions.featureName-community-ta-support',
|
||||
defaultMessage: 'Community TA Support',
|
||||
defaultMessage: 'Community TA support',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-course-cohort-support': {
|
||||
id: 'authoring.discussions.featureName-course-cohort-support',
|
||||
defaultMessage: 'Course Cohort Support',
|
||||
defaultMessage: 'Course cohort support',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-direct-messages-from-instructors': {
|
||||
id: 'authoring.discussions.featureName-direct-messages-from-instructors',
|
||||
defaultMessage: 'Direct Messages from Instructors',
|
||||
defaultMessage: 'Direct messages from instructors',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-discussion-content-prompts': {
|
||||
id: 'authoring.discussions.featureName-discussion-content-prompts',
|
||||
defaultMessage: 'Discussion Content Prompts',
|
||||
defaultMessage: 'Discussion content prompts',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-email-notifications': {
|
||||
id: 'authoring.discussions.featureName-email-notifications',
|
||||
defaultMessage: 'Email Notifications',
|
||||
defaultMessage: 'Email notifications',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-graded-discussions': {
|
||||
id: 'authoring.discussions.featureName-graded-discussions',
|
||||
defaultMessage: 'Graded Discussions',
|
||||
defaultMessage: 'Graded discussions',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-in-platform-notifications': {
|
||||
id: 'authoring.discussions.featureName-in-platform-notifications',
|
||||
defaultMessage: 'In Platform Notifications',
|
||||
defaultMessage: 'In-platform notifications',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-internationalization-support': {
|
||||
id: 'authoring.discussions.featureName-internationalization-support',
|
||||
defaultMessage: 'Internationalization Support',
|
||||
defaultMessage: 'Internationalization support',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-lti-advanced-sharing-mode': {
|
||||
id: 'authoring.discussions.featureName-lti-advanced-sharing-mode',
|
||||
defaultMessage: 'LTI Advanced Sharing Mode',
|
||||
defaultMessage: 'LTI advanced sharing mode',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-lti-basic-configuration': {
|
||||
id: 'authoring.discussions.featureName-lti-basic-configuration',
|
||||
defaultMessage: 'LTI Basic Configuration',
|
||||
defaultMessage: 'LTI basic configuration',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-primary-discussion-app-experience': {
|
||||
id: 'authoring.discussions.featureName-primary-discussion-app-experience',
|
||||
defaultMessage: 'Primary Discussion App Experience',
|
||||
defaultMessage: 'Primary discussion app experience',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-question-discussion-support': {
|
||||
id: 'authoring.discussions.featureName-question-&-discussion-support',
|
||||
defaultMessage: 'Question & Discussion Support',
|
||||
defaultMessage: 'Question & discussion support',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-report/flag-content-to-moderators': {
|
||||
id: 'authoring.discussions.featureName-report/flag-content-to-moderators',
|
||||
defaultMessage: 'Report / Flag Content to Moderators',
|
||||
defaultMessage: 'Report/flag content to moderators',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-research-data-events': {
|
||||
id: 'authoring.discussions.featureName-research-data-events',
|
||||
defaultMessage: 'Research Data Events',
|
||||
defaultMessage: 'Research data events',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-simplified-in-context-discussion': {
|
||||
id: 'authoring.discussions.featureName-simplified-in-context-discussion',
|
||||
defaultMessage: 'Simplified In Context Discussion',
|
||||
defaultMessage: 'Simplified in-context discussion',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-user-mentions': {
|
||||
id: 'authoring.discussions.featureName-user-mentions',
|
||||
defaultMessage: 'User Mentions',
|
||||
defaultMessage: 'User mentions',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-wcag-2.1': {
|
||||
id: 'authoring.discussions.featureName-wcag-2.1',
|
||||
defaultMessage: 'WCAG 2.1 Support',
|
||||
defaultMessage: 'WCAG 2.1 support',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
'featureName-wcag-2.0-support': {
|
||||
id: 'authoring.discussions.wcag-2.0-support',
|
||||
defaultMessage: 'WCAG 2.0 Support',
|
||||
defaultMessage: 'WCAG 2.0 support',
|
||||
description: 'The name of a discussions feature.',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -8,7 +8,7 @@ const messages = defineMessages({
|
||||
},
|
||||
configure: {
|
||||
id: 'authoring.discussions.configure',
|
||||
defaultMessage: 'Configure Discussions',
|
||||
defaultMessage: 'Configure discussions',
|
||||
},
|
||||
configureApp: {
|
||||
id: 'authoring.discussions.configure.app',
|
||||
|
||||
Reference in New Issue
Block a user