@atlaskit/mention
Version:
A React component used to display user profiles in a list for 'Mention' functionality
69 lines (68 loc) • 2.94 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.messages = void 0;
var _reactIntlNext = require("react-intl-next");
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
unknownUserError: {
id: 'fabric.mention.unknow.user.error',
defaultMessage: 'Unknown user {userId}',
description: 'Mention user name could not be found or look up failed'
},
noAccessWarning: {
id: 'fabric.mention.noAccess.warning',
defaultMessage: "{name} won't be notified as they have no access",
description: "Warning message to show that the mentioned user won't be notified"
},
noAccessLabel: {
id: 'fabric.mention.noAccess.label',
defaultMessage: 'No access',
description: 'Label for no access icon'
},
defaultHeadline: {
id: 'fabric.mention.error.defaultHeadline',
defaultMessage: 'Something went wrong',
description: 'Error message shown when there is an error communicating with backend'
},
defaultAdvisedAction: {
id: 'fabric.mention.error.defaultAction',
defaultMessage: 'Try again in a few seconds',
description: 'Default advised action when an error occurs'
},
loginAgain: {
id: 'fabric.mention.error.loginAgain',
defaultMessage: 'Try logging out then in again',
description: 'Login again message when there is an authentication error occurs'
},
differentText: {
id: 'fabric.mention.error.differentText',
defaultMessage: 'Try entering different text',
description: 'Enter different text message when a forbidden error occurs'
},
memberCountWithoutYou: {
id: 'fabric.elements.mentions.team.member.count',
defaultMessage: 'Team • {0, plural, one {1 member} other {{0} members}}',
description: 'Byline to show the number of members in the team when the current user is not a member of the team'
},
memberCountWithYou: {
id: 'fabric.elements.mentions.team.member.count.including.you',
defaultMessage: 'Team • {0, plural, one {1 member} other {{0} members}}, including you',
description: 'Byline to show the number of members in the team when the current user is also a member of the team'
},
plus50MembersWithoutYou: {
id: 'fabric.elements.mentions.team.member.50plus',
defaultMessage: 'Team • 50+ members',
description: 'Byline to show the number of members in the team when the number exceeds 50'
},
plus50MembersWithYou: {
id: 'fabric.elements.mentions.team.member.50plus.including.you',
defaultMessage: 'Team • 50+ members, including you',
description: 'Byline to show the number of members in the team when the number exceeds 50 and also includes the current user'
},
xProductMentionDescription: {
id: 'fabric.elements.mentions.xproduct.mention.description',
defaultMessage: 'Needs access to Confluence',
description: 'Description for a x-product mention item in the mention list in Confluence'
}
});