@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
50 lines • 1.93 kB
JavaScript
import { defineMessages } from 'react-intl-next';
export var sortingIconMessages = defineMessages({
noOrderLabel: {
id: 'fabric.editor.headingLink.noOrderLabel',
defaultMessage: 'Sort column A to Z',
description: 'Sort the column in ascending order'
},
ascOrderLabel: {
id: 'fabric.editor.headingLink.ascOrderLabel',
defaultMessage: 'Sort column Z to A',
description: 'Sort the column in descending order'
},
descOrderLabel: {
id: 'fabric.editor.headingLink.descOrderLabel',
defaultMessage: 'Clear sorting',
description: 'clear the sorting from this column'
},
invalidLabel: {
id: 'fabric.editor.headingLink.invalidLabel',
defaultMessage: "\u26A0\uFE0F You can't sort a table with merged cells",
description: 'this sort is invalid for merged cells'
}
});
export var sortingAriaLabelMessages = defineMessages({
noOrderLabel: {
id: 'fabric.editor.tableHeader.sorting.no',
defaultMessage: 'No sort applied to the column',
description: 'Aria-label for Sort column button when sorting was not applied or the sorting has been cleared'
},
ascOrderLabel: {
id: 'fabric.editor.tableHeader.sorting.asc',
defaultMessage: 'Ascending sort applied',
description: 'Aria-label for Sort column button when ascending sorting was applied'
},
descOrderLabel: {
id: 'fabric.editor.tableHeader.sorting.desc',
defaultMessage: 'Descending sort applied',
description: 'Aria-label for Sort column button when descending sorting was applied'
},
invalidLabel: {
id: 'fabric.editor.tableHeader.sorting.invalid',
defaultMessage: "You can't sort a table with merged cells",
description: 'Aria-label for Sort column button when sorting is not possible'
},
defaultLabel: {
id: 'fabric.editor.tableHeader.sorting.default',
defaultMessage: 'Sort the column',
description: 'Default aria-label for Sort column button'
}
});