@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
163 lines • 7.59 kB
JavaScript
import { defineMessages } from 'react-intl';
export var aiSuggestionsMessages = defineMessages({
suggestEditsButtonLabel: {
id: 'fabric.editor.ai.suggestions.suggestEdits.buttonLabel',
defaultMessage: 'Review',
description: 'Label for the Suggest edits button in the editor toolbar'
},
suggestionsToolbarButtonLabel: {
id: 'fabric.editor.ai.suggestions.toolbarButton.label.non-final',
defaultMessage: 'Suggestions',
description: 'Label for the suggestions toolbar button'
},
suggestionsToolbarButtonLoadingLabel: {
id: 'fabric.editor.ai.suggestions.toolbarButton.loadingLabel.non-final',
defaultMessage: 'Loading',
description: 'Label for the suggestions toolbar button when loading'
},
suggestionsToolbarButtonReadyLabel: {
id: 'fabric.editor.ai.suggestions.toolbarButton.readyLabel.non-final',
defaultMessage: 'View',
description: 'Label for the suggestions toolbar button when ready'
},
suggestionsToolbarButtonErrorLabel: {
id: 'fabric.editor.ai.suggestions.toolbarButton.errorLabel.non-final',
defaultMessage: 'Retry',
description: 'Label for the suggestions toolbar button when error'
},
previewLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.previewLabel.non-final',
defaultMessage: 'Preview',
description: 'The section title displayed for the AI suggestions staging area'
},
viewLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.viewLabel.non-final',
defaultMessage: 'View',
description: 'The section title displayed for the view switcher in the AI suggestions staging area'
},
titleLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.titleLabel.non-final',
defaultMessage: 'Title',
description: 'The section title displayed for the title in the AI suggestions staging area'
},
reviewNote: {
id: 'fabric.editor.ai.suggestions.stagingArea.reviewNote.non-final',
defaultMessage: 'Review • Only visible to you',
description: 'The text is shown as a note within the staging area title bar during an AI suggestion review, indicating that the AI-generated content is only visible to the current user and has not been published.'
},
applyChangesButtonLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.applyChangesButtonLabel.non-final',
defaultMessage: 'Apply changes',
description: 'Label for the apply changes button in the AI suggestions staging area'
},
fetchSuggestionsButtonLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.fetchSuggestionsButtonLabel.non-final',
defaultMessage: 'Fetch suggestions',
description: 'Label for the fetch suggestions button in the AI suggestions staging area'
},
fetchSuggestionsButtonLoadingLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.fetchSuggestionsButtonLoadingLabel.non-final',
defaultMessage: 'Loading…',
description: 'Label for the fetch suggestions button when loading'
},
iconButtonSuggestionsCountLabel: {
id: 'fabric.editor.ai.suggestions.iconButton.suggestionsCountLabel.non-final',
defaultMessage: '{count} suggestions',
description: 'Tooltip text for the suggestion icon button when there are multiple AI suggestions'
},
originalViewLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.originalViewLabel.non-final',
defaultMessage: 'Original • View only',
description: 'Label for the original view in the AI suggestions staging area'
},
suggestedLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.suggestedLabel.non-final',
defaultMessage: 'Suggested',
description: 'Suggestion text displayed under the original view title'
},
suggestionsLabel: {
id: 'fabric.editor.ai.suggestions.stagingArea.suggestionsLabel.non-final',
defaultMessage: 'Suggestions',
description: 'Label for the suggestions section in the AI suggestions staging area'
},
cardCloseButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.closeButtonLabel.non-final',
defaultMessage: 'Close',
description: 'Label for the close button on the AI suggestions card'
},
cardShowSidebarButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.showSidebarButtonLabel.non-final',
defaultMessage: 'Show sidebar',
description: 'Label for the show sidebar button on the AI suggestions card'
},
cardExpandButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.expandButtonLabel.non-final',
defaultMessage: 'Expand',
description: 'Label for the expand button on the AI suggestions card'
},
cardCollapseButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.collapseButtonLabel.non-final',
defaultMessage: 'Collapse',
description: 'Label for the collapse button on the AI suggestions card'
},
cardRovoTitle: {
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
defaultMessage: 'Rovo',
description: 'Title for Rovo branding on the AI suggestions card'
},
cardPrivateLabel: {
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
defaultMessage: 'Private',
description: 'Label for the private/lock indicator on the AI suggestions card'
},
cardPrivateTooltipLabel: {
id: 'fabric.editor.ai.suggestions.card.privateTooltipLabel.non-final',
defaultMessage: 'Only you and those with access to the sources can see this private suggestion.',
description: 'Tooltip shown on the private indicator icon in the AI suggestions card'
},
cardSourcesButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.sourcesButtonLabel.non-final',
defaultMessage: 'Sources',
description: 'Label for the sources toggle button on the AI suggestions card'
},
cardSourcesHideButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.sourcesHideButtonLabel.non-final',
defaultMessage: 'Hide reasoning',
description: 'Label for the sources toggle button when sources are expanded'
},
cardSourcesShowButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.sourcesShowButtonLabel.non-final',
defaultMessage: 'Show reasoning',
description: 'Label for the sources toggle button when sources are collapsed'
},
cardAcceptButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.acceptButtonLabel.non-final',
defaultMessage: 'Accept',
description: 'Label for the accept button on the AI suggestions card'
},
cardDiscardButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.discardButtonLabel.non-final',
defaultMessage: 'Discard',
description: 'Label for the discard button on the AI suggestions card'
},
cardMoreOptionsButtonLabel: {
id: 'fabric.editor.ai.suggestions.card.moreOptionsButtonLabel.non-final',
defaultMessage: 'More options',
description: 'Label for the overflow actions button on the AI suggestions card'
},
cardOnlyShowSuggestionOptionLabel: {
id: 'fabric.editor.ai.suggestions.card.onlyShowSuggestionOptionLabel.non-final',
defaultMessage: 'Only show suggestion',
description: 'Label for the dropdown action to only show the selected suggestion'
},
cardCompareWithOriginalOptionLabel: {
id: 'fabric.editor.ai.suggestions.card.compareWithOriginalOptionLabel.non-final',
defaultMessage: 'Compare with original',
description: 'Label for the dropdown action to compare suggestion with original content'
},
cardScrollBackToSuggestionLabel: {
id: 'fabric.editor.ai.suggestions.card.scrollBackToSuggestionLabel.non-final',
defaultMessage: 'Back to suggestion',
description: 'Label for the scroll back to suggestion button on the AI suggestions card'
}
});