Files
frontend-app-discussions/src/discussions/posts/post/messages.js
Kshitij Sobti 7f26f3a6ca feat: Add topic link to discussion post
Refactors the topics code and adds the topic relation box to posts.
2021-11-17 09:11:10 +05:30

68 lines
2.1 KiB
JavaScript

import { defineMessages } from '@edx/frontend-platform/i18n';
const messages = defineMessages({
anonymous: {
id: 'discussions.post.author.anonymous',
defaultMessage: 'anonymous',
description: 'Author name displayed when a post is anonymous',
},
lastResponse: {
id: 'discussions.post.lastResponse',
defaultMessage: 'Last response {time}',
},
postedOn: {
id: 'discussions.post.postedOn',
defaultMessage: 'Posted {time} by {author} {authorLabel}',
},
contentReported: {
id: 'discussions.post.contentReported',
defaultMessage: 'Content reported for staff review',
},
following: {
id: 'discussions.post.following',
defaultMessage: 'Following',
},
follow: {
id: 'discussions.post.follow',
defaultMessage: 'Follow',
description: 'Tooltip/alttext for button to follow a discussion post',
},
answered: {
id: 'discussions.post.answered',
defaultMessage: 'Answered',
description: 'Tooltip/alttext for button to unfollow a discussion post',
},
unfollow: {
id: 'discussions.post.unfollow',
defaultMessage: 'Unfollow',
description: 'Tooltip/alttext for button to unfollow a discussion post',
},
like: {
id: 'discussions.post.like',
defaultMessage: 'Like',
description: 'Tooltip/alttext for button to like a discussion post',
},
removeLike: {
id: 'discussions.post.removeLike',
defaultMessage: 'Remove like',
description: 'Tooltip/alttext for button to remove the like applied to a discussion post',
},
postClosed: {
id: 'discussions.post.closed',
defaultMessage: 'Post closed for responses and comments',
description: 'Tooltip/alttext for icon displayed when post is closed',
},
relatedTo: {
id: 'discussions.post.relatedTo',
defaultMessage: 'Related to',
description: 'Message followed the category and topic of post linking to in-course context',
},
visibleToAll: {
id: 'discussions.post.cohort.everyone',
defaultMessage: 'Everyone',
description: 'Cohort visibility indicator for all people',
},
});
export default messages;