@atlaskit/renderer
Version:
Renderer component
71 lines (69 loc) • 3.35 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.tableCellMessages = exports.inlineCommentMessages = exports.headingAnchorLinkMessages = void 0;
var _reactIntl = require("react-intl");
/* eslint-disable @atlaskit/editor/no-re-export */
// Entry file in package.json
var headingAnchorLinkMessages = exports.headingAnchorLinkMessages = (0, _reactIntl.defineMessages)({
copyHeadingLinkToClipboard: {
id: 'fabric.editor.headingLink.copyAnchorLink',
defaultMessage: 'Copy link to heading',
description: 'Tooltip and aria-label for the button that copies an anchor link to a heading in the rendered document to the clipboard.'
},
copyLinkToClipboard: {
id: 'fabric.editor.headingLink.copyAnchorLinkTo',
defaultMessage: 'Copy link to',
description: 'Copy heading link to clipboard. Will be used as part of a 2-part a11y label ("Copy link to", "{heading text}")'
},
copyHeadingLinkLabelledBy: {
id: 'fabric.editor.headingLink.copyAnchorLinkLabelledBy',
defaultMessage: '{copyLink} {heading}',
description: 'The order in which to read the parts of the aria-labelledby for the copy heading link button depending on the grammar of the language. {copyLink} will be replaced with the "Copy link to" text and {heading} will be replaced with the actual heading text'
},
copiedHeadingLinkToClipboard: {
id: 'fabric.editor.headingLink.copied',
defaultMessage: 'Copied!',
description: 'Confirmation text shown briefly on the copy button after the heading anchor link has been successfully copied to the clipboard.'
},
failedToCopyHeadingLink: {
id: 'fabric.editor.headingLink.failedToCopy',
defaultMessage: 'Copy failed',
description: 'failed to copy heading link to clipboard'
},
copyAriaLabel: {
id: 'fabric.editor.headingLink.copyAriaLabel',
defaultMessage: 'Copy',
description: 'Aria label for the copy link button displayed next to a heading. Used by screen readers to describe the button that copies the heading anchor link to the clipboard.'
}
});
var tableCellMessages = exports.tableCellMessages = (0, _reactIntl.defineMessages)({
noneSortingLabel: {
id: 'fabric.editor.headingLink.noneSortingLabel',
defaultMessage: 'none',
description: 'Accessible label for a table column sort indicator when no sorting is applied to that column.'
},
ascSortingLabel: {
id: 'fabric.editor.headingLink.ascSortingLabel',
defaultMessage: 'ascending',
description: 'this table column is sorted in ascending order'
},
descSortingLabel: {
id: 'fabric.editor.headingLink.descSortingLabel',
defaultMessage: 'descending',
description: 'this table column is sorted in descending order'
}
});
var inlineCommentMessages = exports.inlineCommentMessages = (0, _reactIntl.defineMessages)({
contentRendererInlineCommentMarkerStart: {
id: 'fabric.editor.inlineComment.marker.start',
defaultMessage: 'inline comment start',
description: 'Starting marker to indicate that text is highlighted with an inline comment by a screen reader.'
},
contentRendererInlineCommentMarkerEnd: {
id: 'fabric.editor.inlineComment.marker.end',
defaultMessage: 'inline comment end',
description: 'Ending marker to indicate that text was highlighted with an inline comment by a screen reader.'
}
});