@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
274 lines (273 loc) • 10.7 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.messages = void 0;
var _reactIntlNext = require("react-intl-next");
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
tableOptions: {
id: 'fabric.editor.tableOptions',
defaultMessage: 'Table options',
description: 'Opens a menu with additional table options'
},
tableSizeIncreaseScreenReaderInformation: {
id: 'fabric.editor.tableResizeIncreaseScreenReaderInformation',
defaultMessage: 'Table width increased to {newWidth, plural, one {# pixel} other {# pixels}}.',
description: 'Information for screen reader users about increasing the table size by a certain number of pixels.'
},
tableSizeDecreaseScreenReaderInformation: {
id: 'fabric.editor.tableResizeDecreaseScreenReaderInformation',
defaultMessage: 'Table width decreased to {newWidth, plural, one {# pixel} other {# pixels}}.',
description: 'Information for screen reader users about decreasing the table size by a certain number of pixels.'
},
headerRow: {
id: 'fabric.editor.headerRow',
defaultMessage: 'Header row',
description: 'Marks the first table row as a header row'
},
headerColumn: {
id: 'fabric.editor.headerColumn',
defaultMessage: 'Header column',
description: 'Marks the first table column as a header row'
},
numberedColumn: {
id: 'fabric.editor.numberedColumn',
defaultMessage: 'Numbered column',
description: 'Adds an auto-numbering column to your table'
},
collapseTable: {
id: 'fabric.editor.collapseTable',
defaultMessage: 'Collapse table',
description: 'Wraps table in an expand'
},
resizeTable: {
id: 'fabric.editor.tables.resizeTable',
defaultMessage: 'Resize table',
description: 'Tooltip displayed on custom table width resize hande'
},
insertColumn: {
id: 'fabric.editor.insertColumn',
defaultMessage: 'Insert column right',
description: 'Inserts a new column to the right of selected column.'
},
addColumnLeft: {
id: 'fabric.editor.addColumnLeft',
defaultMessage: 'Add column left',
description: 'Adds a new column to the left of selected column.'
},
addColumnRight: {
id: 'fabric.editor.addColumnRight',
defaultMessage: 'Add column right',
description: 'Adds a new column to the right of selected column.'
},
insertColumnDrag: {
id: 'fabric.editor.insertColumnDrag',
defaultMessage: 'Insert column',
description: 'Inserts a new column to the right of selected column.'
},
removeColumns: {
id: 'fabric.editor.removeColumns',
defaultMessage: 'Delete {0, plural, one {column} other {columns}}',
description: 'Deletes a table column.'
},
insertRow: {
id: 'fabric.editor.insertRow',
defaultMessage: 'Insert row below',
description: 'Inserts a new row below the selected row.'
},
addRowAbove: {
id: 'fabric.editor.addRowAbove',
defaultMessage: 'Add row above',
description: 'Adds a new row above the selected row.'
},
addRowBelow: {
id: 'fabric.editor.addRowBelow',
defaultMessage: 'Add row below',
description: 'Adds a new row below the selected row.'
},
moveColumnLeft: {
id: 'fabric.editor.moveColumnLeft',
defaultMessage: 'Move {0, plural, one {column} other {columns}} left',
description: 'Moves a column or columns to the left.'
},
moveColumnRight: {
id: 'fabric.editor.moveColumnRight',
defaultMessage: 'Move {0, plural, one {column} other {columns}} right',
description: 'Moves a column or columns to the right.'
},
moveRowUp: {
id: 'fabric.editor.moveRowUp',
defaultMessage: 'Move {0, plural, one {row} other {rows}} up',
description: 'Moves a row or selected rows up.'
},
moveRowDown: {
id: 'fabric.editor.moveDownDown',
defaultMessage: 'Move {0, plural, one {row} other {rows}} down',
description: 'Moves a row or selected rows down.'
},
insertRowDrag: {
id: 'fabric.editor.insertRowDrag',
defaultMessage: 'Insert row',
description: 'Inserts a new row below the selected row.'
},
removeRows: {
id: 'fabric.editor.removeRows',
defaultMessage: 'Delete {0, plural, one {row} other {rows}}',
description: 'Deletes a table row.'
},
rowNumbers: {
id: 'fabrid.editor.rowNumbers',
defaultMessage: 'Row numbers',
desciption: 'Adds a number to each row except header row'
},
cellOptions: {
id: 'fabric.editor.cellOptions',
defaultMessage: 'Cell options',
description: 'Opens a menu with options for the current table cell.'
},
confirmDeleteLinkedModalOKButton: {
id: 'fabric.editor.tables.confirmDeleteLinkedModalOKButton',
defaultMessage: 'Delete',
description: 'Action button label for confirm modal when deleting a table linked to an extension.'
},
confirmDeleteLinkedModalMessage: {
id: 'fabric.editor.tables.confirmDeleteLinkedModalMessage',
defaultMessage: 'Deleting {nodeName} will break anything connected to it.',
description: 'Message for confirm modal when deleting a table linked to an extension.'
},
confirmDeleteLinkedModalMessagePrefix: {
id: 'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix',
defaultMessage: 'Deleting',
description: 'prefix for confirmation dialog text'
},
confirmModalCheckboxLabel: {
id: 'fabric.editor.floatingToolbar.confirmModalCheckboxLabel',
defaultMessage: 'Also delete connected elements',
description: 'checkbox label text'
},
deleteElementTitle: {
id: 'fabric.editor.extension.deleteElementTitle',
defaultMessage: 'Delete element',
description: 'Title text for confirm modal when deleting an extension linked to a data consumer.'
},
unnamedSource: {
id: 'fabric.editor.extension.sourceNoTitledName',
defaultMessage: 'this element',
description: 'The current element without preset name been selected'
},
adjustColumns: {
id: 'fabric.editor.tables.adjustColumn',
defaultMessage: 'Adjust column',
description: 'Tooltip displayed on table column resize handle'
},
cornerControl: {
id: 'fabric.editor.cornerControl',
defaultMessage: 'Highlight table',
description: 'A button on the upper left corner of the table that shows up when the table is in focus. Clicking on it will select the entire table.'
},
cellBackground: {
id: 'fabric.editor.cellBackground',
defaultMessage: 'Cell background',
description: 'Change the background color of a table cell.'
},
backgroundColor: {
id: 'fabric.editor.backgroundColor',
defaultMessage: 'Background color',
description: 'Change the background color of a table cell.'
},
mergeCells: {
id: 'fabric.editor.mergeCells',
defaultMessage: 'Merge cells',
description: 'Merge tables cells together.'
},
splitCell: {
id: 'fabric.editor.splitCell',
defaultMessage: 'Split cell',
description: 'Split a merged table cell.'
},
clearCells: {
id: 'fabric.editor.clearCells',
defaultMessage: 'Clear {0, plural, one {cell} other {cells}}',
description: 'Clears the contents of the selected cells (this does not delete the cells themselves).'
},
sortColumnASC: {
id: 'fabric.editor.sortColumnASC',
defaultMessage: 'Sort column A → Z',
description: 'Sort column in ascending order'
},
sortColumnDESC: {
id: 'fabric.editor.sortColumnDESC',
defaultMessage: 'Sort column Z → A',
description: 'Sort column in descending order'
},
sortColumnIncreasing: {
id: 'fabric.editor.sortColumnIncreasing',
defaultMessage: 'Sort increasing',
description: 'Sort column in ascending order'
},
sortColumnDecreasing: {
id: 'fabric.editor.sortColumnDecreasing',
defaultMessage: 'Sort decreasing',
description: 'Sort column in descending order'
},
canNotSortTable: {
id: 'fabric.editor.canNotSortTable',
defaultMessage: "\u26A0\uFE0F You can't sort a table with merged cells",
description: "Split your cells to enable this feature"
},
distributeColumns: {
id: 'fabric.editor.distributeColumns',
defaultMessage: "Distribute columns",
description: "Distribute widths between selected columns"
},
rowControl: {
id: 'fabric.editor.rowControl',
defaultMessage: 'Highlight row',
description: 'A button on the left of each row that shows up when the table is in focus. Clicking on it will select the entire row.'
},
rowDragHandle: {
id: 'fabric.editor.rowDragHandle',
defaultMessage: 'Row options',
description: 'The row drag handle to move the row within the table. Click to open a menu for more row options.'
},
columnDragHandle: {
id: 'fabric.editor.columnDragHandle',
defaultMessage: 'Column options',
description: 'The column drag handle to move the column within the table. Click to open a menu for more column options.'
},
fullWidthLabel: {
id: 'fabric.editor.tableFullWidthLabel',
defaultMessage: 'Full-width',
description: 'Trigger table width to full-width mode'
},
startedColumnResize: {
id: 'fabric.editor.tables.startedColumnResize',
defaultMessage: 'Started column resize',
description: 'Screen Reader announces when the user engages the column resizer'
},
focusedOtherResize: {
id: 'fabric.editor.tables.otherResize',
defaultMessage: '{direction, select, left {Switched to the left column resize} right {Switched to the right column resize} other {}}',
description: 'Screen Reader announces when the user switches to the left or right column resizer'
},
changedColumnWidth: {
id: 'fabric.editor.tables.columnWidth',
defaultMessage: '{width, plural, one {Column width was changed to {width} pixel} other {Column width was changed to {width} pixels}}',
description: 'Screen Reader announces when the user modifies the column width'
},
columnResizeStop: {
id: 'fabric.editor.tables.resizeStop',
defaultMessage: 'Stopped resize',
description: 'Screen Reader announces when the user discontinues the resizing operation'
},
columnResizeOverflow: {
id: 'fabric.editor.tables.columnResizeOverflow',
defaultMessage: 'You can only resize this column while the table has a scroll bar.',
description: 'Screen Reader announces when the user attempts to resize the last column without the table being in overflow state'
},
columnResizeLast: {
id: 'fabric.editor.tables.columnResizeLast',
defaultMessage: 'You can only resize this column to the left.',
description: 'Screen Reader announces when the user attempts to resize the last column when only the previous one is available for resizing'
}
});